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

35699 Commits

Author SHA1 Message Date
dimitr
fb7f56077c Misc. 2015-11-20 08:47:15 +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
asfernandes
85cae875bf Misc. 2015-11-18 01:10:08 +00:00
firebirds
bd795e29e7 nightly update 2015-11-18 00:10:08 +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
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
firebirds
2063091aec nightly update 2015-11-14 00:10:02 +00:00
firebirds
3e31e873f4 nightly update 2015-11-13 00:08:52 +00:00
firebirds
1058556c16 nightly update 2015-11-12 00:09:07 +00:00
aafemt
537209b64a A little comment 2015-11-11 16:14:39 +00:00
alexpeshkoff
ea5a949d1a Fixed CORE-4991: Key holder plugin is loaded on connect to database but not on create 2015-11-11 13:53:04 +00:00
firebirds
23bd54fb34 nightly update 2015-11-11 00:12:42 +00:00
alexpeshkoff
7ed55fbe8f Fixed CORE-4990: Database is not decrypted completely 2015-11-10 15:54:02 +00:00
asfernandes
f7257bfa1a Pass MessageMetadata with offsets to external routines make* methods. 2015-11-10 14:47:57 +00:00
firebirds
a755a4862f nightly update 2015-11-10 00:09:21 +00:00
hvlad
64e8e94c24 Correct check for maximum index depth 2015-11-09 21:39:50 +00:00
alexpeshkoff
ee96e00cb5 Fixed CORE-4999: Deadlock when trying to access database with invalid crypt key 2015-11-09 15:10:44 +00:00
firebirds
226166bd38 nightly update 2015-11-09 00:09:53 +00:00
firebirds
1cffbd5f5a nightly update 2015-11-07 00:10:03 +00:00
alexpeshkoff
3434d0aeee Fixed CORE-4969: SEC$USERS table is unavailable in case of any error in any configured user manager plugin 2015-11-06 17:10:27 +00:00
firebirds
6e8d27479f nightly update 2015-11-06 00:09:19 +00:00
firebirds
239dc5195c nightly update 2015-11-05 00:09:18 +00:00
hvlad
58248822af Removed unneeded assert, correct code a bit as Dmitry suggested 2015-11-04 07:23:58 +00:00
dimitr
647bad2d61 Fixed attachment lock usage. Minimized chances for races during database shutdown. 2015-11-04 06:06:26 +00:00
firebirds
ca02915999 nightly update 2015-11-04 00:10:22 +00:00
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
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
firebirds
1950dfe432 nightly update 2015-07-04 00:12:04 +00:00
hvlad
4751f3a33c Wrong check, thanks to Claudio 2015-07-03 08:05:18 +00:00
firebirds
b681202ffc nightly update 2015-07-03 00:09:33 +00:00
firebirds
f09496df41 nightly update 2015-07-02 00:10:35 +00:00
robocop
6bdf1cd849 Misc. 2015-07-01 01:49:09 +00:00
firebirds
41f2090cb9 nightly update 2015-07-01 00:09:45 +00:00
alexpeshkoff
b692e85f56 Implemented CORE-4851: Apply methods, used for cross security database authentication, to the trace 2015-06-30 16:01:10 +00:00
firebirds
5a9ae4a65b nightly update 2015-06-30 00:09:14 +00:00
asfernandes
ae30b29011 Misc. 2015-06-29 01:02:52 +00:00
firebirds
eedd10643b nightly update 2015-06-27 00:09:16 +00:00
alexpeshkoff
1eda2271ac Front-ported HPUX changes 2015-06-26 13:39:12 +00:00
firebirds
47e7c95c8c nightly update 2015-06-26 00:09:24 +00:00
firebirds
e0db98c525 nightly update 2015-06-24 00:09:27 +00:00
firebirds
e5e99fa614 nightly update 2015-06-23 00:09:01 +00:00
firebirds
c5657990b7 nightly update 2015-06-22 00:08:59 +00:00
asfernandes
c8e7c92f69 Postfix for CORE-4740 - SIMILAR TO with quantifier {n,} in the pattern: 1) fails on 2.5 ("Invalid pattern"), 2) strange result in 3.0. 2015-06-21 15:53:53 +00:00
firebirds
270c21feb2 nightly update 2015-06-20 00:09:39 +00:00
alexpeshkoff
5c6309ecd3 Fixed gcc build 2015-06-19 13:55:27 +00:00
hvlad
2e78b5a7e0 Feature CORE-4707 : Implement ability to validate tables and indices online 2015-06-19 12:07:41 +00:00
alexpeshkoff
f1946281ca Always display SYSDBA as sec$admin (yes, he is really always admin) 2015-06-19 10:10:37 +00:00
firebirds
995e2061cb nightly update 2015-06-19 00:09:14 +00:00
firebirds
4758c801a8 nightly update 2015-06-17 00:10:15 +00:00
firebirds
9f4a3b4ff9 nightly update 2015-06-16 00:09:30 +00:00
firebirds
d547fde4a8 nightly update 2015-06-15 00:10:54 +00:00
firebirds
2d8c4b2765 nightly update 2015-06-14 00:09:49 +00:00
firebirds
4bc31ff59b nightly update 2015-06-13 00:10:03 +00:00
firebirds
6761de43b6 nightly update 2015-06-12 00:11:09 +00:00
firebirds
fa4e0f092a nightly update 2015-06-11 00:10:28 +00:00
firebirds
0bc2956734 nightly update 2015-06-10 00:10:13 +00:00
alexpeshkoff
58bba21ed2 Fixed CORE-4802: GRANT UPDATE(<some_column>) on <T> acts like grant update on ALL columns of <T> 2015-06-09 13:18:27 +00:00
firebirds
e3634b455a nightly update 2015-06-09 00:11:31 +00:00
firebirds
fdf7b9ecbe nightly update 2015-06-08 00:09:20 +00:00
asfernandes
1b7f77bc2a Fixed CORE-4807 - Regression: List of aggregation is not checked properly. 2015-06-07 23:41:57 +00:00
mapopa
1217895f82 USE_QSORT_CTX on Debian/kFreeBSD If qsort_r is available, use it on all platforms. Use the platform-specific
code otherwise. Patch https://anonscm.debian.org/cgit/pkg-firebird/3.0.git/commit/?id=feac4328eb7a300c59fbb57c05618d710c9981d2
2015-06-07 18:34:47 +00:00
firebirds
674c9f925b nightly update 2015-06-06 00:13:30 +00:00
asfernandes
f9bc6e1736 Add code to print the parser/executable tree to XML for debugging purposes. 2015-06-05 18:26:36 +00:00
firebirds
e496408878 nightly update 2015-06-05 00:11:04 +00:00
alexpeshkoff
5dff2e4fc0 Fixed CORE-4821: ensure CREATE DATABASE right is granted only to roles that do exist in security database 2015-06-04 13:43:09 +00:00
alexpeshkoff
6cf0445c56 Fixed extremely rare segfault when shutting down server - no use in keeping security database(s) opened during shutdown 2015-06-04 12:07:10 +00:00
firebirds
e3c76baae9 nightly update 2015-06-04 00:10:45 +00:00
alexpeshkoff
1b6632ac8b Fixed CORE-4811: Make user names behave according to SQL identifiers rules 2015-06-03 13:57:18 +00:00
firebirds
ebdf793154 nightly update 2015-06-03 00:10:38 +00:00
dimitr
8744b80766 1) Reverted a more complex refetch logic introduced recently to its original state.
2) Protected against an undo record being used in VIO modify/erase/writelock routines.
3) Avoided false deadlocks in read-committed transactions.
This should cure CORE-4369, CORE-4561 and CORE-4618 at once.
2015-06-02 10:43:16 +00:00
firebirds
22ac9d5187 nightly update 2015-06-01 00:10:45 +00:00
asfernandes
d58f343b2f Misc. 2015-05-31 23:38:17 +00:00
dimitr
70f16f1c9c Fixed CORE-4798: Regression: MIN/MAX with a join ignores possible index navigation. 2015-05-31 19:23:09 +00:00
dimitr
f58768ab3d Fixed CORE-4806: Regression: generators can be seen/modified by unprivileged users. 2015-05-31 18:46:29 +00:00
dimitr
14ba585c0e Fixed CORE-214: Count ( DISTINCT ... ) is too slow. 2015-05-31 16:14:48 +00:00
dimitr
b4a6d4726d Postfix for CORE-4786: Problematic key value (when attempt to insert duplicate in PK/UK) is not shown where length of key >= 127 characters. 2015-05-31 13:15:55 +00:00
firebirds
6db75261f1 nightly update 2015-05-31 00:09:46 +00:00
firebirds
67f1b82b0d nightly update 2015-05-29 00:09:54 +00:00
firebirds
372242e865 nightly update 2015-05-21 00:10:15 +00:00
asfernandes
003be8071e Fixed CORE-4740 - SIMILAR TO with quantifier {n,} in the pattern: 1) fails on 2.5 ("Invalid pattern"), 2) strange result in 3.0. 2015-05-20 15:27:02 +00:00
alexpeshkoff
364995fb88 Fixed code disabling access to network filenames in embedded mode 2015-05-20 13:07:06 +00:00
firebirds
90cb9dd29a nightly update 2015-05-19 00:10:50 +00:00
firebirds
eb53fc3b1f nightly update 2015-05-18 00:10:34 +00:00
asfernandes
a2b2d63d51 Postfix for CORE-4789 - Prohibit ability to cast timestamps that out of valid range to varchar. 2015-05-17 02:22:09 +00:00
firebirds
5c1d9aaa4a nightly update 2015-05-16 00:09:59 +00:00
firebirds
db833d3a63 nightly update 2015-05-15 00:10:02 +00:00
firebirds
e63887f720 nightly update 2015-05-14 00:10:09 +00:00
asfernandes
2e932a517e Fixed CORE-4789 - Prohibit ability to cast timestamps that out of valid range to varchar. 2015-05-13 15:19:26 +00:00
firebirds
b87d5a00ee nightly update 2015-05-13 00:09:35 +00:00
firebirds
e249c77675 nightly update 2015-05-12 00:10:20 +00:00
firebirds
a3d3a08a6c nightly update 2015-05-11 00:09:16 +00:00
hvlad
feea0f7924 Fixed few stability issues with EDS related with cases when external connection is broken unexpectedly. 2015-05-10 20:46:17 +00:00
firebirds
ef2d27b10c nightly update 2015-05-09 00:10:37 +00:00
dimitr
5d5c47371a Fixed CORE-4786: Problematic key value (when attempt to insert duplicate in PK/UK) is not shown where length of key >= 127 characters. 2015-05-08 16:46:52 +00:00
firebirds
8a9d9519d6 nightly update 2015-05-07 00:11:53 +00:00
firebirds
b03c9f09cd nightly update 2015-05-06 00:12:15 +00:00
firebirds
46b9f1c04f nightly update 2015-05-05 00:11:36 +00:00
firebirds
3c762acdc3 nightly update 2015-05-04 00:12:34 +00:00
robocop
5f20e61723 Var shadowing. 2015-05-03 06:20:34 +00:00
firebirds
abe9755e1f nightly update 2015-05-03 00:11:18 +00:00
asfernandes
adf1fd737d Misc. 2015-05-02 03:54:03 +00:00
firebirds
08def8eaef nightly update 2015-05-01 00:10:20 +00:00
firebirds
c0502c61bd nightly update 2015-04-30 00:09:45 +00:00
firebirds
d25af9b013 nightly update 2015-04-28 00:26:44 +00:00
alexpeshkoff
164e2cbcba Check for source nullifying a bit more accurate 2015-04-27 13:15:44 +00:00
robocop
a9dfddf495 Misc. 2015-04-27 04:44:59 +00:00
firebirds
0ab7fb5242 nightly update 2015-04-25 00:16:24 +00:00
alexpeshkoff
7c4f302f72 rolled back accidentially committed debug code 2015-04-24 17:48:48 +00:00
alexpeshkoff
852c4366b2 Make it possible for DBA only to NULLify sources 2015-04-24 17:47:29 +00:00
alexpeshkoff
d284fa3c6a Fixed CORE-4768: CREATE USER ... TAGS ( argument_1 = 'value1', ..., argument_N = 'valueN' ) - wrong results of statement when there are many arguments 2015-04-24 13:07:40 +00:00
firebirds
faf66aa2cb nightly update 2015-04-23 00:17:11 +00:00
alexpeshkoff
a56062a7b7 Fixed CORE-4767: CREATE USER ... TAGS ( attr = "prefix #suffix" ): "suffix" will be removed from storage because of character # in the value of attribute 2015-04-22 17:02:19 +00:00
hvlad
1301cf964f Fixed bug CORE-4766 : AV when trying to manage users list using EXECUTE STATEMENT on behalf of non-sysdba user which has RDB$ADMIN role 2015-04-22 11:03:14 +00:00
firebirds
0cf3cb8367 nightly update 2015-04-22 00:17:57 +00:00
asfernandes
ed36387e0b Misc. 2015-04-21 19:26:27 +00:00
asfernandes
1fdf3644c5 Fixed CORE-4752 - EXECUTE STATEMENT using BLOB parameters results in "Invalid BLOB ID" error. 2015-04-21 19:26:09 +00:00
hvlad
12d08e7178 Fixed bug CORE-4759 : request synchronization error when build expression index. 2015-04-21 10:39:13 +00:00
firebirds
e0a4131e70 nightly update 2015-04-21 00:10:23 +00:00
alexpeshkoff
30414ee562 Disabled use of system tables in foreign key constraints 2015-04-20 17:04:42 +00:00
alexpeshkoff
1a9830ebd6 Do not let SYSDBA modify structure of system tables 2015-04-20 15:07:14 +00:00
alexpeshkoff
512f0d944e Write-protect one more system relation 2015-04-20 11:42:17 +00:00
hvlad
5186bff658 Fixed bug CORE-4754 : Manipulations with GTT from several attachments (using ES/EDS and different roles) leads to: "internal Firebird consistency check (invalid SEND request (167), file: JrdStatement.cpp line: 325)" 2015-04-20 09:36:29 +00:00
firebirds
fd5aec59d8 nightly update 2015-04-18 23:59:02 +00:00
firebirds
d73bfd4a5f nightly update 2015-04-18 11:48:09 +00:00
alexpeshkoff
bab9ce6e47 Fixed CORE-4743: Granted role does not work with non-ascii username 2015-04-17 18:35:39 +00:00
hvlad
b008023ab6 Exceptions in getTransactionInterface() should be catched and traced too 2015-04-17 13:27:01 +00:00
firebirds
85b30975ef nightly update 2015-04-17 12:47:59 +00:00
firebirds
c709599a85 nightly update 2015-04-16 14:03:10 +00:00
alexpeshkoff
0afc4289de Postfix for CORE-4731 2015-04-16 11:58:19 +00:00
robocop
addd67c018 Misc. 2015-04-15 17:38:33 +00:00
hvlad
8edeb97d5f Fixed bug CORE-4747 : Error "invalid BLOB ID" can occur when retrieving MON$STATEMENTS.MON$SQL_TEXT using ES/EDS and db_connect argument is not specified 2015-04-15 16:59:33 +00:00
asfernandes
23c8c928c7 More fixes for CORE-1605 - Bugcheck 232 (invalid operation) for an aggregated query. 2015-04-15 16:10:14 +00:00
firebirds
69cad24f7b nightly update 2015-04-15 14:54:19 +00:00
alexpeshkoff
18c902de46 Fixed CORE-4715: Restore of shadowed database fails using -k ("restore without shadow") switch 2015-04-15 14:01:24 +00:00
alexpeshkoff
d42402d0b9 Fixed CORE-4731: Prohibit an ability to issue DML or DDL statements on RDB$ tables 2015-04-15 13:19:18 +00:00
firebirds
32535885cc nightly update 2015-04-14 15:56:57 +00:00
asfernandes
5109af2436 Fixed CORE-4725 - Inconsistencies with ALTER DOMAIN and ALTER TABLE with DROP NOT NULL and PRIMARY KEYs; Fixed some others problems with trailing spaces in object names in error messages. 2015-04-13 18:35:46 +00:00
firebirds
d7d7f3670c nightly update 2015-04-13 17:02:22 +00:00
firebirds
505288bc78 nightly update 2015-04-11 18:58:34 +00:00
firebirds
80fcd01821 nightly update 2015-04-08 22:06:56 +00:00
firebirds
6c58923f24 nightly update 2015-04-07 23:07:16 +00:00
firebirds
2b3ef62256 nightly update 2015-04-07 00:09:05 +00:00
asfernandes
b363356223 Fixed CORE-4738 - Command "Alter table <T> alter <C> type <domain_>" does not work: "BLR syntax error: expected valid BLR code at offset 15, encountered 255" - regression introduced with CORE-4733. 2015-04-06 23:21:25 +00:00
firebirds
19e5f3c0d1 nightly update 2015-04-06 00:13:06 +00:00
asfernandes
2828aee4ab Fixed CORE-4733 - Command "Alter table <T> alter TYPE <C> <DOMAIN_WITH_NOT_NULL" does not verifies data in column <C> and makes incorrect assignments in <C> to ZERO / JULIAN_DATE / ASCII(0) for types INT, TIMESTAMP and VARCHAR. 2015-04-05 02:24:40 +00:00
asfernandes
b50abdb04c Optimize check of column NULLs when changing field or domain to NOT NULL. 2015-04-05 02:24:26 +00:00
firebirds
f81d0aab14 nightly update 2015-04-04 00:13:08 +00:00
asfernandes
a1a745b942 Fixed (again) CORE-3373 - It is possible to store string with lenght 31 chars into column varchar(25). 2015-04-03 01:31:15 +00:00
firebirds
c4dcc1cf92 nightly update 2015-04-03 00:14:05 +00:00
firebirds
2a0db82304 nightly update 2015-04-02 00:14:14 +00:00
alexpeshkoff
f96129ceef Fixes assertion in DFW, caused by uninitialized descriptor 2015-04-01 15:10:06 +00:00
firebirds
dcdf641454 nightly update 2015-04-01 00:14:05 +00:00
alexpeshkoff
5c9eb6d8a3 Fixed CORE-4729: Add a flag to mon$database helping to decide what type of security database is used - default, self or other 2015-03-31 17:22:04 +00:00
firebirds
a914b27fe1 nightly update 2015-03-31 00:14:42 +00:00
egorpugin
03580b29d6 [build] Fix duplicate symbol error on AppleClang while building for iOS. 2015-03-30 14:35:30 +00:00
firebirds
f5ec22524d nightly update 2015-03-30 00:11:49 +00:00
firebirds
e525cde245 nightly update 2015-03-29 00:13:03 +00:00
asfernandes
336456d140 Misc. 2015-03-28 00:36:04 +00:00
firebirds
7646fc6ca3 nightly update 2015-03-28 00:14:56 +00:00
alexpeshkoff
16768b177d Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry 2015-03-27 17:51:19 +00:00
hvlad
aeeca2812f Fixed Windows build 2015-03-27 15:41:36 +00:00
alexpeshkoff
e7663b6bc0 Use status interface instead plain status vector when working with exceptions.
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
firebirds
62520cc84c nightly update 2015-03-26 00:13:01 +00:00
asfernandes
43977cc4bf Rework new aggregate functions so that they use the single blr_agg_function BLR verb. 2015-03-25 17:52:14 +00:00
asfernandes
4554ee24f5 Feature CORE-4722 - Aggregate linear regression functions. 2015-03-25 17:51:54 +00:00
firebirds
11fedd72e7 nightly update 2015-03-25 00:12:42 +00:00
robocop
7873b1f983 Misc. 2015-03-24 01:30:20 +00:00
firebirds
90637ee69c nightly update 2015-03-24 00:12:40 +00:00
alexpeshkoff
6c5f9b77fe Cleanup - avoid automatic type conversion in FbLocalStatus as suggested by Claudio 2015-03-23 11:06:51 +00:00
asfernandes
64d146a06f Feature CORE-4717 - Aggregate statistical functions COVAR_SAMP, COVAR_POP and CORR - contributed by Hajime Nakagami. 2015-03-23 02:55:42 +00:00
firebirds
8d1cbc7e32 nightly update 2015-03-23 00:12:39 +00:00
hvlad
91c1108608 Fixed Windows build 2015-03-22 22:43:12 +00:00
robocop
e3ec63de41 Misc. 2015-03-22 00:23:40 +00:00
firebirds
8da3391a44 nightly update 2015-03-22 00:12:30 +00:00
asfernandes
b7b3fe4718 Corrections. 2015-03-21 18:38:48 +00:00
firebirds
4e13ccec3a nightly update 2015-03-21 00:15:33 +00:00
alexpeshkoff
c4c9daf132 Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods. 2015-03-20 18:02:30 +00:00
firebirds
91e8bc68cc nightly update 2015-03-20 00:14:26 +00:00
firebirds
57ab9f9c27 nightly update 2015-03-19 00:14:37 +00:00
asfernandes
2bd863a353 Feature CORE-4714 - Aggregate statistical functions stddev_pop, stddev_samp, var_pop and var_samp - contributed by Hajime Nakagami. 2015-03-18 21:38:52 +00:00
hvlad
1332ff27ac Fixed bug CORE-4713 : "BLOB not found" error at rollback after insert into table with expression index 2015-03-18 17:26:56 +00:00
firebirds
408d6c17ad nightly update 2015-03-18 00:13:22 +00:00
asfernandes
bd1094a671 Misc. 2015-03-17 21:44:55 +00:00
firebirds
cd23b15baa nightly update 2015-03-14 00:17:00 +00:00
robocop
ce1233b10c rdb$system_flag is not nullable in FB3. 2015-03-13 15:31:14 +00:00
robocop
746d47f4f2 Misc. 2015-03-13 15:30:23 +00:00
robocop
939feab036 Misc. 2015-03-13 15:26:22 +00:00
dimitr
51a6b75a9a Cleanup. 2015-03-13 12:07:40 +00:00
firebirds
514251a7f6 nightly update 2015-03-13 00:13:34 +00:00
firebirds
474f691dfc nightly update 2015-03-12 00:12:59 +00:00
alexpeshkoff
90c01a246e Fixed role's case handling when checking grant for create database - thanks to Claudio 2015-03-11 13:39:58 +00:00
firebirds
2deead60db nightly update 2015-03-11 00:12:03 +00:00
alexpeshkoff
a6d28f7ee1 Postfix for CORE-4571: avoid processing same index more than once when it has segments with different charsets 2015-03-10 13:48:46 +00:00
firebirds
1dc277fb4a nightly update 2015-03-09 00:12:29 +00:00
firebirds
d08f1d0dc1 nightly update 2015-03-07 00:13:20 +00:00
dimitr
d2db1a782e Fixed a possible reason for CORE-4705. Alex, please review. 2015-03-06 20:43:57 +00:00
dimitr
a14e993fbe Fixed inconsistency between unique vs non-unique retrievals (see CORE-4702). 2015-03-06 14:04:07 +00:00
dimitr
12da25ce6d Minor adjustments to the join order selection. 2015-03-06 10:24:29 +00:00
firebirds
b0711004f0 nightly update 2015-03-06 00:15:52 +00:00
alexpeshkoff
7fed9ff78c cleanup 2015-03-05 16:18:46 +00:00
firebirds
b965096370 nightly update 2015-03-05 00:28:15 +00:00
alexpeshkoff
219c62b46e Full fix for CORE-4698, also fixed some more or less related leaks, segfaults and assertions 2015-03-04 16:18:53 +00:00
hvlad
f4f28619dd Additional patch for CORE-4671 : Release internal temporary blobs early to free some memory\disk space
The patch fixed AV when expression indices with blob-based expression is built (see CORE-952, for example)
2015-03-04 10:37:06 +00:00
firebirds
d48ba53a95 nightly update 2015-02-28 00:13:43 +00:00
firebirds
62d26f6297 nightly update 2015-02-26 00:13:53 +00:00
dimitr
e545a9866c Let's be on the paranoid side when committing. 2015-02-25 20:35:09 +00:00
alexpeshkoff
4b08cccbf0 Dynamic buffer for status vector and dynamic strings in IStatus 2015-02-25 17:03:39 +00:00
firebirds
03ae079498 nightly update 2015-02-25 00:15:29 +00:00
hvlad
291e028ef3 Simplest fix for bug CORE-4698 : typing "add -user SYSDBA -pw masterkey -admin yes" into gsec crashes firebird.exe 2015-02-24 09:15:24 +00:00
firebirds
c636ddcfc6 nightly update 2015-02-24 00:12:34 +00:00
firebirds
b0c9c795d0 nightly update 2015-02-23 00:13:47 +00:00
hvlad
5ca8f757ee Bit more safety 2015-02-22 16:04:50 +00:00
asfernandes
d2ad309c96 Use RefPtr::assignRefNoIncr so we can clearly see the code is not going to crash. 2015-02-22 15:47:21 +00:00
hvlad
d66a37c86a Improvement CORE-4696 : No need to flush dirty pages to disk after creation of temporary table index 2015-02-22 11:17:25 +00:00
hvlad
39a137e913 Use attachment's or relation's pool instead of dbb_permanent where it is more suitable.
It fixed memory leak from dbb_permanent (CORE-4683)
2015-02-22 11:02:49 +00:00
hvlad
1470f7a61e Fixed leak of various J-objects in EXECUTE STATEMENT (CORE-4683) 2015-02-22 10:58:28 +00:00
hvlad
93024a2aa0 Fixed regression in 32-bit builds: transaction numbers in sweep info (both trace event and firebird.log message) printed incorrectly 2015-02-22 10:49:56 +00:00
firebirds
67fe5e8eb0 nightly update 2015-02-21 00:13:36 +00:00
hvlad
44a95e48e6 Fix warning 2015-02-20 15:31:07 +00:00
firebirds
e7a42fe615 nightly update 2015-02-20 00:15:00 +00:00
dimitr
4fd0614875 Misc code simplification. 2015-02-19 19:52:28 +00:00
dimitr
dace560656 Small changes intended to fix SEGV in the release build. 2015-02-19 19:50:22 +00:00
dimitr
2ae888cac2 Protection against exceptions thrown from VIO_verb_cleanup() during commit/rollback. 2015-02-19 15:58:58 +00:00
dimitr
c6f6557d5e Misc. 2015-02-19 15:53:42 +00:00
dimitr
72c154952b Postfix for my big commit. 2015-02-19 14:56:10 +00:00
dimitr
6abc6ae7d1 1) Fixed CORE-4382: User savepoints are not released on commit.
2) Respect the "no-auto-undo" option when retaining a transaction context.
Thanks to Dimitry Sibiryakov.
2015-02-19 14:43:26 +00:00
dimitr
0b56909d92 Misc. 2015-02-19 14:19:52 +00:00
dimitr
6ae3e2cbaf 1) Fixed CORE-4383: Index and BLOBs garbage collection doesn't work for update_in_place().
2) Applied the same approach to temporary GC records.
3) Refactored the Record class to avoid reallocations, to improve encapsulation and to simplify the code.
4) Slightly refactored UndoItem to isolate its logic from the Record class.
5) Reduced the in-memory size of the undo log.
6) Slightly better alternative to the legacy NULL reporting for outer joins.
7) Minor fixes and adjustments in BufferedStream.
2015-02-19 14:15:00 +00:00
dimitr
9872f302be Misc. 2015-02-19 14:06:48 +00:00
firebirds
3884dcca15 nightly update 2015-02-19 00:16:15 +00:00
asfernandes
47f64b0da4 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.

