8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 02:03:03 +01:00
Commit Graph

48112 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
38bf5ff754 Fixed CORE-6026 - Alignment issue with FB_MESSAGE C++ macro
(as well UDR macros) and BIGINT/DECFLOAT types in Linux 32-bits.
2019-03-18 12:45:58 -03:00
Roman Simakov
1dfb1d2095 Backport of fixed CORE-5861: GRANT OPTION is not checked for new object.
Also now GRANT OPTION can be checked for roles too.
2019-03-18 18:19:50 +03:00
firebirds
d41875903e increment build number 2019-03-03 00:03:53 +00:00
firebirds
21052a6d01 increment build number 2019-03-02 00:04:02 +00:00
AlexPeshkoff
a4c886ab47 Backported CORE-6015: Segfault when using expression index with complex expression 2019-03-01 13:00:13 +03:00
firebirds
5151ead91a increment build number 2019-02-26 00:04:06 +00:00
AlexPeshkoff
c9ef679f51 Partially rolled back my last commit 2019-02-25 17:34:48 +03:00
firebirds
3806ae5650 increment build number 2019-02-23 00:04:03 +00:00
AlexPeshkoff
8e55180df7 Backported CORE-6009: I/O error during "open" operation for file "/tmp/firebird/fb_trace_*" in firebird.log 2019-02-22 19:54:59 +03:00
firebirds
f109188af3 increment build number 2019-02-22 00:03:58 +00:00
KarloX2
467708b2a5 Backported CORE-6004
Don't assign new socket handle becore socket is connected
2019-02-21 15:44:25 +01:00
KarloX2
8ef3d6c979 Backported CORE-6004
Use correct definition for missing socket value
2019-02-21 14:23:51 +01:00
KarloX2
f78ddaa064 Backported CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option 2019-02-21 11:53:33 +01:00
firebirds
51e28472f7 increment build number 2019-02-02 00:04:21 +00:00
Adriano dos Santos Fernandes
c53cee398d Fixed CORE-5972 - External engine trigger crashing server if table have computed field. 2019-02-01 12:23:48 -02:00
firebirds
8f3e784a85 increment build number 2019-01-30 00:04:09 +00:00
hvlad
c14ddac345 Correction for my patch for CORE-5995 2019-01-29 21:38:33 +02:00
hvlad
85fd7bdd44 Fixed bug CORE-5995 : Creator user name is empty in user trace sessions 2019-01-29 12:26:00 +02:00
firebirds
17642e73fc increment build number 2019-01-26 00:04:31 +00:00
hvlad
82e965587c Fixed bug CORE-5993 : When creation of audit log file fails, there is no error message in firebird.log 2019-01-25 12:28:14 +02:00
firebirds
9c032616da increment build number 2019-01-25 00:04:02 +00:00
hvlad
c6e0b9c6d1 Fixed bug CORE-5991 : Trace could not work correctly with quoted file names in trace configurations 2019-01-24 12:10:03 +02:00
firebirds
3a25e9e13b increment build number 2019-01-23 00:04:32 +00:00
AlexPeshkoff
ee1881e55e Backported CORE-5985: Regression: ROLE does not passed in ES/EDS (specifying it in the statement is ignored) 2019-01-22 18:10:59 +03:00
Dmitry Yemanov
9d0b1f9e0c Fixed missing monitoring for the crypt thread 2019-01-22 12:38:52 +03:00
firebirds
9d55d9c769 increment build number 2019-01-22 00:04:10 +00:00
AlexPeshkoff
9cf9d644e0 Backported fix for CORE-5982 2019-01-21 14:51:29 +03:00
firebirds
1024cce813 increment build number 2019-01-20 00:04:13 +00:00
Adriano dos Santos Fernandes
4fefe5c739 Fixed CORE-5986 - Incorrect evaluation of NULL IS [NOT] {FALSE | TRUE}. 2019-01-19 17:30:52 -02:00
firebirds
3796d9ccec increment build number 2019-01-18 00:04:25 +00:00
Dmitry Yemanov
a74130019a Attempted to fix CORE-2440, CORE-5118 and CORE-5900 together (expression indices contain NULL keys after restore). 2019-01-17 14:09:33 +03:00
Dmitry Yemanov
e5a2c6b506 Fixed the database left attached (and the engine not unloaded) after error thrown from the beginning of the attach process (e.g. due to the engine shutdown in progress) 2019-01-17 14:09:33 +03:00
firebirds
5038fa13bf increment build number 2019-01-17 00:04:05 +00:00
Dmitry Yemanov
bebba514c0 More reliable check for view vs table 2019-01-16 13:23:24 +03:00
Dmitry Yemanov
60ed79f6b0 Reworked Alex's solution for modern compilers (GCC 5/6) 2019-01-16 12:14:52 +03:00
firebirds
c2de91fa38 increment build number 2019-01-10 00:04:43 +00:00
hvlad
f8a2a3615c Ported fix for bug CORE-5980 : Firebird 2.5.6 & 25.8 server crash 2019-01-09 16:13:09 +02:00
firebirds
829628f51f increment build number 2018-12-27 00:04:00 +00:00
firebirds
0eee6616e7 increment build number 2018-12-08 00:04:19 +00:00
firebirds
4418e89a34 increment build number 2018-11-23 00:03:55 +00:00
Dmitry Yemanov
93da6eb68d This should fix CORE-5395: Invalid data type for negation (minus operator) 2018-11-22 13:23:46 +03:00
firebirds
8f4dc66a56 increment build number 2018-11-21 00:03:57 +00:00
Dmitry Yemanov
077a2a3b75 Attempt to fix CORE-5070, CORE-5795, CORE-5845, CORE-5965 with a single shot 2018-11-20 20:52:22 +03:00
firebirds
39da5222e5 increment build number 2018-11-19 00:04:07 +00:00
AlexPeshkoff
2bf6198592 Fixed CORE-5966: Slow performance when executing SQL scripts as non-SYSDBA user 2018-11-18 22:05:43 +03:00
firebirds
bf5b3aed42 increment build number 2018-11-16 00:03:52 +00:00
Dmitry Starodubov
9f3b4a492d Don't skip next plugin if previous one has not sent data (#177) 2018-11-15 17:16:45 +03:00
firebirds
15f59c383e increment build number 2018-11-14 00:04:07 +00:00
hvlad
7f5db5706e Backport fix for bug CORE-5959 : Firebird returns wrong time after changes of time zone 2018-11-13 13:49:14 +02:00
firebirds
258560520a increment build number 2018-10-31 00:03:58 +00:00
Roman Simakov
abc09c3dff Fixed CORE-5955: Unable to init binreloc with ld >= 2.31 2018-10-30 13:40:47 +03:00
firebirds
d24d59815f increment build number 2018-10-30 00:03:49 +00:00
Dmitry Yemanov
17e0ee1bd8 Fixed possible corruption of the monitoring shared data 2018-10-29 12:16:04 +03:00
firebirds
659953bac4 increment build number 2018-10-27 00:04:05 +00:00
Dmitry Yemanov
db38f8c739 Fixed CORE-5943: Server crashes preparing a query with both DISTINCT/ORDER BY and non-field expression in the select list 2018-10-26 10:32:25 +03:00
firebirds
e04eefe5ff increment build number 2018-10-26 00:03:56 +00:00
AlexPeshkoff
636841d390 Backported CORE-5741: Word "fixing" in gbak output is too scary 2018-10-25 12:31:41 +03:00
firebirds
6b9f398374 increment build number 2018-10-25 00:03:59 +00:00
AlexPeshkoff
2ce876c7bf Backported CORE-5950: Deadlock when attaching to bugchecked database 2018-10-24 17:23:20 +03:00
hvlad
83a2bec673 Fixed typo, thanks to Alex 2018-10-24 16:05:53 +03:00
hvlad
d7790dccc3 Fixed bug CORE-5949 : Bugcheck could happen when read-only database with non-zero linger is set to read-write mode 2018-10-24 15:42:07 +03:00
firebirds
0488891b49 increment build number 2018-10-23 00:03:54 +00:00
Dmitry Yemanov
e56ddf2c3f Bump minor version 2018-10-22 11:43:09 +03:00
firebirds
05038fe6f3 increment build number 2018-10-20 00:03:48 +00:00
AlexPeshkoff
a338d7a199 Backported CORE-5948: Make WIN_SSPI plugin produce keys for wirecrypt plugin 2018-10-19 20:10:23 +03:00
AlexPeshkoff
e6f525c47a Backported CORE-5639: Mapping rule using WIN_SSPI plugin: windows user group conversion to firebird role does not work 2018-10-19 17:43:09 +03:00
firebirds
02352107fe increment build number 2018-10-13 00:03:54 +00:00
Dmitry Starodubov
784c34aaf3 Use 64bit value to count records during backup/restore (#173) 2018-10-12 15:41:36 +03:00
firebirds
423fbb71c7 increment build number 2018-10-11 00:03:49 +00:00
velvet-jones
0fc4cddb65 Fixed CMake build of gpre_boot by adding LIB_dl to the link libraries (#172) 2018-10-10 12:23:18 +03:00
firebirds
6ca4e99429 increment build number 2018-10-10 00:03:49 +00:00
firebirds
7dc670044e increment build number 2018-10-09 00:03:45 +00:00
hvlad
8d9f399c5c Port forward fix for bug CORE-5936 : Firebird server segfaults in the end of database backup.
While i can't reproduce bug on v3, it will make no harm.
2018-10-08 14:13:14 +03:00
firebirds
22c4455b8c increment build number 2018-10-06 00:03:52 +00:00
AlexPeshkoff
db174c99b1 Backported CORE-5928: Make it possible for AuthClient plugin to access authentication block from DPB 2018-10-05 17:53:35 +03:00
AlexPeshkoff
d740b44c73 Backported CORE-5927: With some non-standard authentication plugins providing correct crypt key wire anyway remains not encrypted 2018-10-05 17:26:33 +03:00
AlexPeshkoff
4d2d667aab Backported CORE-5926: Attempt to create mapping with non-ascii user name which is encoded in SINGLE-BYTE codepage (win 1251) leads to '-Malformed string' message 2018-10-05 17:25:28 +03:00
AlexPeshkoff
b175b02c3e Backported CORE-5918: Memory pool statistics is not accurate 2018-10-05 17:24:42 +03:00
AlexPeshkoff
c285c2854f Backported CORE-5907: Regression: can not launch trace if its 'database' section contains regexp pattern with curvy brackets to enclose quantifier 2018-10-05 17:22:43 +03:00
AlexPeshkoff
cba7fc9f47 Code cleanup - this should fix MacOS build 2018-10-05 17:03:16 +03:00
firebirds
9686069724 increment build number 2018-10-05 00:03:46 +00:00
hvlad
d4d5a9633c Fixed bug CORE-5935 : Bugcheck 165 (cannot find tip page) 2018-10-05 00:23:55 +03:00
firebirds
cff6cf566d increment build number 2018-09-21 00:03:55 +00:00
firebirds
6d088f4539 increment build number 2018-09-19 00:03:51 +00:00
hvlad
6f56dc3146 Implement sub-task CORE-5913 : Add context variables with compression and encryption status of current connection 2018-09-18 19:47:36 +03:00
AlexPeshkoff
4df43606a2 Backported CORE-5764: Installation of Firebird 3.0.3 on SLES 12 SP3 fails with "Could not find acceptable ICU library" 2018-09-18 10:33:37 +03:00
firebirds
e8f4721bc5 increment build number 2018-09-18 00:03:55 +00:00
hvlad
6a1fbc56b2 Additional fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test)
The case when main thread convert still not acquired lock when AST thread assert locks.
It leads to the error:  Fatal lock manager error: invalid lock id (0)
2018-09-17 21:00:08 +03:00
hvlad
17bc6728c0 Fixed bug CORE-5911 : Connection could hung after no activity for 60 seconds 2018-09-17 20:55:27 +03:00
firebirds
de77eb043d increment build number 2018-09-14 00:03:52 +00:00
Adriano dos Santos Fernandes
b54ff50165 Fix CORE-5905 - Inconsistencies with PSQL FUNCTION vs UDF. 2018-09-13 13:03:19 -03:00
firebirds
8d2119f463 increment build number 2018-09-13 00:03:57 +00:00
Dmitry Starodubov
9d01fb9f34 Fixed CORE-5823: No permission for SELECT access to blob field in stored procedure. And CORE-5841: No permission for SELECT access to TABLE PLG$SRP in newer snapshot. (#162)
* Fixed CORE-5823: No permission for SELECT access to blob field in stored procedure.
And CORE-5841: No permission for SELECT access to TABLE PLG$SRP in newer snapshot.

* Minor fixes

* Use temporary status vector to check access
2018-09-12 13:41:50 +03:00
firebirds
111e5e956b increment build number 2018-09-08 00:03:47 +00:00
Alex Peshkoff
6a63c3bf47 Backported CORE-5908: Enhance dynamic libraries loading related error messages 2018-09-07 17:06:04 +03:00
firebirds
2ec1e1ee08 increment build number 2018-09-06 00:03:39 +00:00
Alex Peshkoff
a9b8a972f7 Applied modified patch from Damyan fixing piped decompression 2018-09-05 18:07:11 +03:00
firebirds
4afd950ef0 increment build number 2018-09-05 00:03:44 +00:00
Alex Peshkoff
fac2555e4c Fixed warning - thanks to Adriano 2018-09-04 18:38:57 +03:00
firebirds
6f7192783d increment build number 2018-09-01 00:03:57 +00:00
Alex Peshkoff
cb9716a703 Avoid races in YObject::destroy() 2018-08-31 15:44:32 +03:00
hvlad
7da1533744 Unify memory allocation in verb_post. 2018-08-31 14:41:19 +03:00
Alex Peshkoff
7e314cbfdc This should fix memory leak when not fully initialized attachment killed by DBA 2018-08-31 12:56:13 +03:00
firebirds
e85db79085 increment build number 2018-08-31 00:03:48 +00:00
hvlad
2f04c22ca7 This should fix crash when not fully initialized attachment killed by DBA.
For example - sweep (it happens few times when running core_4337.fbt).
2018-08-30 20:38:36 +03:00
firebirds
3957866ac9 increment build number 2018-08-30 00:03:49 +00:00
Alex Peshkoff
21bdc4a60d Fixed comment, thanks to Adriano 2018-08-29 19:10:22 +03:00
Alex Peshkoff
76347ed5ca Backported CORE-5793: Error returned from DbCryptPlugin::setKey() is not shown 2018-08-29 18:54:50 +03:00
firebirds
99ed7afeef increment build number 2018-08-29 00:03:48 +00:00
Alex Peshkoff
d9fabca6be Backported CORE-5860: Support auth_plugin_list dpb/spb item from application to client 2018-08-28 18:44:24 +03:00
Alex Peshkoff
4c8c78f356 Backported CORE-5904: An attempt to create global mapping with long (> SQL identifier length) FROM field fails 2018-08-28 14:02:24 +03:00
firebirds
ea18867de5 increment build number 2018-08-28 00:03:57 +00:00
hvlad
b0ab147b27 Fixed bug CORE-5898 : ROLE not passed in EXECUTE STATEMENT ... ON EXTERNAL 2018-08-27 17:25:06 +03:00
firebirds
96b3b6fbda increment build number 2018-08-27 00:03:54 +00:00
hvlad
5af5f6abe2 This should fix a bug CORE-5902 : Add Firebird Event fails with error "While isc_que_events - Failed to establish a secondary connection for event processing." 2018-08-27 00:44:55 +03:00
firebirds
3b507ca05a increment build number 2018-08-25 00:03:50 +00:00
Alex Peshkoff
fd8e066438 Backported CORE-5886: Nbackup does not work after 32K of backups iterations 2018-08-24 18:07:37 +03:00
firebirds
720195ecc3 increment build number 2018-08-23 00:03:46 +00:00
Alex Peshkoff
9675ab2cee Backported CORE-5900: Banned during engine shutdown threads cause unwanted delays when shutting server 2018-08-22 19:16:44 +03:00
Alex Peshkoff
c14f4c8259 Backported changes in memory leaks debugging code 2018-08-22 16:35:08 +03:00
Alex Peshkoff
c68bfdbb15 Backported CORE-5899: Memory leak in GBAK code when used as service 2018-08-22 16:34:29 +03:00
firebirds
7e057c0a8c increment build number 2018-08-16 00:03:42 +00:00
Alex Peshkoff
f878c3b140 Backported CORE-5893:gbak may crash database when mixing alias with full database name 2018-08-15 16:17:06 +03:00
firebirds
7ef88cba6e increment build number 2018-08-11 00:03:48 +00:00
hvlad
a1dbdc3656 Avoid crash due to executing already unloaded code (in attachmentShutdownThread).
Probably, same trick should be used in all threads, started not by Dispatcher,
which could run after its module is unloaded concurrently. So far, it looks like
Windows specific.
2018-08-11 00:14:01 +03:00
hvlad
c83b395a40 Avoid race condition in cancel_operation() when client connection breaks immediately after op_detach.
Alex, please review.
2018-08-11 00:04:26 +03:00
hvlad
52e9d571ed Avoid race condition (with AV) when YEvents object references is released concurrently 2018-08-11 00:01:16 +03:00
hvlad
b881d2d9ec Fix incorrect reference counting for EventManager object.
It leads to the crash due to attempt to execute code (watcher_thread) after engine DLL is unloaded.
2018-08-10 23:58:47 +03:00
hvlad
3b414d0755 Avoid double delete of ThreadSync object 2018-08-10 23:56:23 +03:00
hvlad
58e88d0801 Clear events of dead process, not our own 2018-08-10 23:53:20 +03:00
Alex Peshkoff
1041ad7d20 Backported fix of segfault in special build. 2018-08-10 17:16:59 +03:00
firebirds
57a966ed42 increment build number 2018-08-07 00:03:45 +00:00
firebirds
f7477aa531 increment build number 2018-08-03 00:03:35 +00:00
Alex Peshkoff
5df4b868d8 Backported CORE-5884: Initial global mapping from srp plugin does not work 2018-08-02 19:03:03 +03:00
firebirds
6550c134bd increment build number 2018-08-01 00:03:47 +00:00
Alex Peshkoff
decb92dafd Backported CORE-5876: Provide name of udf function for "arithmetic exception, numeric overflow, or string truncation" 2018-07-31 16:09:41 +03:00
firebirds
df640d08b4 increment build number 2018-07-31 00:03:48 +00:00
Alex Peshkoff
05f4ac5741 Backported CORE-5881: Network server ignores any error that took place in KeyHolderPlugin when establishing initial callback with client 2018-07-30 14:09:59 +03:00
firebirds
b46ccc86b7 increment build number 2018-07-28 00:03:46 +00:00
Alex Peshkoff
b17e36751f Backported fix for CORE-5865: Alignment error on x86_64 2018-07-27 16:48:10 +03:00
firebirds
d92d59d93b increment build number 2018-07-27 00:03:42 +00:00
firebirds
161f6c7547 increment build number 2018-07-26 00:03:46 +00:00
hvlad
54f024a9b2 This should fix bug CORE-5844 : Firebird freeze for new connections 2018-07-26 00:53:03 +03:00
Ilya Eremin
7e3a2e419d Stop database restore with -o option when no space left on disk (#128) 2018-07-25 19:40:24 +03:00
firebirds
3eb0b2af7b increment build number 2018-07-25 00:03:49 +00:00
firebirds
fb404c42ec increment build number 2018-07-24 00:03:44 +00:00
firebirds
5218cc5fb6 increment build number 2018-07-18 00:03:45 +00:00
hvlad
c4a2b69bfd Correct condition when mapped file of monitoring data should be removed. 2018-07-17 19:05:19 +03:00
firebirds
0d4d79ecfb increment build number 2018-07-13 00:04:03 +00:00
hvlad
cf0424ed71 Fixed memory corruption found when run test bugs.5674 in Classic mode using debug build.
To reproduce, run 2 times:

with recursive
    a as(
      select 0 a from rdb$database
      union all
      select a+1 from a where a.a < 1
    )
    ,b as(
      select 1 a from c rows 1
    )
    ,c as(
      select 2 b from b rows 1
    )
select * from a;
2018-07-12 13:16:54 +03:00
firebirds
6080f56170 increment build number 2018-07-12 00:03:37 +00:00
Adriano dos Santos Fernandes
15e25b3c35 Improvement CORE-5853 - Forward-compatible expressions LOCALTIME and LOCALTIMESTAMP. 2018-07-11 13:30:14 -03:00
firebirds
4bac379c1a increment build number 2018-07-11 00:03:46 +00:00
hvlad
709a48e75b Fixed bug CORE-5872 : Database validation reports false errors "Record XXX has bad transaction" and\or "Record XXX is wrong length" when record transaction number is greater than 2^32 2018-07-10 22:42:22 +03:00
hvlad
b248e09ae4 Fixed bug CORE-5870 : ISQL's "show database" command works wrong with 64-bit numbers 2018-07-10 19:50:34 +03:00
hvlad
b1a34f16d9 Fixed bug CORE-5869 : Sweep can't move OIT value over 2^32, when Next already greater than 2^32 (4'294'967'296) 2018-07-10 19:32:08 +03:00
firebirds
f752b80489 increment build number 2018-07-04 00:04:05 +00:00
firebirds
083606fafb increment build number 2018-07-03 00:03:41 +00:00
Alex Peshkoff
0b547e33df Fixed exception handling in wire crypt code - thanks to Vlad 2018-07-02 11:51:58 +03:00
firebirds
8bdace12ee increment build number 2018-07-02 00:03:42 +00:00
hvlad
772572a382 This should fix bug CORE-5863 : Classic process crashes when client disconnected 2018-07-01 17:53:25 +03:00
firebirds
25a9a87198 increment build number 2018-06-27 00:03:43 +00:00
hvlad
4a94f484b7 Prevent AV when thread detaches and no modules was loaded 2018-06-27 00:50:10 +03:00
firebirds
4e1c35ceb1 increment build number 2018-06-26 00:04:27 +00:00
Roman Simakov
c3524dbf0b Adjust assert condition and added check if role exists. 2018-06-25 12:07:37 +03:00
firebirds
9fa7c35062 increment build number 2018-06-25 00:03:41 +00:00
hvlad
d87df8cd41 Fixed crash when no object for grant\revoke operation.
Roman, please review.
2018-06-25 01:35:30 +03:00
firebirds
2627bcdf60 increment build number 2018-06-24 00:03:49 +00:00
Adriano dos Santos Fernandes
da61869854 Postfix for CORE-5846 - CREATE VIEW issues "Implementation of text subtype 512 not located". 2018-06-23 12:52:08 -03:00
firebirds
bde2b20a2f increment build number 2018-06-23 00:03:43 +00:00
Roman Simakov
a01d81d1ed Backport of pull request #163 from FirebirdSQL/trigger1_refac
Fixed CORE-5852: There is no check of existance generator and exception when privileges are granted
Moved check of the object existance from trigger1 to grantRevoke method.
2018-06-22 17:34:28 +03:00
Adriano dos Santos Fernandes
1a29188566 Fixed CORE-5846 - CREATE VIEW issues "Implementation of text subtype 512 not located". 2018-06-21 21:49:32 -03:00
firebirds
b5032e475e increment build number 2018-06-22 00:04:00 +00:00
Alex Peshkoff
8f94aecbfe Postfix for CORE-5791 2018-06-21 19:51:44 +03:00
Alex Peshkoff
406b169d96 Applied CORE-5788: Security Patch: Replacement of use of SHA-1 in the SRP Client Proof with SHA-256 2018-06-21 14:52:49 +03:00
firebirds
11218c4607 increment build number 2018-06-21 00:03:33 +00:00
hvlad
2f77f8e618 Rework fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test) 2018-06-21 00:40:34 +03:00
firebirds
93ae29dba1 increment build number 2018-06-20 00:03:39 +00:00
Alex Peshkoff
4e0c59667e Postfix for core-5824 2018-06-19 16:33:08 +03:00
hvlad
0e793dd0be Fixed bug CORE-5847 : "Malformed string" instead of key value in PK violation error message 2018-06-19 11:32:53 +03:00
firebirds
d8ad426f37 increment build number 2018-06-19 00:03:58 +00:00
hvlad
3550875261 More strict fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test) 2018-06-18 13:51:44 +03:00
firebirds
8d262507a2 increment build number 2018-06-15 00:03:29 +00:00
hvlad
ceefd571dc Backport fix for bug CORE-5843 : Wrong handling of failures of TRANSACTION START trigger 2018-06-14 15:49:05 +03:00
firebirds
e62da8a600 increment build number 2018-06-14 00:03:32 +00:00
hvlad
174a789be6 Another fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test) 2018-06-13 14:17:24 +03:00
firebirds
4f8e4b612f increment build number 2018-06-06 00:03:36 +00:00
Roman Simakov
56d03a6dc7 Fixed CORE-5840: Ignor of reference privilege. 2018-06-05 16:22:13 +03:00
firebirds
4a37a37ae4 increment build number 2018-06-02 00:03:52 +00:00
Roman Simakov
2bad53c6f6 Fixed CORE-5755: No error if the GRANT target object does not exist 2018-06-01 17:08:26 +03:00
Dmitry Yemanov
fd614b807a Avoid not synchronized access to the shared list + some minor adjustments 2018-06-01 17:06:14 +03:00
firebirds
08f8f7ca52 increment build number 2018-05-31 00:03:33 +00:00
hvlad
eca3fc6530 This should fix bug CORE-5837 : Inconsistent results when working with GLOBAL TEMPORARY TABLE ON COMMIT PRESERVE ROWS 2018-05-30 16:43:50 +03:00
hvlad
45bbbe2157 Update VIO_DEBUG code - mostly added relation id. 2018-05-30 16:38:01 +03:00
firebirds
a106ac4345 increment build number 2018-05-25 00:03:46 +00:00
Adriano dos Santos Fernandes
3b6e74e873 Fixed CORE-5833 - DDL triggers for some object types (views, exceptions, roles, indexes, domains) are lost in backup-restore process. 2018-05-24 19:58:38 -03:00
firebirds
d0b745c296 increment build number 2018-05-24 00:03:42 +00:00
AlexPeshkoff
e16ecb8de9 Backported CORE-5831: Not user friendly output of gstat at encrypted database 2018-05-23 18:27:02 +03:00
AlexPeshkoff
759bd79429 Backported CORE-5824: Segmentation fault during install on Linux 2018-05-23 15:27:09 +03:00
firebirds
eb95a0c330 increment build number 2018-05-23 00:03:36 +00:00
AlexPeshkoff
6bc775c4ab Related to CORE-5830 and auto pointers changes, suggested by Vlad 2018-05-22 19:34:52 +03:00
AlexPeshkoff
01b108858a Backported fix for CORE-5830: Encryption Interface crashing Firebird process when working on big db file (6.7GB) 2018-05-22 17:37:44 +03:00
AlexPeshkoff
a04ef3d73b Backported AutoPtr<> enhancements from HEAD 2018-05-22 17:37:44 +03:00
firebirds
51537e4b0f increment build number 2018-05-19 00:03:42 +00:00
Dmitry Yemanov
8bd8c1176a Fixed inconsistency in request/transaction state after error 2018-05-18 12:02:53 +03:00
firebirds
a2a91ccdd6 increment build number 2018-05-18 00:03:33 +00:00
AlexPeshkoff
0316c5271e Backported CORE-5829: gsec does not release user manager plugin 2018-05-17 17:40:21 +03:00
firebirds
ec78730c1c increment build number 2018-05-11 00:03:35 +00:00
AlexPeshkoff
9686b3a689 Backported CORE-5822: Wrong error returned to client when WireCrypt=Disabled is used 2018-05-10 16:00:02 +03:00
firebirds
ceda2bd05a increment build number 2018-05-10 00:03:24 +00:00
hvlad
8c1e31fe49 Fixed bug CORE-5819 : Attachment might not gone after it was DELETEd FROM MON$ATTACHMENTS 2018-05-09 12:53:47 +03:00
firebirds
e8279d22f7 increment build number 2018-05-08 00:03:29 +00:00
firebirds
2127a5ea5a increment build number 2018-05-05 00:03:34 +00:00
AlexPeshkoff
845fb384fc Backported CORE-5815: Server hangs for 60/120 seconds if client exits during database encryption key transfer callback 2018-05-04 21:15:40 +03:00
firebirds
3eb72d5ebb increment build number 2018-05-04 00:03:26 +00:00
hvlad
10c4b46c5e This fixed deadlock on Windows when one thread unload some plugin(s) (due to shutdown, for ex.) and another thread run threadDetach() 2018-05-03 13:17:35 +03:00
firebirds
fd78aaaf6b increment build number 2018-04-28 00:03:42 +00:00
hvlad
114e4fdf3c Another addition to the my recent patch (AV related with EDS) 2018-04-27 16:42:54 +03:00
hvlad
52da531861 Addition to the my recent patch (AV related with EDS) 2018-04-27 16:26:41 +03:00
firebirds
932ab9bf0a increment build number 2018-04-27 00:03:37 +00:00
hvlad
a9c97ce80c Allows to correctly free JTransaction after bugcheck 2018-04-26 22:37:41 +03:00
hvlad
bf54a6083c Fixed AV's at EDS subsystem
- pure virtual call from Manager::shutdown()
- garbage m_jrdTran pointer at Transaction::detachFromJrdTran()

