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

48479 Commits

Author SHA1 Message Date
AlexPeshkoff
ef57295112 Fixed CORE-5950: Deadlock when attaching to bugchecked database 2018-10-24 17:22:58 +03:00
firebirds
3a94c24989 increment build number 2018-10-23 00:03:20 +00:00
firebirds
a1cf6f4787 increment build number 2018-10-20 00:03:18 +00:00
AlexPeshkoff
a108c7df0b Implemented CORE-5948: Make WIN_SSPI plugin produce keys for wirecrypt plugin 2018-10-19 20:09:26 +03:00
AlexPeshkoff
5b8f3b63f1 Fixed CORE-5639: Mapping rule using WIN_SSPI plugin: windows user group conversion to firebird role does not work 2018-10-19 17:42:36 +03:00
firebirds
413e6408f7 increment build number 2018-10-13 00:03:20 +00:00
Dmitry Starodubov
244020e13f Use 64bit value to count records during backup/restore (#174) 2018-10-12 15:41:24 +03:00
firebirds
51f9254cdf increment build number 2018-10-11 00:03:17 +00:00
AlexPeshkoff
afdbd4aff2 Warnings 2018-10-10 20:01:31 +03:00
AlexPeshkoff
f5f3b6692b Front ported PR#172 changes 2018-10-10 12:39:12 +03:00
firebirds
f4f7c5dd07 increment build number 2018-10-10 00:03:17 +00:00
firebirds
3f08f69b02 increment build number 2018-10-06 00:03:17 +00:00
AlexPeshkoff
e548ae3815 Code cleanup - this should fix MacOS build 2018-10-05 17:02:35 +03:00
firebirds
293950e247 increment build number 2018-10-04 00:03:17 +00:00
Adriano dos Santos Fernandes
e33ddf8ca5 Feature CORE-5768 - FILTER-clause for aggregate functions. 2018-10-03 13:20:26 -03:00
firebirds
8283c7da27 increment build number 2018-10-03 00:03:20 +00:00
AlexPeshkoff
0b71aa9795 Fixed 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-02 17:46:02 +03:00
AlexPeshkoff
fc2624b90d Postfix for CORE-5808, fixed restore of encrypted database on classic server 2018-10-02 16:25:56 +03:00
hvlad
b1977638c6 This should fix unnecessary wait for prepared but still active concurrent transaction.
Only "read committed no record version" transaction should wait and could see current
record version if concurrent transaction commits, see CORE-5930.
2018-10-02 14:46:10 +03:00
firebirds
6536e1f364 increment build number 2018-10-01 00:03:41 +00:00
hvlad
ab794fc8ec This should fix bugcheck "TPC: Attempt to mark inactive transaction to be in limbo", see CORE-5930 2018-09-30 12:45:24 +03:00
hvlad
02dc5fe9ca This should fix bugcheck "Incorrect snapshot deallocation - too few slots", see CORE-5930 2018-09-30 12:44:24 +03:00
firebirds
073c2dcd54 increment build number 2018-09-29 00:03:22 +00:00
Alex Peshkoff
e306caff9b Make it possible to use batch interface from ISC API based applications 2018-09-28 18:51:15 +03:00
firebirds
9a4ebe904f increment build number 2018-09-28 00:03:31 +00:00
AlexPeshkoff
55fbabd356 Fixed CORE-5928: Make it possible for AuthClient plugin to access authentication block from DPB 2018-09-27 18:51:47 +03:00
AlexPeshkoff
22a72c8722 Fixed CORE-5927: With some non-standard authentication plugins providing correct crypt key wire anyway remains not encrypted 2018-09-27 18:47:12 +03:00
firebirds
f929a938ce increment build number 2018-09-25 00:03:20 +00:00
hvlad
7610a76ff3 Changed RDB$GET_TRANSACTION_CN implementation according to Adriano's suggestion. 2018-09-25 02:19:23 +03:00
hvlad
193d256a62 Code safety 2018-09-25 00:49:54 +03:00
hvlad
cd457adc12 Make result of RDB$GET_TRANSACTION_CN nullable 2018-09-25 00:29:00 +03:00
AlexPeshkoff
3239c9a58c Postfix for CORE-5907 2018-09-24 16:50:23 +03:00
Ilya Eremin
c356791b02 Fixed CORE-5758: Database is corrupted when conflicting "starting at page" values is specified for secondary files (#147)
* Fixed issue: Database is corrupted when conflicting "starting at page" values is specified for secondary files

* Raise error when conflicting "starting at page" values is specified for secondary database files
2018-09-24 13:16:38 +03:00
firebirds
daef7ba63f increment build number 2018-09-24 00:03:24 +00:00
AlexPeshkoff
60f32c30a0 Fixed CORE-5907: Regression: can not launch trace if its 'database' section contains regexp pattern with curvy brackets to enclose quantifier 2018-09-23 20:04:02 +03:00
hvlad
fded677e95 Improvement CORE-5921 : Provide information about Global Commit Number, Commit Number of currently used database snapshot (if any) and Commit Numbers assigned to the committed transactions. 2018-09-23 15:00:59 +03:00
firebirds
f463db457b increment build number 2018-09-21 00:03:16 +00:00
hvlad
f3e243a3c8 Restore change (from commit f04731b448)
that was lost during merge (at ccbf5c724a)
2018-09-20 18:33:37 +03:00
AlexPeshkoff
0865e17c57 Fixed CORE-5918: Memory pool statistics is not accurate 2018-09-20 16:55:22 +03:00
firebirds
0703bd916c increment build number 2018-09-20 00:03:23 +00:00
hvlad
cc7b082b13 Fixed bug with GTT in read-only transactions found by fbtcs test ISC_ER43_TRAN 2018-09-20 00:43:56 +03:00
firebirds
2781f8c4e3 increment build number 2018-09-19 00:03:18 +00:00
hvlad
b6b7d6525c 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-18 22:34:57 +03:00
hvlad
7efe280e11 Fixed bug CORE-5911 : Connection could hung after no activity for 60 seconds 2018-09-18 22:34:27 +03:00
hvlad
0956233dea Rename MON$CONNECTION_COMPRESSED and MON$CONNECTION_ENCRYPTED to MON$WIRE_COMPRESSED and MON$WIRE_ENCRYPTED
to be inline with config settings (WireCompression and WireCrypt) and context variables (WIRE_COMPRESSED and WIRE_ENCRYPTED)
2018-09-18 20:05:54 +03:00
hvlad
a51a1bbb21 Implement sub-task CORE-5913 : Add context variables with compression and encryption status of current connection 2018-09-18 19:58:37 +03:00
firebirds
548c65adf7 increment build number 2018-09-18 00:03:20 +00:00
Dmitry Starodubov
0c275c1f3a 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. (#170) 2018-09-17 15:59:14 +03:00
firebirds
b0ed893fd5 increment build number 2018-09-14 00:03:21 +00:00
Adriano dos Santos Fernandes
a7e162471f Fix CORE-5905 - Inconsistencies with PSQL FUNCTION vs UDF. 2018-09-13 12:22:40 -03:00
firebirds
56f92790c1 increment build number 2018-09-13 00:03:21 +00:00
Alex Peshkoff
5522550eb7 Cleanup 2018-09-12 18:09:15 +03:00
Alex Peshkoff
459a2ae056 Comment 2018-09-12 16:09:18 +03:00
firebirds
628e7b27e6 increment build number 2018-09-11 00:03:19 +00:00
firebirds
2d2edc0f53 increment build number 2018-09-08 00:03:18 +00:00
Alex Peshkoff
2d973b902e Implemented CORE-5908: Enhance dynamic libraries loading related error messages 2018-09-07 16:51:17 +03:00
firebirds
cb66c186ac increment build number 2018-09-06 00:03:11 +00:00
Alex Peshkoff
9f3fa49fe3 Applied modified patch from Damyan fixing piped decompression 2018-09-05 18:03:32 +03:00
firebirds
04508a0f73 increment build number 2018-09-05 00:03:13 +00:00
Adriano dos Santos Fernandes
052f55e753
Fix warning. 2018-09-04 12:26:53 -03:00
firebirds
ebbb04aba5 increment build number 2018-09-03 00:03:19 +00:00
firebirds
d0bb806727 increment build number 2018-09-01 00:03:24 +00:00
Adriano dos Santos Fernandes
de7edf7e72 Fix CORE-1592 - Altering procedure parameters can lead to unrestorable database. 2018-08-31 13:45:33 -03:00
Alex Peshkoff
bf1dc0ff85 Avoid races in YObject::destroy() 2018-08-31 15:43:39 +03:00
Alex Peshkoff
2cb086d431 This should fix memory leak when not fully initialized attachment killed by DBA 2018-08-31 12:55:38 +03:00
firebirds
805990a5da increment build number 2018-08-31 00:03:16 +00:00
hvlad
69b9182b16 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:30:52 +03:00
hvlad
cdc7010bfc Fixed assertion 2018-08-30 16:44:29 +03:00
firebirds
dac9493fdd increment build number 2018-08-30 00:03:17 +00:00
Alex Peshkoff
db4ad62394 Fixed comment, thanks to Adriano 2018-08-29 19:09:31 +03:00
Alex Peshkoff
d94d92bbec Commented assertion to fix DEV_BUILD, to be reviewed by Vlad 2018-08-29 18:57:58 +03:00
Alex Peshkoff
f97bb71781 Fixed CORE-5793: Error returned from DbCryptPlugin::setKey() is not shown 2018-08-29 18:52:52 +03:00
hvlad
b2c0b443e4 Request while running in autonomous read-committed read consistency transaction should start own snapshot. 2018-08-29 14:30:29 +03:00
hvlad
75e6afec71 Add intermediate GC to the VIO_writelock 2018-08-29 10:45:16 +03:00
firebirds
1eb585465c increment build number 2018-08-29 00:03:16 +00:00
Alex Peshkoff
dc06a58a1a Fixed CORE-5860: Support auth_plugin_list dpb/spb item from application to client 2018-08-28 18:43:41 +03:00
Alex Peshkoff
2cce5c7f54 Fixed CORE-5904: An attempt to create global mapping with long (> SQL identifier length) FROM field fails 2018-08-28 14:00:39 +03:00
firebirds
c77f110398 increment build number 2018-08-28 00:03:27 +00:00
Dmitry Starodubov
31de1e0b55 Restored accidentally deleted field MON$RECORD_IMGC 2018-08-27 18:21:46 +03:00
hvlad
79d16e667d Fixed bug CORE-5898 : ROLE not passed in EXECUTE STATEMENT ... ON EXTERNAL 2018-08-27 17:35:10 +03:00
firebirds
d51a61da65 increment build number 2018-08-27 00:03:25 +00:00
hvlad
e5bbfadb2f 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 01:00:23 +03:00
hvlad
96ac2145e8 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-26 23:24:40 +03:00
hvlad
42ec33f1e8 Avoid race condition in cancel_operation() when client connection breaks immediately after op_detach.
Alex, please review.
2018-08-26 23:23:35 +03:00
hvlad
7b1db44868 Front-ported: Avoid race condition (with AV) when YEvents object references is released concurrently.
Alex, please review.
2018-08-26 23:22:51 +03:00
hvlad
cf357238d4 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-26 23:17:25 +03:00
hvlad
806deee493 Avoid double delete of ThreadSync object 2018-08-26 23:17:12 +03:00
firebirds
41b703995e increment build number 2018-08-25 00:03:19 +00:00
Adriano dos Santos Fernandes
8f3000e740 Fix CORE-5896 - NOT NULL constraint is not synchronized after rename column. 2018-08-24 13:37:22 -03:00
Alex Peshkoff
f0281d97d9 Fixed CORE-5886: Nbackup does not work after 32K of backups iterations 2018-08-24 18:06:46 +03:00
firebirds
5cffb24993 increment build number 2018-08-23 00:03:18 +00:00
Alex Peshkoff
87c306e966 Fixed CORE-5900: Banned during engine shutdown threads cause unwanted delays when shutting server 2018-08-22 19:15:08 +03:00
Alex Peshkoff
7a6c06a50b Minor changes in memory leaks debugging code 2018-08-22 16:29:36 +03:00
Alex Peshkoff
3831b18e03 Fixed CORE-5899: Memory leak in GBAK code when used as service 2018-08-22 16:29:36 +03:00
firebirds
9770650c8d increment build number 2018-08-16 00:03:15 +00:00
Alex Peshkoff
0ca8d61b66 Fixed CORE-5893:gbak may crash database when mixing alias with full database name 2018-08-15 16:08:42 +03:00
firebirds
637ea328ba increment build number 2018-08-14 00:03:15 +00:00
Alex Peshkoff
26192efca4 Fixed regression caused when fixing CORE-5883 2018-08-13 19:53:17 +03:00
Alex Peshkoff
75b4443fae Fixed CORE-5891: Invalid events are released in mapping shared memory when dead process is detected 2018-08-13 19:02:23 +03:00
Alex Peshkoff
f6b33b9310 Rollback changes accidentially committed in 5883 instead CORE-5891 2018-08-13 18:55:24 +03:00