(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
dimitr
3f83c345f3 Misc. 2015-02-18 12:55:06 +00:00
hvlad
24112e118e Attempt to implement thread cleanup for Windows (using DLL entry point).
It is used in dispatcher (fbclient.dll) only for now.
Fixed potential memory leak in StringsBuffer (it was possible to allocate few ThreadBuffer's for the same thread), see CORE-4683.
2015-02-18 12:44:32 +00:00
firebirds
0ca48438d8 nightly update 2015-02-18 00:16:57 +00:00
asfernandes
c861f0cd54 Revert my last change after it broke the Windows build. 2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
alexpeshkoff
f8a9d903e2 Unlink JResultSet from DsqlCursor when cursor is closed due to end of transaction - this fixes AV in tcs/BLOB.0.DSQL 2015-02-17 11:42:50 +00:00
firebirds
f1a5ed749b nightly update 2015-02-17 00:14:17 +00:00
hvlad
79b760b4ac Memory leak (CORE-4683) 2015-02-16 13:57:28 +00:00
hvlad
e21e534e30 Memory leak (CORE-4683) 2015-02-16 13:56:13 +00:00
firebirds
7331474059 nightly update 2015-02-16 00:14:36 +00:00
dimitr
03682a1a8b Misc. 2015-02-15 13:25:54 +00:00
firebirds
f02ca26e3d nightly update 2015-02-15 00:13:01 +00:00
asfernandes
9ece682387 Misc. 2015-02-14 18:55:00 +00:00
firebirds
e280bca0f9 nightly update 2015-02-14 00:13:55 +00:00
firebirds
39fe8eff93 nightly update 2015-02-13 00:14:18 +00:00
firebirds
23d2f24d25 nightly update 2015-02-12 00:15:04 +00:00
asfernandes
e02bf841ad Move Helper class from UDR to the main interface header. Use proper (argh) ref. counting in the ExternalContext::get* methods. 2015-02-11 15:12:18 +00:00
asfernandes
6ab3e382e4 Increase FB_API_VER to 30. 2015-02-11 15:11:54 +00:00
alexpeshkoff
db73652a03 Fixed posix build 2015-02-11 10:19:57 +00:00
dimitr
11a9b5fc36 Change the status handling a little. 2015-02-11 09:20:51 +00:00
hvlad
20bae962d3 Fixed bug CORE-4688 : Recovery after stack overflow exception is not complete 2015-02-10 14:17:23 +00:00
firebirds
2560be77ae nightly update 2015-02-10 00:15:10 +00:00
alexpeshkoff
9a7c7a6c31 Fixed CORE-4685: Accessing DB in invalid manner when links (hard or symbolic) are used for it 2015-02-09 14:08:31 +00:00
firebirds
23ec9f7118 nightly update 2015-02-08 00:20:44 +00:00
firebirds
9d2699650c nightly update 2015-02-07 00:15:29 +00:00
asfernandes
f776db3b14 Warning. 2015-02-06 14:39:19 +00:00
firebirds
b7ef59a8fe nightly update 2015-02-06 00:14:11 +00:00
hvlad
3ca5a7b007 It should fix regression CORE-4653 : Crash on infinite mutual SP calls (instead of "Too many concurrent executions of the same request.") 2015-02-05 23:04:36 +00:00
firebirds
968ba029f5 nightly update 2015-02-05 00:44:51 +00:00
dimitr
61ca786437 Cleanup and simplification. 2015-02-04 12:43:01 +00:00
firebirds
53ccf2388f nightly update 2015-02-04 00:12:32 +00:00
dimitr
c8d6349c77 Replace a verb-cleanup bugcheck with regular error + transaction invalidation. 2015-02-03 16:31:05 +00:00
dimitr
7be19d2778 Small refactoring. 2015-02-03 10:33:39 +00:00
dimitr
7c6a608ad8 Fixed one of my last commits, thanks to Adriano. 2015-02-03 06:48:50 +00:00
asfernandes
8a3bf7529a Warnings. 2015-02-03 00:43:30 +00:00
firebirds
ca802d0e96 nightly update 2015-02-03 00:15:22 +00:00
dimitr
8d28efe1b5 Fixed CORE-4075: Server bugchecks or crashes on exception in calculated index. First part of the fix. 2015-02-02 09:27:38 +00:00
dimitr
6addf917b5 Additional fix for CORE-4673: Computed index based on a computed column stores NULL for all its keys. 2015-02-02 08:53:32 +00:00
firebirds
f177f113fe nightly update 2015-02-02 00:12:56 +00:00
firebirds
31ccad8148 nightly update 2015-02-01 00:13:49 +00:00
firebirds
50ba077282 nightly update 2015-01-31 00:14:04 +00:00
dimitr
a212d550e8 Simplest possible fix for regression CORE-4673: Computed index based on a computed column stores NULL for all its keys. 2015-01-29 15:16:00 +00:00
dimitr
d1b4bfc0fc Fixed my yesterday's commit (forgotten part). 2015-01-28 09:01:55 +00:00
dimitr
865f30b7d4 Fixed my yesterday's commit. 2015-01-28 08:15:42 +00:00
dimitr
cc8cc680a3 Core (engine-level) support for scrollable DSQL cursors. Fixed the IResultSet API to match the JDBC spec. Renamed FB_EOF to FB_NO_DATA. Refactored some DSQL internals. 2015-01-27 10:29:30 +00:00
dimitr
16b0750225 This should fix the Windows build. 2015-01-26 14:39:48 +00:00
hvlad
43f67462e2 Improvement CORE-4671 : Release internal temporary blobs early to free some memory\disk space 2015-01-26 14:15:54 +00:00
dimitr
aaa2936941 Fixed CORE-4670: Constraint violation error may be swallowed in some cases. 2015-01-26 10:51:05 +00:00
firebirds
3893b38b7b nightly update 2015-01-25 00:14:05 +00:00
hvlad
a07e2ff547 Frontportred fix for bug CORE-2848 : "lock conversion denied" or "lock denied" error 2015-01-24 11:49:18 +00:00
firebirds
a7222b6868 nightly update 2015-01-24 00:13:28 +00:00
hvlad
a0cee158a0 Make shared memory header same size independent on OS.
Introduce shared memory header version.
2015-01-22 10:35:57 +00:00
egorpugin
d397e68a48 [build] [cmake] Prepare sources for CMake building. Add clang preprocessor defs, ARM architecture defs, some Android-related defs. Add 'qsort_r' function search to configure.ac. 2015-01-21 11:11:04 +00:00
hvlad
8216554413 Fixed my error at patch for CORE-4565. It was the reason of false "lock denied" errors. 2015-01-21 09:18:18 +00:00
firebirds
d813d2b749 nightly update 2015-01-19 00:14:49 +00:00
dimitr
a3151fc71f Better diagnostics. 2015-01-18 09:05:38 +00:00
firebirds
cc86bd7579 nightly update 2015-01-18 00:16:51 +00:00
dimitr
8adfd0a38a Fixed CORE-4668: Select from mon$table_stats doesn`t work on SC and CS. 2015-01-17 18:05:53 +00:00
firebirds
c2be376418 nightly update 2015-01-17 00:15:43 +00:00
firebirds
0af3e04f85 nightly update 2015-01-16 00:14:39 +00:00
asfernandes
2a857cb415 Misc. 2015-01-15 01:17:27 +00:00
firebirds
8f457b12f5 nightly update 2015-01-15 00:13:46 +00:00
firebirds
ec165d573f nightly update 2015-01-14 00:14:02 +00:00
hvlad
76df787334 By Alex - fix for bug CORE-4659 : Error "Missing security context for .....\SECURITY3.FDB" 2015-01-13 11:24:38 +00:00
firebirds
22ec9d1f85 nightly update 2015-01-13 00:21:11 +00:00
asfernandes
346992fcec Remove IMaster::same from the API. 2015-01-12 14:56:55 +00:00
dimitr
8508fea434 Fixed CORE-4665: Wrong result when use "where <field_C> STARTING WITH <:value> ORDER BY <field_N>' and field_C is leading part of compound index key: { field_C, field_N }. 2015-01-12 11:28:10 +00:00
hvlad
621766efea Fixed build error 2015-01-12 08:16:32 +00:00
asfernandes
b99311dd1e Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException). 2015-01-12 00:21:38 +00:00
asfernandes
a04966874e Correction. 2015-01-12 00:21:07 +00:00
asfernandes
c4228eb623 Misc. 2015-01-12 00:04:14 +00:00
firebirds
c59e9f48c7 nightly update 2015-01-09 00:13:27 +00:00
alexpeshkoff
187f86b2e6 Fixed CORE-4662: Make services API pass SQL role to server. Also added switch -role to some utilities that missed it. 2015-01-08 14:03:54 +00:00
firebirds
11cdde4d12 nightly update 2015-01-07 00:13:30 +00:00
firebirds
d0a9d496cd nightly update 2015-01-06 00:16:56 +00:00
firebirds
bf8ed546e4 nightly update 2014-12-31 00:13:44 +00:00
starodubov
b260c1ead1 Fixed CORE-4656: Server could hang during chasing dead record version 2014-12-30 08:17:19 +00:00
firebirds
1a165fad86 nightly update 2014-12-30 00:16:00 +00:00
dimitr
29e238f78d Type correctness (mostly signed->unsigned adjustments). 2014-12-29 21:15:54 +00:00
dimitr
bd3ce4e6fb This commit is expected to fix CORE-4384: Problems when a table grows beyond 65535 pointer pages. Testing would be appreciated. 2014-12-29 17:40:47 +00:00
starodubov
13c911f47e Revert fix for CORE-4654, because it depends on unsupported compiler 2014-12-29 12:00:05 +00:00
starodubov
a8c8f22de0 Fixed POSIX build (CORE-4654) 2014-12-29 10:56:35 +00:00
firebirds
cb008dc6f0 nightly update 2014-12-27 00:13:46 +00:00
alexpeshkoff
b7621d6f9d Fixed CORE-4651: CREATE DATABASE fails for the user having RDB$ADMIN rights in security database 2014-12-26 14:10:39 +00:00
firebirds
eb574599cf nightly update 2014-12-25 00:13:28 +00:00
alexpeshkoff
df0ecdac9a Implemented CORE-4607: Add support for having >1 UserManager in firebird.conf and use them from SQL 2014-12-24 14:50:03 +00:00
firebirds
9d7e0813f1 nightly update 2014-12-23 00:16:31 +00:00
alexpeshkoff
8b0dde7130 Added forgotten security check - thanks to Adriano 2014-12-22 09:17:31 +00:00
firebirds
1ea43a2d65 nightly update 2014-12-22 00:15:05 +00:00
dimitr
64cfa741e7 Correction for the prior commit. 2014-12-21 19:30:06 +00:00
dimitr
b9178d4df1 Small refactoring. 2014-12-21 19:16:51 +00:00
asfernandes
dc0d56ed6d Misc. 2014-12-21 01:54:28 +00:00
firebirds
8d87bd77f1 nightly update 2014-12-20 00:22:08 +00:00
asfernandes
d8a0ff5f4b Generate interfaces with I-prefix. 2014-12-19 15:24:44 +00:00
firebirds
c49ca2564b nightly update 2014-12-19 00:15:32 +00:00
firebirds
647b283a3f nightly update 2014-12-18 00:15:38 +00:00
alexpeshkoff
c14a1210b0 Work in progress on CORE-3632: make all file descriptors, opened by firebird, close on exec() 2014-12-17 14:31:02 +00:00
dimitr
3d44e7d8f6 Fixed CORE-4472: Message "Modifying function <F> which is currently in use" when running script with AUTODDL=OFF and <F> is called from INTERNAL function declared in other unit. 2014-12-17 07:41:10 +00:00
alexpeshkoff
255b4ff855 Fixed CORE-4571: Can't select from table with ICU column when database (.FDB) is created on LINUX with icu 4.2.1 and then copied to WINDOWS 2014-12-16 14:39:04 +00:00
dimitr
263b396cd2 Postfix for CORE-1550: Unnecessary index scan happens when the same index is mapped to both WHERE and ORDER BY clauses. 2014-12-16 11:40:42 +00:00
firebirds
add6a8f61a nightly update 2014-12-14 00:25:05 +00:00
hvlad
11d4f648d4 Fixed bug, noted by Claudio in fb-devel 2014-12-13 08:55:53 +00:00
firebirds
6812018a66 nightly update 2014-12-13 00:26:46 +00:00
firebirds
a16ff04a29 nightly update 2014-12-10 00:30:51 +00:00
firebirds
a189f16876 nightly update 2014-12-09 10:59:38 +00:00
dimitr
ab11c279df Fixed CORE-4634: ORDER BY via an index + WHERE clause: error "no current record for fetch operation". 2014-12-08 13:12:16 +00:00
firebirds
20433f9000 nightly update 2014-12-08 00:03:33 +00:00
firebirds
7fdcc04117 nightly update 2014-12-06 17:17:23 +00:00
firebirds
e97574826f nightly update 2014-12-04 09:31:31 +00:00
firebirds
65761aec18 nightly update 2014-12-03 09:20:56 +00:00
firebirds
5faf9b4b74 nightly update 2014-12-02 10:09:15 +00:00
dimitr
0e11867e84 Refactored the RPB flags. The new logic also provides a second-level protection against CORE-4618. 2014-12-01 21:53:29 +00:00
firebirds
be9868ad8d nightly update 2014-12-01 05:55:12 +00:00
asfernandes
cebc7c36b3 Misc. 2014-11-30 21:09:39 +00:00
dimitr
9b0a24fc5a Simplest possible fix for CORE-4618: Rollback doesn`t undo changes when MERGE statement updates the same target rows multiple times and PLAN MERGE is used. An alternative solution is being considered. 2014-11-30 16:00:19 +00:00
firebirds
d3d86fa2e3 nightly update 2014-11-30 06:02:18 +00:00
firebirds
6f45339b62 nightly update 2014-11-29 06:00:26 +00:00
firebirds
287e556578 nightly update 2014-11-28 06:28:01 +00:00
firebirds
d607456af7 nightly update 2014-11-27 06:51:32 +00:00
alexpeshkoff
6cb0fdb082 Load zlib dynamically to make it possible for the client to run without it
Added configure switch to turn off build with compression
Cleanup zlib streams to avoid memory leak
Use SHRLIB_EXT instead explicit "so"
2014-11-26 17:43:45 +00:00
hvlad
d5c08a9fd0 Move ConfigRoot from common to the yvalve. Add its methods to the public interface ConfigManager.
Now all plug-ins have the same root\install folders.
It should fix CORE-4581 and related issues.
MSVC10 and MSVC12 builds are updated, Posix and Darwin builds will follow.
2014-11-26 09:45:42 +00:00
firebirds
24ea802fbd nightly update 2014-11-26 06:22:19 +00:00
firebirds
686e9e1e58 nightly update 2014-11-25 06:27:08 +00:00
firebirds
6f13fd38e7 nightly update 2014-11-23 07:14:41 +00:00
firebirds
b74395118f nightly update 2014-11-22 07:35:23 +00:00
hvlad
f5e1502b63 Small optimization by Dimitry Sibiryakov:
set ppg_min_space to the next really non-full slot when current ppg_min_space slot is marked as full.
2014-11-21 12:23:19 +00:00
firebirds
e8658272ee nightly update 2014-11-21 06:47:19 +00:00
firebirds
e29c055913 nightly update 2014-11-18 06:44:37 +00:00
mapopa
e055cea86d add isc_info_db_impl_linux_ppc64 in inf_pub.h 2014-11-12 17:49:41 +00:00
asfernandes
922aa064d2 Frontport fix for CORE-4604 - EXECUTE STATEMENT rise varchar char_length() size. 2014-11-12 15:14:31 +00:00
mapopa
ab2c11fb15 add isc_info_db_impl_linux_ppc64el in inf_pub.h 2014-11-12 09:13:29 +00:00
firebirds
d78c926a65 nightly update 2014-11-12 08:37:06 +00:00
firebirds
6701d1b131 nightly update 2014-11-11 08:55:38 +00:00
asfernandes
49d1a73994 Get rid of upgradeInterface API method and some adjustments. To be continued. 2014-11-10 14:45:40 +00:00
firebirds
e93d9f4330 nightly update 2014-11-10 08:36:28 +00:00
dimitr
d98625b933 Relaxed system tables protection for cases UPDATE ... SET RDB$*_SOURCE = NULL. So far nullification is allowed for views/packages/procedures/functions/triggers only. I'm not sure somebody really needs hiding sources for defaults and check constraints, but this can be supported later, if required. This is a temporary solution, intended to be replaced with something more clever (e.g. special permissions or new DDL command) in v4. 2014-11-09 16:40:52 +00:00
asfernandes
e6941eca21 Fixed CORE-4599 - REPLACE function works incorrectly with multibyte charsets. 2014-11-09 01:58:15 +00:00
firebirds
77aff5315b nightly update 2014-11-08 08:46:36 +00:00
firebirds
9bc3c290ce nightly update 2014-11-07 08:03:56 +00:00
firebirds
3e3a51dc9c nightly update 2014-11-04 01:08:44 +00:00
firebirds
1a82d957a8 nightly update 2014-11-01 01:00:48 +00:00
firebirds
c69da8b8a1 nightly update 2014-10-31 01:01:18 +00:00
firebirds
fdce6c92ac nightly update 2014-10-30 01:03:31 +00:00
firebirds
1e2b4b7a1f nightly update 2014-10-29 01:06:22 +00:00
firebirds
81add8d7a2 nightly update 2014-10-26 01:09:36 +00:00
asfernandes
0463754347 Misc. 2014-10-25 18:39:45 +00:00
firebirds
57a813efe2 nightly update 2014-10-22 01:19:40 +00:00
hvlad
f8969d22ca Improved page cache performance a bit.
The case when page buffer is evicted and re-assigned to another page.
2014-10-21 14:53:23 +00:00
firebirds
7facd97511 nightly update 2014-10-17 01:19:32 +00:00
dimitr
309b494102 Improvement CORE-3526: Support for WHEN SQLSTATE. 2014-10-16 16:35:18 +00:00
alexpeshkoff
1f83c3b1ae Fixed CORE-4582: Within linger period one can not change some database properties 2014-10-16 11:31:48 +00:00
firebirds
107f3fe047 nightly update 2014-10-16 01:31:45 +00:00
asfernandes
69c4a3e5ae Remove obsolete header file. 2014-10-15 15:43:32 +00:00
firebirds
465bbdc1aa nightly update 2014-10-15 01:20:55 +00:00
firebirds
80ec628a37 nightly update 2014-10-14 01:20:53 +00:00
alexpeshkoff
031e022c89 Misc const correctness - fixed warning 2014-10-13 15:29:21 +00:00
firebirds
04c20130b2 nightly update 2014-10-13 01:19:39 +00:00
asfernandes
8b76cfcff8 Misc. 2014-10-12 19:33:09 +00:00
asfernandes
dddfb50e19 Misc. 2014-10-12 18:47:08 +00:00
dimitr
a4a0502017 Updated the version info. 2014-10-12 18:24:43 +00:00
asfernandes
c642ddca82 Misc. 2014-10-12 02:25:02 +00:00
firebirds
fdd2998629 nightly update 2014-10-12 01:19:03 +00:00
firebirds
d766c6d5e7 nightly update 2014-10-11 01:20:07 +00:00
asfernandes
3a6c1093fb Fixed CORE-4574 - Incorrect result in subquery with aggregate. 2014-10-10 16:00:54 +00:00
hvlad
c3a181148a Fixed bug CORE-4576 : Cache Writer thread could not start 2014-10-10 10:12:23 +00:00
hvlad
18806682fd Fixed bug CORE-4575 : AV in garbage collector thread at disconnect of last attachment 2014-10-10 10:11:14 +00:00
firebirds
bcc183b07c nightly update 2014-10-10 01:23:40 +00:00
alexpeshkoff
ff3eb6e71e Fixed use of encrypted database for users mapping 2014-10-09 15:25:39 +00:00
firebirds
9c0b1d492c nightly update 2014-10-09 01:27:04 +00:00
firebirds
1068a3db41 nightly update 2014-10-06 01:22:42 +00:00
alexpeshkoff
e8930f4408 Fixed CORE-4566: Incorrect size of the output parameter/argument when execute block, procedure or function use system field in metadata charset 2014-10-05 13:14:43 +00:00
firebirds
75955fa3a9 nightly update 2014-10-05 01:29:58 +00:00
dimitr
7ad1fa43a3 Refactored cache shutdown. This should also fix CORE-4568: Server may crash while disconnecting from the database under load. 2014-10-04 20:10:14 +00:00
firebirds
57d611b79a nightly update 2014-10-04 01:26:52 +00:00
firebirds
4aeb9435fb nightly update 2014-10-03 01:27:57 +00:00
firebirds
2e97d4af78 nightly update 2014-10-02 01:25:33 +00:00
hvlad
ba11fb659b Improvement CORE-4562 : Split all validation messages on critical and minor ones
Additional patch, see details in tracker
2014-10-01 22:00:35 +00:00
hvlad
871830123f Fixed bug CORE-4565 : GDSCODE can have value = 0 in WHEN-section under some concurrent env., only in SC or CS (not in SS) 2014-10-01 18:17:04 +00:00
firebirds
22948f2a94 nightly update 2014-10-01 01:24:15 +00:00
hvlad
b6b26d0091 Warnings. Misc. 2014-09-30 19:38:35 +00:00
dimitr
5d29d55113 CORE-4564: Add per-table performance counters to the monitoring tables. 2014-09-30 17:35:44 +00:00
alexpeshkoff
5ccc32e0ed Better place for trace-related constants, thanks to Vlad 2014-09-30 15:04:14 +00:00
alexpeshkoff
f5645faaa0 Fixed windows build 2014-09-30 14:21:44 +00:00
firebirds
4c841c46fa nightly update 2014-09-30 01:25:24 +00:00
alexpeshkoff
ba62ee9947 Make it build on windows, work in progress - boot build is working 2014-09-29 17:24:30 +00:00
alexpeshkoff
153de0f271 Language independent API 2014-09-29 11:03:47 +00:00
firebirds
bea4dd590e nightly update 2014-09-29 01:18:08 +00:00
hvlad
e56788a0e2 Improvement CORE-4562 : Split all validation messages on critical and minor ones 2014-09-28 09:43:57 +00:00
firebirds
8103f0492c nightly update 2014-09-27 01:20:19 +00:00
firebirds
655694a77d nightly update 2014-09-23 01:19:48 +00:00
skidder
0030f9adeb Fix warnings 2014-09-22 19:25:40 +00:00
firebirds
70b09a143d nightly update 2014-09-19 01:24:27 +00:00
hvlad
8ba9d33798 Implement improvement CORE-4556 : Allocate data pages in group of sequential ordered pages (extents)
Validation code will follow
2014-09-18 22:31:53 +00:00
asfernandes
252abbf676 Fixed CORE-4555 - DDL trigger remains active after dropped. 2014-09-18 15:55:08 +00:00
firebirds
b83e16c0a1 nightly update 2014-09-17 01:22:54 +00:00
firebirds
fae24dd12b nightly update 2014-09-08 01:25:04 +00:00
asfernandes
6a864ad949 Misc. 2014-09-07 19:37:00 +00:00
firebirds
fef7a96558 nightly update 2014-09-06 01:29:31 +00:00
asfernandes
03370ed479 Fixed problem of undefined behaviour when deleting pointer of an incomplete type. 2014-09-05 15:21:10 +00:00
firebirds
e4a1b9b3f3 nightly update 2014-09-04 01:29:12 +00:00
firebirds
535dba3f21 nightly update 2014-09-03 01:20:34 +00:00
alexpeshkoff
2a293c2691 Implemented CORE-4538: Access rights for CREATE DATABASE operator 2014-09-02 16:55:14 +00:00
firebirds
45a5d66a32 nightly update 2014-09-02 01:21:47 +00:00
dimitr
57a80daa81 Correction. 2014-09-01 13:22:55 +00:00
dimitr
b742803ebf Refactored the shared cache checks. Optimized the shared counter for SS. 2014-09-01 13:19:53 +00:00
alexpeshkoff
eb8763d735 Misc 2014-09-01 09:44:45 +00:00
dimitr
9defd49c6d Count record reads performed by the IDX code. 2014-09-01 08:29:04 +00:00
firebirds
358d541ef8 nightly update 2014-08-30 01:29:50 +00:00
firebirds
c04d4491e7 nightly update 2014-08-29 01:30:21 +00:00
dimitr
6d77447723 Minor refactoring. 2014-08-28 15:53:43 +00:00
dimitr
bc588f3549 Fixed missing encounting for record refetches. 2014-08-28 15:34:45 +00:00
dimitr
82bf6c2c0e Minor adjustments to the performance counters. Work in progress. 2014-08-28 15:16:39 +00:00
roman-simakov
6703f3aed2 Fixed CORE-4522 - DDL permission do not protect
against removal BLOB filters. Owner was added to RDB$FILTERS. ODS is changed.
Fixed bug when one DDL privilege could be shown several times.
Removed unneccesary check of locksmith in alter database.
2014-08-28 12:19:46 +00:00
alexpeshkoff
076c275116 Added missing name 2014-08-28 08:55:12 +00:00
firebirds
0f670285ef nightly update 2014-08-28 01:25:36 +00:00
dimitr
4dae12ccce Added counter for record refetches (aka repeated reads). 2014-08-27 14:51:51 +00:00
dimitr
a79ff180da Added specific error code for read conflicts in RC NO_REC_VER mode. Added missing conflict counting. 2014-08-27 12:56:36 +00:00
alexpeshkoff
d513daa574 Divide IStatus information into 3 parts: errors, warnings and completion code.
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.

Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
firebirds
733e3e22f3 nightly update 2014-08-27 01:23:06 +00:00
firebirds
d2ca4e9112 nightly update 2014-08-26 01:27:46 +00:00
dimitr
182390b49e Fixed CORE-4530: DB_KEY based join of two tables may be ineffective. 2014-08-25 13:28:19 +00:00
dimitr
ee30e8e59d Attempt for CORE-4528: Allow hash/merge joins for non-field (dbkey or derived expression) equalities. 2014-08-25 11:35:52 +00:00
firebirds
60b73458d6 nightly update 2014-08-22 01:27:26 +00:00
alexpeshkoff
d92dacc97e Explicitly avoid processing records about already seen databases when mapping auth info 2014-08-21 08:00:53 +00:00
firebirds
39a8cd9c0d nightly update 2014-08-21 01:22:15 +00:00
firebirds
f456bb0ac4 nightly update 2014-08-20 01:26:32 +00:00
firebirds
2945afd7f1 nightly update 2014-08-18 01:16:20 +00:00
firebirds
54dd6fa0c2 nightly update 2014-08-16 01:18:06 +00:00
dimitr
0fa3945f6a Corrections for the prior commit:Explicitly distinguish between thread handle and thread id. Return LWP as thread id on Linux. 2014-08-15 14:59:38 +00:00
dimitr
36af3d8cb2 Cleanup and small refactoring to avoid redundancy. 2014-08-15 14:19:02 +00:00
alexpeshkoff
2513cbf1c1 Clear handle in JBlob when blob is destroyed 2014-08-15 13:08:25 +00:00
firebirds
e10f76cbed nightly update 2014-08-13 01:16:01 +00:00
hvlad
b224a448e8 Avoid info duplication when statements in call stack attached to different transactions (for example: monitoring snapshot is created in autonomous transaction) 2014-08-12 10:21:58 +00:00
firebirds
684c17fa4d nightly update 2014-08-12 01:22:33 +00:00
dimitr
537017f120 Regression in 3.0: trace reports UPDATES in statistics when doing INSERT into <some_table>. 2014-08-11 14:02:06 +00:00
firebirds
f714bb3867 nightly update 2014-08-11 01:14:25 +00:00
dimitr
d4492eea92 Better (methinks) synchronization for the monitoring stuff. Being field tested. 2014-08-10 20:11:41 +00:00
dimitr
51d1cd35d3 Front-ported Nickolay's improvement for the shared counter. 2014-08-10 20:07:45 +00:00
firebirds
5437e6072d nightly update 2014-08-09 01:15:46 +00:00
dimitr
a3fb84828c Atempted to fix a crash when the database monitoring is used concurrently under load. 2014-08-08 15:29:36 +00:00
dimitr
abb5897fce Fixed possible deadlocks between a worker thread and an attachment-level AST. 2014-08-08 15:27:59 +00:00
firebirds
0c23278f76 nightly update 2014-08-08 01:24:47 +00:00
hvlad
79637fc733 Missing notification of gc thread. 2014-08-06 08:55:47 +00:00
asfernandes
5ffc936053 Misc. 2014-08-06 02:12:01 +00:00
firebirds
26095f5a77 nightly update 2014-08-06 00:37:23 +00:00
hvlad
144526977f Fixed bug CORE-4510 : AV in validation is possible 2014-08-05 16:00:47 +00:00
dimitr
a8b1dba646 Refactored RuntimeStatistics internals. Added more record-level performance counters. 2014-08-05 08:46:09 +00:00
firebirds
06572bf0fb nightly update 2014-08-05 00:40:19 +00:00
firebirds
84877e0ffd nightly update 2014-08-02 00:31:35 +00:00
asfernandes
718eb6a33e Fixed the restore of packaged routines. 2014-08-01 16:22:37 +00:00
firebirds
6b357b22f8 nightly update 2014-08-01 00:34:51 +00:00
skidder
151b3c71bf Fix MSVC build errors and warnings 2014-07-31 21:15:33 +00:00
asfernandes
409a27841b Improvement CORE-4487 - Maintain package body after ALTER/RECREATE PACKAGE. 2014-07-31 16:30:12 +00:00
alexpeshkoff
900fb824fe Fixed CORE-4505: Use of named cursor fails if statement was not executed. Should also fix CORE-4489, but I cannot check. 2014-07-31 11:43:38 +00:00
dimitr
6199136792 Refactored database monitoring, made its handling attachment bound. This should make deadlocks impossible, as well as avoid blocking worker connections while the monitoring request is processed. 2014-07-31 08:56:53 +00:00
hvlad
d58252acec While i don't see how we can have positive scale, wrong code should be fixed anyway 2014-07-31 07:54:38 +00:00
firebirds
e1310e16ac nightly update 2014-07-31 00:33:23 +00:00
dimitr
f132ba713e Avoid metadata lookups while retrieving the plan (especially important in ASTs). 2014-07-30 09:54:45 +00:00
dimitr
7d802db4f5 Avoid metadata lookups while retrieving the plan (especially important in ASTs). 2014-07-30 09:50:33 +00:00