It could happen when InternalConnection was not destroyed within its bound Jrd::Attachment by some extra-ordinal reason (such as bugcheck).
2018-04-26 22:36:28 +03:00
firebirds
dcbf991887 increment build number 2018-04-24 00:04:27 +00:00
Roman Simakov
6019498bd7 Partial backport of CORE-5804: Multiple error in REVOKE operator.
Fixed revoking grant option for field permissions.
2018-04-23 16:46:26 +03:00
hvlad
77c2c58d7e Fixed bug CORE-5436 : [FB3 SC] Server hangs (under load test) 2018-04-23 10:01:39 +03:00
firebirds
f59acfa237 increment build number 2018-04-22 00:04:25 +00:00
hvlad
ee92f30f09 Avoid recursive locking of plugins list mutex. This fixed deadlock at PluginSet::next. 2018-04-22 00:31:55 +03:00
firebirds
b26306977f increment build number 2018-04-21 00:04:58 +00:00
hvlad
5071801b9a Replace nullptr by NULL to please our POSIX build 2018-04-21 00:05:20 +03:00
hvlad
4fbff371fd Fixed rare deadlock when one thread is finishing, loaded modules run threadDetach() while another thread loaded some new module.
The deadlock is with windows loader lock and plugin's list mutex.
2018-04-20 23:46:00 +03:00
hvlad
5b166c21f4 Fixed leak of ThreadSync instance when module (for. ex. engine) is unloaded before worker threads gone. 2018-04-20 23:41:46 +03:00
Dmitry Starodubov
c916203cb6 Backported check for access rights to BLOBs. It should fix CORE-5801. (#158) 2018-04-20 12:08:22 +03:00
firebirds
d9e86c7f17 increment build number 2018-04-20 00:04:41 +00:00
hvlad
a2a55ad3a1 Fixed small memory leak 2018-04-19 14:25:14 +03:00
firebirds
c444ab6d8a increment build number 2018-04-19 00:04:37 +00:00
AlexPeshkoff
b5ad1ec5cf Backported CORE-5796: gstat may produce faulty report about presence of some none-encrypted pages in database 2018-04-18 19:52:15 +03:00
firebirds
7e42941523 increment build number 2018-04-17 00:04:39 +00:00
AlexPeshkoff
aaf37e6189 Postfix for CORE-5791. Sorry to snapshot builds users - had to change ODS minor once again. If someone was using snapshots with ODS 12.1 please backup with old snapshot code and restore using current one. 2018-04-16 20:50:07 +03:00
firebirds
0cca4eb973 increment build number 2018-04-16 00:04:27 +00:00
Dmitry Yemanov
2033c759ee Misc 2018-04-15 09:53:40 +03:00
firebirds
a435481721 increment build number 2018-04-14 00:09:08 +00:00
Dmitry Yemanov
0f670c1c2a More complete solution for early monitoring initialization 2018-04-13 10:21:18 +03:00
firebirds
da91d0fb25 increment build number 2018-04-13 00:04:56 +00:00
hvlad
ad0580e7d1 Create MonitoringData early to avoid races later.
It fixed leakage of MonitoringData instance (and few related handles) when many connections created simultaneously.
See also CORE-5702.
2018-04-12 23:24:31 +03:00
firebirds
78e98757cb increment build number 2018-04-12 00:05:03 +00:00
AlexPeshkoff
a8e1ff3fcd Fixed CORE-5791: ODS for windows builds and linux-x64 (on the one side) and linux-x86 (on the other side) does not match 2018-04-11 20:20:40 +03:00
firebirds
d5dd6ab380 increment build number 2018-04-11 00:05:01 +00:00
hvlad
840d6afec8 Fixed my error (case when eol follows immediately after '--') 2018-04-10 17:26:52 +03:00
firebirds
41c74ef650 increment build number 2018-04-10 00:05:02 +00:00
Roman Simakov
b3ae27c7d7 Update generated file 2018-04-09 17:38:54 +03:00
Roman Simakov
2200d097ad Backport of fix CORE-5790 - User with DROP DATABASE privilege can't drop database 2018-04-09 17:38:28 +03:00
firebirds
c6e64d1898 increment build number 2018-04-06 00:05:08 +00:00
hvlad
bf5614b257
Merge pull request #156 from abzalov/B3_0_Release
CORE-5746: Remove the restriction on create/delete, enable/disable user indexes in the system tables
2018-04-05 11:02:31 +03:00
firebirds
e526ff6587 increment build number 2018-04-05 00:05:01 +00:00
hvlad
0e96bbfe48 Corrected additional fix for bug CORE-5702 : Firebird Handle Leak Windows 2018-04-05 00:37:45 +03:00
firebirds
ba6c390c1a increment build number 2018-04-03 00:05:02 +00:00
hvlad
a9b8442b22 Let ExtDS preprocessor and SQL parser handle '\r', '\n' and '\r\n' as end of line.
It should fix bug CORE-5783 : execute statement ignores the text of the SQL-query after a comment of the form "-"
2018-04-03 01:03:36 +03:00
hvlad
07a95159c9 Additional fix for bug CORE-5702 : Firebird Handle Leak Windows 2018-04-03 01:01:52 +03:00
abzalov
2bc844ec27 CORE-5746: Remove the restriction on create/delete, enable/disable the system indexes in system tables 2018-04-02 21:44:34 +03:00
firebirds
7d6cd3ad14 increment build number 2018-03-21 00:05:26 +00:00
AlexPeshkoff
1ac07aba37 Syntax 2018-03-20 19:55:22 +03:00
hvlad
2c7967212d Fixed bug CORE-5773 : PSQL cursor doesn't see inserted record 2018-03-20 09:11:15 +02:00
firebirds
58b62307cb increment build number 2018-03-20 00:05:16 +00:00
AlexPeshkoff
27a6c41172 Backported CORE-5780: Server hangs when client tries to send too long DB encryption key(s) 2018-03-19 18:21:24 +03:00
hvlad
81908fd03d Fix thread priority for attachmentShutdownThread (it was run at lowest priority) 2018-03-19 15:58:02 +02:00
firebirds
89c6e67f11 increment build number 2018-03-19 00:04:50 +00:00
hvlad
467e9fd747 Fixed typo 2018-03-18 15:59:35 +02:00
hvlad
408c0f1dea Avoid GetThreadId() which is not present in WinXP (see CORE-5772) 2018-03-18 15:47:01 +02:00
firebirds
88251eb9e6 increment build number 2018-03-17 00:04:47 +00:00
hvlad
eaa1cff9e0 Fixed bug CORE-405 : Garbage vs indices/constraints 2018-03-16 15:16:07 +02:00
firebirds
63235c77cc increment build number 2018-03-16 00:05:09 +00:00
AlexPeshkoff
f48a7c69ba Backported CORE-5772: Client hangs when working with events under high load 2018-03-15 16:06:12 +03:00
AlexPeshkoff
90b6530d7b Regenerated after Vlad changes 2018-03-15 16:05:09 +03:00
hvlad
f6e93ff6bb Fixed bug CORE-5776 : "Input parameter mismatch" error after altering external function into PSQL function 2018-03-15 11:32:15 +02:00
firebirds
226745f1e0 increment build number 2018-03-14 00:05:24 +00:00
hvlad
4fa1bf4212 This should fix bug CORE-5702 : Firebird Handle Leak Windows 2018-03-13 19:44:33 +02:00
firebirds
f0f3f5f909 increment build number 2018-03-12 00:05:00 +00:00
firebirds
0553770074 increment build number 2018-03-10 00:04:46 +00:00
AlexPeshkoff
f40802dc35 Backported CORE-5765: Missing directives in Firebird.pas 2018-03-09 21:54:57 +03:00
firebirds
0b6c4e549e increment build number 2018-03-02 10:08:02 +00:00
hvlad
00476ed0b8 Return back lost checkouts at sorting module.
It allows to handle AST requests during long sorts.
2018-02-28 18:48:38 +02:00
AlexPeshkoff
2928eec957 Backported CORE-5762: Wrong transaction number in RDB$PAGES relation may cause infinite recusrion in engine and segfault 2018-02-27 15:20:23 +03:00
hvlad
5a92f51c51 Fixed bug CORE-5760 : Server process crashes while restoring database 2018-02-26 18:52:58 +02:00
AlexPeshkoff
4023436992 Backported CORE-5757: deadlock with events 2018-02-25 20:08:31 +03:00
firebirds
cde63fd6c6 increment build number 2018-02-22 00:05:43 +00:00
Dmitry Yemanov
bfb008f4e9 Postfix for CORE-2284/CORE-5677, fixes regression CORE-5756 2018-02-21 10:48:44 +03:00
firebirds
69ebe007b2 increment build number 2018-02-21 00:05:04 +00:00
AlexPeshkoff
4a438a2aaf Backported CORE-5742: Incorrect error message in iSQL when trying to create database with wrong password 2018-02-20 18:25:17 +03:00
AlexPeshkoff
c962269487 Fixed INF processing 2018-02-20 13:59:34 +03:00
firebirds
a73f4ab9d3 increment build number 2018-02-20 00:05:09 +00:00
Roman Simakov
c0d338367b Backport CORE-5754: ALTER TRIGGER check privilege for alter database instead of table 2018-02-19 19:22:10 +03:00
Roman Simakov
e510566160 Backport CORE-5753: Parser allows to use GRANT OPTION for FUNCTION and PACKAGE. 2018-02-19 19:18:07 +03:00
Roman Simakov
b1ad3c8dcb Backport CORE-5747: User can grant USAGE privilege by himself. Error messages were corrected. 2018-02-19 18:59:22 +03:00
firebirds
1c977d42ce increment build number 2018-02-17 00:04:50 +00:00
firebirds
6c0f5ed908 increment build number 2018-02-13 00:05:08 +00:00
Dmitry Yemanov
97ef3211e4 Avoid reading the page buffer after it was released 2018-02-12 19:03:00 +03:00
firebirds
70ade3ad8f increment build number 2018-02-11 00:05:28 +00:00
AlexPeshkoff
f726e7bc97 Fixed CORE-5745: GRANT privileges error during database restore 2018-02-10 20:50:19 +03:00
AlexPeshkoff
a4cb621bf5 Make it build with icu60 2018-02-10 19:43:45 +03:00
firebirds
61ea791c3a increment build number 2018-02-10 00:05:03 +00:00