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

35117 Commits

Author SHA1 Message Date
hvlad
af286a2520 Additional means to avoid crash\hangup when application unload fbclient.dll not calling fb_shutdown.
Fixed reason of 500 ms delay experienced by such applications (described by Arno in fb-devel).
Fixed missing assignment of thread priorities.
2015-11-03 09:12:12 +00:00
firebirds
07c83f9c53 nightly update 2015-11-03 00:09:38 +00:00
dimitr
6c4898dd76 Fixed the assertion inside the looper (req_caller was not cleared for procedure requests terminated due to exception). 2015-11-02 11:48:59 +00:00
dimitr
212faade87 Simplified the locking logic and fixed races during record backout. 2015-11-02 11:46:43 +00:00
firebirds
6a57d0dbe7 nightly update 2015-11-02 00:10:00 +00:00
firebirds
8e633e0047 nightly update 2015-10-31 00:09:44 +00:00
dimitr
7134690bf3 Fixed CORE-4984: Ordering by compound index together with a range condition gives wrong results. 2015-10-30 06:08:19 +00:00
firebirds
4abd39b71c nightly update 2015-10-30 00:10:50 +00:00
alexpeshkoff
2e52275a0b Fixed regression cause by fix for CORE-4980: restore creation of generators before privileges - one generator is required to create privileges correctly 2015-10-29 15:17:15 +00:00
dimitr
bbcc9654c3 Generic solution for CORE-4982: Server crashes during "select from procedure" if exception is thrown while backing out the current savepoint. 2015-10-29 11:18:56 +00:00
firebirds
18e351f9ee nightly update 2015-10-28 00:09:12 +00:00
alexpeshkoff
ea49fcaa52 Fixed CORE-4980: Operator REVOKE can modify rights granted to system tables at DB creation time 2015-10-27 16:48:31 +00:00
firebirds
9ce29345fb nightly update 2015-10-27 00:09:59 +00:00
dimitr
769265ee1c Misc. 2015-10-26 10:28:44 +00:00
firebirds
dfcfa1955a nightly update 2015-10-24 00:09:12 +00:00
alexpeshkoff
ff1474f789 Avoid loading same international module many times 2015-10-23 13:09:47 +00:00
robocop
a59f9653e1 I prefer explicit conversions instead of guessing what the compiler did. 2015-10-23 05:27:49 +00:00
robocop
dc5a4fdf24 Misc. 2015-10-23 03:08:47 +00:00
robocop
0b6a34bc51 Misc. 2015-10-23 03:08:22 +00:00
robocop
cfda037428 Misc. 2015-10-23 03:07:52 +00:00
robocop
2ebe9f8c3e I suppose putSInt64 author meant 9 not 5. 2015-10-23 02:48:14 +00:00
firebirds
17d5028082 nightly update 2015-10-23 00:10:04 +00:00
dimitr
b5c3e3503f Fixed regression for bugs.core_2268. 2015-10-22 17:40:49 +00:00
dimitr
4c4cc37fdc Fixed regression in the monitoring code. 2015-10-22 17:15:31 +00:00
firebirds
6469616140 nightly update 2015-10-21 00:10:15 +00:00
dimitr
d395f35235 Misc. 2015-10-20 13:07:53 +00:00
hvlad
2876da872e Fixed delays on disconnect (Classic mode only, seems Windows-specific) 2015-10-19 14:51:10 +00:00
dimitr
6d30068a4c Removed unused method (its calculations are outdated anyway). 2015-10-19 13:37:58 +00:00
dimitr
4e4d8002e5 CORE-4965: Extend the transaction ID space beyond 2^32 transactions. Initially developed in the v2.5 custom branch, then reworked and now merged into v3.0. 2015-10-19 13:32:02 +00:00
firebirds
13e7f62d9a nightly update 2015-10-17 00:09:28 +00:00
firebirds
5ab91b67dd nightly update 2015-10-16 00:09:48 +00:00
firebirds
819fcdf508 nightly update 2015-10-15 00:08:56 +00:00
hvlad
c69db809f3 Fixed race condition when many attachments creates event session at the same moment 2015-10-14 08:31:23 +00:00
firebirds
33e3691294 nightly update 2015-10-14 00:19:51 +00:00
asfernandes
9fbee6b719 Misc. 2015-10-13 02:22:57 +00:00
firebirds
e8b4873db1 nightly update 2015-10-13 00:09:42 +00:00
alexpeshkoff
139331c7e3 Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
firebirds
c777d69bda nightly update 2015-10-12 00:09:07 +00:00
firebirds
ce74e11a82 nightly update 2015-10-10 00:09:34 +00:00
alexpeshkoff
bcf2c0eb10 Implemented CORE-4955: Define a new option for DROP SHADOW command to leave the shadow file in the filesystem 2015-10-09 13:30:45 +00:00
firebirds
587ff7b89a nightly update 2015-10-09 00:09:47 +00:00
hvlad
aa8d717a7d Detect case when DLL unloaded after ExitProcess was called.
In such case all threads are killed by OS thus any synchronization is potentially dangerous and could lead to hung-up.
When this condition is detected all kind of cleanup (including engine shutdown) is skipped.
It fixed CORE-4938 and similar issues.
2015-10-08 07:41:16 +00:00
firebirds
2f7435f76a nightly update 2015-10-08 00:10:19 +00:00
asfernandes
96e6676163 Fixed CORE-4954 - The package procedure with value by default isn't called if this parameter isn't specified. 2015-10-07 18:24:36 +00:00
firebirds
b43f9d3cbb nightly update 2015-10-07 00:09:47 +00:00
dimitr
c0c083e423 Fixed setting RDB$PACKAGE_BODY_SOURCE to NULL. 2015-10-06 12:10:44 +00:00
dimitr
2a1d6e246a Use simpler solution for CORE-4928. Let's not open new gates for direct table modifications. 2015-10-06 10:58:56 +00:00
hvlad
b7faf29697 Removed unused mutex.
Fixed tiny memory leak.
2015-10-06 10:27:10 +00:00
firebirds
f7b8139846 nightly update 2015-10-06 00:08:01 +00:00
asfernandes
224025ff7d Misc. 2015-10-05 01:25:39 +00:00
firebirds
09dd98ff56 nightly update 2015-10-04 00:09:35 +00:00
hvlad
79e9404d50 Fixed bug CORE-4952 : SuperServer could hung on database shutdown 2015-10-03 13:07:17 +00:00
firebirds
82bf3591d7 nightly update 2015-10-03 00:09:53 +00:00
asfernandes
9769499937 Fixed CORE-4950 - Statistics for any system index can not be updated/recalculated. 2015-10-02 17:30:09 +00:00
firebirds
4aaec01eb4 nightly update 2015-10-01 00:08:34 +00:00
firebirds
e60da17ece nightly update 2015-09-30 00:09:09 +00:00
hvlad
dd0a2ddd4d More checks for b-tree page overflow during inset of new node.
Special care is taken to generate split point so that both new pages do not exceed the page_size.
Handle case when index key is added and split is propagated up to top-level page and former top-level page is a split by concurrent thread meanwhile.
Bugcheck when b-tree level become greater than MAX_LEVEL (16 currently) is replaced by isc_imp_exc error.
Validation code (aka gfix) now check correctness of level assigned to b-tree page (all pages at level should have same value and value should be decremented by one at each level down).
It should fix bug CORE-4914 and related issues.
2015-09-29 10:04:48 +00:00
firebirds
7443019a16 nightly update 2015-09-29 00:09:05 +00:00
paulbeach
bf07d4cf11 Fix an irritating warning when building packages 2015-09-28 13:26:54 +00:00
firebirds
10a82bb802 nightly update 2015-09-28 00:08:43 +00:00
asfernandes
ecdc6ea8c6 Misc. 2015-09-27 20:02:43 +00:00
firebirds
c4b2fbae61 nightly update 2015-09-25 00:08:36 +00:00
asfernandes
78f14027d6 Fixed CORE-4943 - Dialect 1 casting date to string breaks when in the presence a domain with a check constraint. 2015-09-24 16:19:18 +00:00
firebirds
562d5d9052 nightly update 2015-09-23 00:09:17 +00:00
hvlad
0ebb4a1891 Protect dbb_pc_transactions vector in concurrent environment. 2015-09-22 10:17:38 +00:00
robocop
a1349d3b44 Misc. 2015-09-22 06:00:39 +00:00
firebirds
e934f55d0a nightly update 2015-09-22 00:09:35 +00:00
firebirds
552b9be23b nightly update 2015-09-21 00:09:04 +00:00
firebirds
648e1a298f nightly update 2015-09-19 00:09:26 +00:00
firebirds
d7e956f247 nightly update 2015-09-18 00:08:27 +00:00
firebirds
54ea53d431 nightly update 2015-09-17 00:09:04 +00:00
hvlad
f7e248ca63 Improvement CORE-4935 : Increase performance of backout of dead record version (or undo of just created primary record version) when backversions chain is too long
Improvement CORE-4936 : Reduce internal contention in background garbage collector
Other small improvements: 
- garbage collector\sweep now skip record header if transaction is below OIT - it allows to reduce number of page fetches
- missed points to gather RECORD_FRAGMENT_READS and RECORD_BACKVERSION_READS statistics
2015-09-16 21:16:13 +00:00
firebirds
5df109189d nightly update 2015-09-16 00:08:56 +00:00
firebirds
cf291b490b nightly update 2015-09-12 00:09:04 +00:00
dimitr
125a332861 Fixed CORE-4909 re. sort/merge joins. 2015-09-11 09:57:10 +00:00
firebirds
050cffdea3 nightly update 2015-09-11 00:09:27 +00:00
asfernandes
10d3c38b68 Fixed CORE-4928 - It is not possible to save the connection information in the ON CONNECT trigger, if the connection is created by the gbak. 2015-09-10 17:06:47 +00:00
alexpeshkoff
e64c5102f1 Postfix for CORE-4897: avoid problems with clients not understanding "data not ready" state (like IBE) 2015-09-10 14:03:35 +00:00
firebirds
16f8ff9856 nightly update 2015-09-10 00:08:19 +00:00
firebirds
f65803f35d nightly update 2015-09-07 00:09:12 +00:00
asfernandes
a6cb8cc02a Avoid code duplication. 2015-09-06 19:00:02 +00:00
asfernandes
e3946cf189 Misc. 2015-09-06 18:52:59 +00:00
firebirds
c8ac73fd3b nightly update 2015-09-05 00:09:42 +00:00
dimitr
63ec76a676 Removed incorrect assertion (CORE-4902). 2015-09-04 21:14:28 +00:00
firebirds
cf94ca3e74 nightly update 2015-09-04 00:09:15 +00:00
hvlad
00d91aa91a Postfix for CORE-4904 2015-09-03 21:14:27 +00:00
firebirds
fd084798a0 nightly update 2015-09-03 00:09:38 +00:00
asfernandes
64f82e1682 Improvement CORE-4923 - Add ability to track domains rename in DDL triggers. 2015-09-02 16:24:31 +00:00
firebirds
e40817b59d nightly update 2015-09-02 00:09:46 +00:00
dimitr
b0630cb0d3 Fixed CORE-4921: Predicate IS [NOT] DISTINCT FROM is not pushed into unions/aggregates thus causing sub-optimal plans. 2015-09-01 20:51:30 +00:00
asfernandes
ce80938834 Fixed possible similar problems to CORE-4497. 2015-09-01 15:55:10 +00:00
dimitr
f8726cc1e4 Ugly fix for MS compilers. 2015-09-01 10:50:33 +00:00
dimitr
6f7185ec14 Core support for 32KB page size. Disabled so far. 2015-09-01 07:33:36 +00:00
dimitr
02120b05d1 Put some order to the page size macros and their usage. Changed the default page size to 8KB. 2015-09-01 07:24:10 +00:00
firebirds
8f4304fcbb nightly update 2015-09-01 00:08:04 +00:00
dimitr
fe24642bc2 Fixed invariants handling in independent subqueries (seems to be related to CORE-4497). 2015-08-31 15:11:06 +00:00
firebirds
49abb07117 nightly update 2015-08-29 00:09:15 +00:00
asfernandes
bdb050aa0e Fixed blr print for blr_pid2. 2015-08-28 15:59:41 +00:00
firebirds
0977bad41b nightly update 2015-08-26 00:10:45 +00:00
asfernandes
35397f8c05 Fixed CORE-4870 - SET COUNT ON: issuing UPDATE on view which was created WITH CHECK OPTION produces wrong number of affected rows (doubled ?). 2015-08-25 15:22:40 +00:00