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

35162 Commits

Author SHA1 Message Date
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
firebirds
b543944d93 nightly update 2015-08-22 00:08:42 +00:00
firebirds
a6d6811b7b nightly update 2015-08-21 00:08:57 +00:00
dimitr
fce30a63fa Fixed the hash function (broken since the very beginning). 2015-08-20 11:23:48 +00:00
firebirds
6dcb3d5258 nightly update 2015-08-20 00:08:59 +00:00
firebirds
65f225e65a nightly update 2015-08-19 00:09:32 +00:00
alexpeshkoff
ef78fedd46 Fixed CORE-4899: GFIX -online: message "IProvider::attachDatabase failed when loading mapping cache" appears in Classic (only) if access uses remote protocol 2015-08-18 15:04:04 +00:00
dimitr
606d459a63 Totally misc. 2015-08-18 10:00:52 +00:00
firebirds
87fe254d2d nightly update 2015-08-17 00:08:28 +00:00
dimitr
6131cf1216 Fixed the hash-join part of CORE-4909: MERGE / HASH JOINs produce incorrect results when VARCHAR join keys differ only by trailing spaces. 2015-08-16 15:47:30 +00:00
asfernandes
6cc8feaf64 Misc. 2015-08-16 13:53:57 +00:00
firebirds
0d048d3ad5 nightly update 2015-08-15 00:08:50 +00:00
alexpeshkoff
69cc0b7473 Fixed CORE-4897: FBSVCMGR can produce broken log when restoring database 2015-08-14 14:41:05 +00:00
firebirds
3a8ce3873f nightly update 2015-08-14 00:09:10 +00:00
robocop
4037576b9e Misc. 2015-08-13 04:09:55 +00:00
firebirds
e281b1dc02 nightly update 2015-08-13 00:07:54 +00:00
hvlad
363c0fae9b Fixed bug CORE-4889 : FBSVCMGR with action_trace_start prevents in 3.0 SuperServer from connecting using local protocol 2015-08-12 08:58:41 +00:00
firebirds
c941a3fab5 nightly update 2015-08-12 00:08:57 +00:00
firebirds
e440313a8b nightly update 2015-08-10 14:20:55 +00:00
hvlad
a59b64d610 Fixed bug CORE-4904 : Index corruption when add data in long-key-indexed field 2015-08-09 20:57:19 +00:00
hvlad
affce3a0a9 Misc 2015-08-06 11:49:07 +00:00
asfernandes
9446f81cdb Improvement CORE-4898 - Speed up function creation and loading when there are many functions in the database. 2015-08-03 01:41:34 +00:00
asfernandes
c272477a97 Improvement CORE-4880 - Increase speed of creating package when number of its functions more than several hundreds. 2015-08-03 01:27:37 +00:00
hvlad
2b401cbbb8 1. I see no reason to use explicit constructor in this case. More, it breaks build.
2. One more paranoid check by Claudio :)
2015-08-02 19:00:21 +00:00
asfernandes
abde3b2cad Misc. 2015-08-02 15:51:01 +00:00
robocop
6684adf32e Misc. 2015-08-02 03:10:02 +00:00
dimitr
c4173d6968 Manual update: changelog + buildno. 2015-07-30 09:50:18 +00:00
asfernandes
67e92f8872 Fixed CORE-4881 - Increase maximum string literal length to 64K (bytes) while setting a lower limit (of characters) for multibyte charsets based on their max char. length (UTF-8 literals will be limited to 16383 characters). 2015-07-27 01:06:51 +00:00
hvlad
b77bf19e3b Implement improvement CORE-1999 : TimeStamp in the every line output gbak.exe utility
Minor fixes in service manager.
Thanks to Alex for help.
Documentation will follow.
2015-07-26 20:49:15 +00:00
hvlad
c55381f9cd Change validation code to avoid recursive latches (as it is not supported in fb3 cch). 2015-07-26 19:56:40 +00:00
alexpeshkoff
be3823bc92 Fixed an issue with missing auth source info when using trusted auth 2015-07-26 18:23:50 +00:00
alexpeshkoff
6608009f80 Minor enhancement - show that build is DEV in "show version" 2015-07-26 18:22:10 +00:00
alexpeshkoff
9816b9257a Fixed CORE-4879: Minor inconvenience in user management via services API - fixed order of parameters in SPB required 2015-07-26 18:13:04 +00:00
asfernandes
886935cd5f On behalf of robocop after sourceforge crash - Misc. 2015-07-26 15:36:05 +00:00
asfernandes
77f6054821 On behalf of alexpeshkoff after sourceforge crash - Postfix for CORE-4811: fix handling case for OS names 2015-07-26 15:35:52 +00:00
hvlad
48645308b9 Correction 2015-07-15 11:10:22 +00:00
firebirds
26766feaf2 nightly update 2015-07-15 00:08:44 +00:00
dimitr
4929f46714 Fixed CORE-4710: invalid request BLR at offset 361 context already in use (BLR error). 2015-07-14 17:10:26 +00:00
firebirds
2ebf34ae10 nightly update 2015-07-14 00:09:42 +00:00
firebirds
40410101e9 nightly update 2015-07-13 00:09:06 +00:00
asfernandes
4a4e85e29a Fixed CORE-4279 - Invalid error message: "CHARACTER SET OCTETS is not defined" on db creation with isc_dpb_lc_ctype = OCTETS. 2015-07-12 21:16:33 +00:00
asfernandes
e973c86bc6 Misc. 2015-07-12 20:10:49 +00:00
dimitr
7f12f4ef9c Fixed CORE-4107: wrong resultset (subquery + derived table + union). 2015-07-12 17:54:11 +00:00
firebirds
88bffd49dd nightly update 2015-07-11 00:09:22 +00:00
asfernandes
1f6811a99c Fixed CORE-4277 - Can create database with invalid character set. 2015-07-10 16:19:53 +00:00
alexpeshkoff
e420019cd4 Fixed CORE-4871: Merge SharedDatabase/SharedCache into single parameter ServerMode, affecting the way how server is started 2015-07-10 13:41:10 +00:00
firebirds
6336db9a8f nightly update 2015-07-10 00:08:36 +00:00
alexpeshkoff
fb326c8593 Explanation why this check is needed in both FB3 & 2.5 see in CORE-4869 2015-07-09 17:32:42 +00:00
firebirds
f6a446040c nightly update 2015-07-09 00:09:43 +00:00
hvlad
2324f10e76 Fixed bug CORE-4865 : Online validation could wrongly report double allocated pages 2015-07-08 09:56:04 +00:00
firebirds
57fe0c5e35 nightly update 2015-07-08 00:09:40 +00:00
firebirds
0b15c412fa nightly update 2015-07-07 00:10:23 +00:00
firebirds
cda2fa891f nightly update 2015-07-06 00:15:01 +00:00
hvlad
0333c9c2bb Fixed bug CORE-4855 : Online validation during DML activity in other connection leads to message "Error while trying to read from file" and "page in use during flush (210), file: cch.cpp line: 2672" 2015-07-05 22:03:09 +00:00
alexpeshkoff
219077f0b4 Fixed CORE-4861: Segfault when working with saved exception in request 2015-07-05 11:40:22 +00:00
hvlad
22d149c786 Fixed bug CORE-4860 : Online validation fails on WINDOWS if dbname argument contains forward slash ('/') and concurrent attachment which also uses '/' exists. 2015-07-05 10:36:09 +00:00