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

51852 Commits

Author SHA1 Message Date
hvlad
6a85b46ea7 Fixed the race condition on Windows when shared memory is initialized.
It could raise errors like:

MonitoringData: Cannot initialize the shared memory region
sh_mem_length_mapped is 0 

LockManager::LockManager()
Database is probably already opened by another engine instance in another Windows session

MonitoringData: Cannot initialize the shared memory region
operating system directive CreateFile failed
Access is denied.

Test case is at CORE-4680, see comments by Pavel Zotov at 18 Nov 2015.
2015-12-03 16:17:16 +00:00
firebirds
0ca1dd8b1a nightly update 2015-12-02 00:12:35 +00:00
hvlad
6a41c96166 Fixed AV in CS introduced recently. Dmitry, please review. 2015-12-01 21:12:31 +00:00
dimitr
139513291c Misc. 2015-12-01 12:24:05 +00:00
dimitr
bf7951b259 Second round of my checkout/rescheduling changes. 2015-12-01 12:23:43 +00:00
firebirds
75b89cb090 nightly update 2015-11-30 00:11:54 +00:00
egorpugin
b295f0c7d7 [ci] Fix wget sertificate error. 2015-11-29 23:02:29 +00:00
dimitr
dc7aad88ed 1) Slightly refactored recheduling and checkout logic.
2) Re-enabled checkouts in PIO routines, this resolves CORE-4179. Windows build may be broken, please validate.
3) Implemented faster reaction on asynchronous cancellation/shutdown requests.
4) Avoided locking dbb_sync in AST. This change also solves races during massive attachment shutdown.
2015-11-29 15:12:31 +00:00
firebirds
6f608d9ab8 nightly update 2015-11-28 00:09:51 +00:00
asfernandes
f19a56455c Allow to call IMetadataBuilder::getMetadata more than one time. 2015-11-27 18:37:52 +00:00
firebirds
bac40c7cdd nightly update 2015-11-27 00:10:16 +00:00
roman-simakov
ce8d458e46 Fixed CORE-4978: Improved validation and fix of lost data pages. Thanks to Vlad for help. 2015-11-26 09:28:31 +00:00
firebirds
81a5ad0794 nightly update 2015-11-25 00:10:36 +00:00
hvlad
e74b4d384d Fixed bug CORE-5034 : At least 5 seconds delay on disconnect could happen if disconnect happens close after Event Manager initialization 2015-11-24 23:33:13 +00:00
hvlad
7f470a4aea Fixed bug CORE-5033 : File fb_user_mapping could be left in Firebird lock directory after correct shutdown of all Firebird worker processes 2015-11-24 23:17:26 +00:00
firebirds
a3763abd81 nightly update 2015-11-24 00:11:26 +00:00
hvlad
12e47cc087 Avoid reporting of "SERVER/process_packet: broken port, server exiting" message for already detached port (affects CS only) 2015-11-23 16:08:38 +00:00
hvlad
14fb40a597 Refactor xnet module to separate client and server parts (endpoints).
It fixed bug CORE-5029 : AV in fbclient when multi-threaded application uses XNET protocol
and allows in the future to implement client ability to specify target server endpoint name 
at connection level (currently it is set in firebird.conf).
2015-11-23 16:06:10 +00:00
alexpeshkoff
c32ac809ad Fixed CORE-5026: Firebird authentication gives up after first common plugin 2015-11-23 09:57:34 +00:00
firebirds
7edbefc1dd nightly update 2015-11-21 00:10:33 +00:00
hvlad
a6d615c0cd Fix one of the reason for AV in the engine (see CORE-4680, test by Pavel Zotov at 18 Nov 2015).
The race when gone attachment released database object while another attachment is initialized and uses same database object.
Could happens with shared cache (former SS) only.
2015-11-20 10:17:54 +00:00
dimitr
fb7f56077c Misc. 2015-11-20 08:47:15 +00:00
asfernandes
313bff3a8f Misc. 2015-11-20 00:33:06 +00:00
asfernandes
e757290c05 Fix bad indentation. 2015-11-20 00:25:32 +00:00
firebirds
227214a4ee nightly update 2015-11-20 00:10:22 +00:00
asfernandes
9f8062b7d1 Misc. 2015-11-19 01:12:04 +00:00
firebirds
5b680cc366 nightly update 2015-11-19 00:10:40 +00:00
alexpeshkoff
5447e62227 Added build of crypt application sample to posix build at least in order to keep it compilable 2015-11-18 15:57:26 +00:00
asfernandes
85cae875bf Misc. 2015-11-18 01:10:08 +00:00
asfernandes
3e62707675 Fixed bad indentation. 2015-11-18 00:42:32 +00:00
firebirds
bd795e29e7 nightly update 2015-11-18 00:10:08 +00:00
asfernandes
1c1021b892 Try to fix the performance problem noted by Arno. 2015-11-17 17:01:08 +00:00
aafemt
439ee6b954 MSVC2010 has no inttypes.h, may be stdint.h or cstdint was supposed?.. 2015-11-17 16:24:29 +00:00
dimitr
79af926596 Updated the version string. 2015-11-17 12:19:02 +00:00
dimitr
ec6d38eb47 FB3 seems to be properly protected from CORE-4983 at the y-valve level, but I'm adding an additional protection for the engine anyway (call me paranoid). 2015-11-17 11:46:21 +00:00
dimitr
ff1222c994 Fixed CORE-5220: Regression: ORDER BY clause on compound index may disable usage of other indices. 2015-11-17 10:47:59 +00:00
firebirds
f148dbf724 nightly update 2015-11-17 00:09:54 +00:00
dimitr
e6e9e45b7e Reverted back my change from Jan-2014. I cannot reproduce the original problem anymore. Also, this resolves regression CORE-5018: Non-indexed predicates may not be applied immediately after retrieval when tables are being joined. 2015-11-16 20:33:56 +00:00
alexpeshkoff
e3a73a20a6 Fixed crypt application 2015-11-16 16:13:33 +00:00
dimitr
52bb948978 This should fix CORE-5016: Server crashes during GC when DELETE is executed after adding new referencing column. 2015-11-16 12:09:38 +00:00
alexpeshkoff
5e0ba8c4a2 Partially rolled back changes in my last commit in order to restore CS support 2015-11-16 10:25:16 +00:00
alexpeshkoff
051ed9dd90 Slightly optimize loading of disk crypt plugin, thanks to Dmitry Sibiryakov 2015-11-16 09:48:16 +00:00
firebirds
70244421cf nightly update 2015-11-16 00:08:39 +00:00
alexpeshkoff
0642e9615e Fixed CORE-5017: Interrupt of aux connection during TCP setup phase causes server exit due to unhandled exception 2015-11-15 11:57:39 +00:00
firebirds
2063091aec nightly update 2015-11-14 00:10:02 +00:00
alexpeshkoff
d395ac11eb Postfix for CORE-5014: not good to disconnject same port twice, looks like I and Vlad tried to fix same bug simultaneously 2015-11-13 12:45:32 +00:00
firebirds
3e31e873f4 nightly update 2015-11-13 00:08:52 +00:00
hvlad
9d6b93176c Fixed bug CORE-5015 : AV in engine could happen when ON DISCONNECT trigger posted event 2015-11-12 14:13:33 +00:00
alexpeshkoff
b8f65ccad4 Fixed CORE-5014: Interrupt of aux connection during TCP setup phase causes unclear error messages in firebird.log 2015-11-12 13:43:38 +00:00
paul_reeves
f9ef24deff Misc 2015-11-12 07:23:08 +00:00