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

39674 Commits

Author SHA1 Message Date
hvlad
fb35e77fcc Backport fix for bug CORE-4302 : Descending index could be very inefficient for some keys 2013-12-21 18:50:27 +00:00
firebirds
5c7602f2e5 nightly update 2013-12-20 01:13:42 +00:00
alexpeshkoff
7d2a89408c Backported minimum fix for CORE-4298: fbsvcmgr doesn't recognise sts_record_versions and other sts switches 2013-12-19 13:50:25 +00:00
firebirds
50f2f0232b nightly update 2013-12-19 00:45:27 +00:00
dimitr
036a3cb3fc Fixed CORE-4300: Server terminates abnormally when iscDatabaseInfo() is called with buffer size = 0. 2013-12-18 08:23:37 +00:00
firebirds
c5ae899c60 nightly update 2013-12-13 01:19:47 +00:00
firebirds
bbe664858e nightly update 2013-12-12 02:08:56 +00:00
hvlad
5554f52522 Fixed bug CORE-4297 : Gfix crashed when description of limbo transaction have size large than 1KB 2013-12-11 16:33:29 +00:00
firebirds
5325d38e34 nightly update 2013-12-11 01:21:27 +00:00
firebirds
ee9ceaae73 nightly update 2013-12-09 03:14:59 +00:00
robocop
6bebf1010d Misc. 2013-12-08 07:49:43 +00:00
firebirds
583f0727a7 nightly update 2013-12-07 01:51:32 +00:00
roman-simakov
cc859a37d2 Hope the last fix of nbackup host case insensitive cutting. Sorry. 2013-12-06 15:52:14 +00:00
roman-simakov
6d33d87728 Make comparing of host name case-insensitive 2013-12-06 14:49:35 +00:00
firebirds
3ce26a3eb1 nightly update 2013-12-05 17:36:29 +00:00
alexpeshkoff
bba4236bc9 Committed reworked patch from Debian 2013-12-05 09:19:41 +00:00
roman-simakov
fa751247f4 Ignoring port for localhost in nbackup. Added check for localhost and error message if non localhost provided. 2013-12-04 16:24:08 +00:00
firebirds
4d639b6506 nightly update 2013-11-30 03:13:24 +00:00
alexpeshkoff
7b208f8543 Committed commented ARM64-linux port in order to reserve class ID for it 2013-11-29 11:33:33 +00:00
firebirds
e29649e5bd nightly update 2013-11-28 01:07:22 +00:00
alexpeshkoff
231089c781 Backported fix for CORE-4283: Resource temporarily unavailable errors while simultaneously registering events 2013-11-27 12:48:10 +00:00
firebirds
581d115aff nightly update 2013-11-16 04:56:36 +00:00
dimitr
679de0fb65 Fixed CORE-4267: Server crashes while sweeping the database. 2013-11-15 15:12:51 +00:00
firebirds
1e0956dd06 nightly update 2013-11-14 00:41:11 +00:00
dimitr
5bf1f9b07c Attachments marked as shutdown may still be running (before they reach the rescheduling point), so they should not be accounted as already gone. This should also fix CORE-4236: Database shutdown is reported as successfully completed before all active connections are in fact interrupted. 2013-11-13 18:36:59 +00:00
firebirds
254d3d75a6 nightly update 2013-11-08 00:44:04 +00:00
paulbeach
5377f3200d Fix embedded on MacOS issue with symbolic links and relative paths 2013-11-07 11:10:54 +00:00
firebirds
c4bdb8f689 nightly update 2013-10-25 01:36:42 +00:00
asfernandes
00d1394b5d Backported fix for CORE-4247 - Delete "where current of" cursor fails for tables with newly added fields. 2013-10-24 14:53:09 +00:00
firebirds
ee01ab69b0 nightly update 2013-10-24 00:42:20 +00:00
hvlad
7ce9758a33 Fixed minor bugs
CORE-4250 : AV in guardian at process shutdown
CORE-4251 : Guardian service could write garbage after the end of message in the Event Log
and clean up a bit
2013-10-23 11:06:52 +00:00
firebirds
ce19040f7f nightly update 2013-10-15 00:49:56 +00:00
asfernandes
d699c7c2f0 Fixed CORE-4244 - Problem with creation procedure which contain adding text in DOS864 charset. 2013-10-14 16:15:41 +00:00
firebirds
94e689592b nightly update 2013-09-27 02:36:20 +00:00
asfernandes
c62e9cfbf5 Backport fix for CORE-4145 - Memory leak when preparing Execute Block which uses domains. 2013-09-26 15:37:21 +00:00
firebirds
31bdfdbac4 nightly update 2013-09-25 00:42:01 +00:00
hvlad
cfed85fca7 Additional fix for bug CORE-2648 : Nbackup's delta file ignored Forced Writes database setting 2013-09-24 12:24:09 +00:00
firebirds
c1c61ad67d nightly update 2013-09-24 00:31:49 +00:00
hvlad
650007add2 Fixed bug CORE-4233 : In PSQL modules with declared cursors engine could assign value to the wrong variable 2013-09-22 11:59:02 +00:00
firebirds
7f14b164e8 nightly update 2013-09-21 00:55:31 +00:00
dimitr
3b1b348f20 Somewhat hackery fix for CORE-4201: Computed field returns null value inside BI trigger.
A better solution requires major changes and will be investigated in trunk later.
2013-09-20 08:27:47 +00:00
firebirds
14597a8946 nightly update 2013-09-19 09:14:53 +00:00
hvlad
67dc3c14a5 Correction for fix for bug CORE-4134 : Race condition when auto-sweep is started
The patch wrongly disabled manual sweep to run when database is shutdown.
Auto sweep is still disabled to run on such database.
2013-09-18 18:36:16 +00:00
hvlad
8c3c0ba01c Backport fix bug CORE-4225 : Server crashes when attempting to trace activity on database having a db-level trigger 2013-09-18 13:54:23 +00:00
alexpeshkoff
fa00f70cdf Fixed CORE-4224: Database replace through services API fails 2013-09-18 11:58:19 +00:00
firebirds
6a0017f838 nightly update 2013-09-17 01:28:29 +00:00
hvlad
4924dd73a4 Fixed bug CORE-4216 : Memory leak with TRIGGER ON TRANSACTION COMMIT 2013-09-16 07:36:19 +00:00
firebirds
ac64792b4f nightly update 2013-09-14 00:31:21 +00:00
hvlad
fc04b34e05 Fix to please GCC 2013-09-13 08:12:28 +00:00
firebirds
56680854c1 nightly update 2013-09-13 00:43:43 +00:00
hvlad
f5a7b00328 Fixed bug CORE-3921 : "record disappeared (186), file: vio.cpp line: 408" 2013-09-12 14:21:53 +00:00
alexpeshkoff
a88d6444cb Fixed 2.5.3 regression, introduced by one of my previous commits - deadlock when starting transaction using SQL operator 2013-09-12 06:47:20 +00:00
firebirds
f3df48ef36 nightly update 2013-09-12 00:53:02 +00:00
hvlad
dd5b5af884 Improvement CORE-4215 : Execution of SET STATISTICS INDEX statement could block or slow execution of concurrent attachments 2013-09-11 15:40:25 +00:00
firebirds
e1b54891c8 nightly update 2013-09-11 01:10:21 +00:00
asfernandes
0d5f4a5341 Fixed CORE-4204 - Error when compiling the procedure containing the statement if (x = (select ...)). 2013-09-10 14:52:59 +00:00
hvlad
3f04a230d7 Fixed bug CORE-4214 : GTT should not reference permanent relation 2013-09-10 14:35:50 +00:00
hvlad
f6ba5b82a8 Fixed bug CORE-4212 : Dropping FK on GTT crashes server 2013-09-10 11:39:54 +00:00
alexpeshkoff
f90eece421 Backported fix for CORE-4211: Embedded engine hangs for 5 seconds when closing 2013-09-09 11:05:54 +00:00
firebirds
aea7db0701 nightly update 2013-09-07 02:03:07 +00:00
asfernandes
58804e7d6c Fixed CORE-4210 - Preserve comments for output parameters after altering procedures. 2013-09-06 15:58:01 +00:00
alexpeshkoff
2b60b258fa Slightly enhanced diagnostics 2013-09-06 12:09:53 +00:00
alexpeshkoff
c21e1ab539 Slightly enhance diagnostic 2013-09-06 08:50:53 +00:00
firebirds
4c6528d7cf nightly update 2013-09-06 00:41:30 +00:00
alexpeshkoff
206f1afe54 Fixed ICU loader to make it match one more symbols naming convention in fresh ICU 2013-09-05 13:59:56 +00:00
firebirds
214eac1dce nightly update 2013-09-05 00:43:53 +00:00
dimitr
8cfcf51305 Cleanup and use the explicit rollback via TIP for all kinds of forced disconnections. 2013-09-04 17:44:52 +00:00
firebirds
66b47b6818 nightly update 2013-08-31 01:48:49 +00:00
firebirds
0425a35a1c nightly update 2013-08-30 00:43:30 +00:00
asfernandes
75c8163a4e Backported fix for CORE-4198 - Incorrect "token unknown" error when the SQL string ends with a hex number literal. 2013-08-29 16:01:30 +00:00
firebirds
da92ae7ed3 nightly update 2013-08-23 00:56:31 +00:00
alexpeshkoff
102700e724 Backported postfixes for CORE-3935 & CORE-3944: helps avoid segfaults/deadlocks when shutting down firebird 2013-08-21 10:36:05 +00:00
firebirds
33d90e49ee nightly update 2013-08-03 00:38:56 +00:00
hvlad
bf3009d100 Fixed bug CORE-4143 : Leak memory in fbembed.dll 2013-08-02 13:45:09 +00:00
firebirds
57b850e91c nightly update 2013-07-23 01:39:01 +00:00
hvlad
798652282e Fixed bug CORE-4144 : Error "context already in use (BLR error)" when preparing a query with UNION 2013-07-22 07:47:10 +00:00
firebirds
de3f4b84b2 nightly update 2013-07-20 00:42:01 +00:00
hvlad
7f587ec248 Fixed bug CORE-4005 : wrong error message with recursive CTE 2013-07-19 08:42:26 +00:00
firebirds
d06f41cbcb nightly update 2013-07-18 00:35:22 +00:00
paulbeach
3012e14051 Update mod_loader to use Posix dl functions rather than deprecated NS functions. Add support for embedded mode on MacOSX as an app bundle as well as the existing framework 2013-07-17 10:18:33 +00:00
firebirds
44a59b4cbc nightly update 2013-07-16 01:25:24 +00:00
dimitr
caa69987e7 Fixed the sweep lock owner. This is a complementary bugfix for CORE-4134 (Race condition when auto-sweep is started). 2013-07-15 13:52:14 +00:00
firebirds
341d29beb7 nightly update 2013-07-09 02:37:00 +00:00
hvlad
32c5d00945 Backport fix for bug CORE-4135 : In SS sweep blocks establishment of concurrent attachments 2013-07-08 14:30:57 +00:00
hvlad
8a3450efbb Backport fix for bug CORE-4134 : Race condition when auto-sweep is started 2013-07-08 14:29:26 +00:00
dimitr
0c708df016 CORE-3704: Add new context variables to the SYSTEM namespace. 2013-07-08 08:26:08 +00:00
firebirds
9dc40ceb31 nightly update 2013-07-08 01:39:30 +00:00
dimitr
123415bc5e Unfortunately, the only correct way to reference stream internals (e.g. get field descriptors) in node comparison routines is either to compare nodes along with their corresponding CSBs or to compare only nodes and handle streams outside. I'm favoring the latter approach. And no, remapping is a wrong solution either (trunk is to be reworked again in this regard, sigh). This fixes CORE-4139 at the cost of removed CAST vs FIELD comparison trick. Let's see whether somebody is going to be affected. 2013-07-07 15:11:06 +00:00
asfernandes
0e7302f7e9 Fixed CORE-4136 - Sharp-S character treated incorrectly in UNICODE_CI_AI collation. 2013-07-07 02:02:47 +00:00
firebirds
bc8b540216 nightly update 2013-07-04 01:50:06 +00:00
dimitr
0338b6c768 Better protection against AST delivery during detaching. Second attempt combined with cleanup. 2013-07-03 13:20:55 +00:00
dimitr
bc73e05d43 Better protection against AST delivery during detaching. 2013-07-03 09:23:37 +00:00
dimitr
93eb387be3 Backported CORE-3874: Computed column appears in non-existant rows of left join. 2013-07-03 06:33:39 +00:00
asfernandes
272b47f6ed Fixed CORE-4137 - Wrong metadata output script generate by isql / CHARACTER SETISO8859_1 sintaxe error. 2013-07-03 02:12:05 +00:00
firebirds
a78722a489 nightly update 2013-07-01 01:03:46 +00:00
hvlad
7d2c37d9e0 Backported from trunk: prevent starting a lot of threads when forced shutdown is in progress. 2013-06-30 19:13:37 +00:00
firebirds
39d257fd66 nightly update 2013-06-30 00:47:38 +00:00
dimitr
cfe3f24da2 Fixed CORE-4118: Expression index may be not used for derived fields or view fields. Also, generalized the old trick with CAST in expression indices. 2013-06-29 13:47:00 +00:00
firebirds
f84c16a50e nightly update 2013-06-28 01:16:38 +00:00
asfernandes
6dedc68d41 Rework on CORE-4125 to work with ICU 3.0. 2013-06-26 02:15:24 +00:00
firebirds
22d12617bb nightly update 2013-06-26 00:27:44 +00:00
asfernandes
fc1d01fe8c Backported fix for CORE-4225 - Using COLLATE UNICODE_CI_AI in WHERE clause (not indexed) is extremely slow. 2013-06-25 15:35:29 +00:00
firebirds
d8b748ef57 nightly update 2013-06-21 00:49:45 +00:00
asfernandes
91b8169c15 Fixed CORE-2912 - Exception when upper casing string with lowercase y trema (code 0xFF in ISO8859_1) 2013-06-20 15:43:45 +00:00
dimitr
0e5d964350 Attempted to please the GCC compiler. If this doesn't help, another solution is to be backported from trunk. 2013-06-20 07:41:21 +00:00
dimitr
73a39d54a4 Fixed CORE-4127: Server crashes instead of reporting the error "key size exceeds implementation restriction". 2013-06-20 06:11:00 +00:00
dimitr
4ae620ecbd The first fix for CORE-4123: Firebird crash when executing an stored procedure called by a trigger that converts string to upper.
Adriano, please review. BTW, I'm far not sure that other TextType members (those calling texttype_fn_* routines from INTL) cannot silently return "special" return codes either.
2013-06-19 16:18:06 +00:00
dimitr
300f130198 Attempted to fix a possible crash due to the wrong request pointer remaining in tdbb after sub-request execution. While being there, cleaned up some redundant code. 2013-06-19 06:12:56 +00:00
alexpeshkoff
75a9613543 Backported fix for CORE-4121: Segfault when engine is shutting down inside blob get/put function invoked from UDF 2013-06-18 13:17:08 +00:00
firebirds
59acf19150 nightly update 2013-06-16 01:01:12 +00:00
hvlad
68a53fe236 Make code a bit more robust 2013-06-15 19:02:21 +00:00
hvlad
7118059b72 Fixed memory leak followed by AV (introduced at fix for CORE-3989).
Dmitry, please review.
2013-06-15 18:28:26 +00:00
dimitr
ae68898f20 Fixed CORE-4117: Ignoring computed by field as Exception parameter. 2013-06-15 05:57:48 +00:00
firebirds
4118cd514a nightly update 2013-06-08 01:03:30 +00:00
alexpeshkoff
fb08ee8458 Backported fix for CORE-3942: Restore from gbak backup using service doesn't report an error 2013-06-07 10:41:38 +00:00
dimitr
81c4023396 Since we (unexpectedly for me) seem to support BLR > 64KB, I'm committing a workaround for CORE-4113 (EXECUTE BLOCK prepare fails). The debug info does not support longish BLR, so don't pretend to find something there beyond the 64KB limit. If someone can think of a better solution, please jump in. 2013-06-07 09:51:13 +00:00
firebirds
220ada8b80 nightly update 2013-06-01 00:46:58 +00:00
dimitr
92bc35d9b9 Fixed CORE-4107: Wrong resultset (subquery + derived table + union). 2013-05-29 12:13:55 +00:00
firebirds
477b4504b8 nightly update 2013-05-24 01:20:45 +00:00
alexpeshkoff
272ac70d33 CORE-3993: disable AST delivery at final steps of attachemnt destruction 2013-05-23 11:55:18 +00:00
dimitr
525a178114 Fixed CORE-4102: Bad optimization of OR predicates applied to unions. 2013-05-23 08:25:56 +00:00
firebirds
8a395f40f7 nightly update 2013-05-23 00:48:47 +00:00
hvlad
c2cec20b39 Fixed bug CORE-4101 : firebird.log contains "I/O error during "write" operation" records but database works correctly 2013-05-22 16:13:32 +00:00
firebirds
5cd192a41f nightly update 2013-05-21 00:42:51 +00:00
robocop
ef3e3e7610 Misc. 2013-05-20 03:26:59 +00:00
firebirds
93885d746b nightly update 2013-05-16 00:40:15 +00:00
hvlad
276b7ecd0a Fixed bug CORE-4100 : Automatic sweep could be run when there is no need for it 2013-05-15 14:29:55 +00:00
firebirds
d4f4c8f4f6 nightly update 2013-05-10 00:43:19 +00:00
asfernandes
929de3d26e Backported fix for CORE-4083 - Full outer join in derived table with coalesce (iif). 2013-05-09 01:17:24 +00:00
firebirds
0f1a59a24d nightly update 2013-05-08 02:13:41 +00:00
hvlad
bffe15166b Fixed bug CORE-4094 : Wrong parameters order in trace output 2013-05-07 11:36:26 +00:00
firebirds
bff7e341ff nightly update 2013-04-30 01:21:46 +00:00
dimitr
42f91780ad Misc. 2013-04-29 10:04:59 +00:00
firebirds
61f5c6b0fc nightly update 2013-04-29 01:03:55 +00:00
dimitr
f97adb9bf6 Corrected the target buffer length. 2013-04-28 14:10:47 +00:00
dimitr
d27648637b Simple fix for CORE-4093: Server crashes while converting an overscaled numeric to a string. It assumes the resulting string being limited in length by the scale (value <= 128). A more generic solution (e.g. disallow overflowing scales) would be appreciated for the trunk. 2013-04-28 13:33:56 +00:00
firebirds
6e99e299e8 nightly update 2013-04-18 01:12:06 +00:00
alexpeshkoff
046c1c6cb0 Fixes related with CORE-3993 2013-04-17 08:04:45 +00:00
firebirds
5eed40e9f3 nightly update 2013-04-16 01:16:25 +00:00
alexpeshkoff
7ee2887e84 Postfix for CORE-3935 and CORE-3993: avoid opening same database file twice 2013-04-15 16:54:58 +00:00
firebirds
ac5fafb405 nightly update 2013-03-30 01:41:31 +00:00
dimitr
524cd87874 Fixed the error I introduced recently. 2013-03-29 12:11:56 +00:00
firebirds
0444916f76 nightly update 2013-03-25 03:25:19 +00:00
dimitr
5e93b6ba7e Fixed CORE-1604 (Error at database creation by user with non-ascii name) and CORE-3243 (CURRENT_USER and MON$USER don't work properly). 2013-03-24 15:36:18 +00:00
firebirds
bae4a9a7a0 nightly update 2013-03-24 02:26:15 +00:00
asfernandes
c2683380c8 Improvement CORE-4047 - Increase number of input parameters for External Functions (UDFs) to 15. 2013-03-23 02:14:04 +00:00
firebirds
3b2a9ac236 nightly update 2013-03-18 04:16:46 +00:00
dimitr
cd869f43d6 Fixed CORE-4036: Bugcheck or database corruption when attempting to store long incompressible data into a table. 2013-03-17 14:40:00 +00:00
dimitr
0ff58447cf Support for MSVC10. 2013-03-17 12:26:21 +00:00
dimitr
71ceac0bbb Backported the refactored database shutdown from trunk. As a side effect, it also resolves CORE-4045: Server crashes during database shutdown. 2013-03-17 12:24:27 +00:00
firebirds
3ac3ae884e nightly update 2013-03-13 03:15:37 +00:00
alexpeshkoff
7e8a1d161a New fix for CORE-3995: Slight problem with GBAK parameter checking 2013-03-12 11:44:06 +00:00
firebirds
41305ec16b nightly update 2013-03-12 02:01:15 +00:00
alexpeshkoff
eb1b48090e Bacported fix for CORE-3360: update ... returning ... raises -551 (no perm to update) for a column present only in the returning clause 2013-03-11 15:44:58 +00:00
firebirds
26b130eb9a nightly update 2013-03-11 11:25:20 +00:00
hvlad
b811b82d35 Restore previous code for Win64 platform as it missed __control87_2() routine. 2013-03-10 08:35:04 +00:00
firebirds
863d4b6e4d nightly update 2013-03-08 02:48:42 +00:00
hvlad
0ade3f4cc9 Fixed the way floating point exceptions are masked.
This is quick and incomplete solution for the CORE-4043 (FBCLIENT.DLL forces Delphi to ignore EZeroDivide exceptions). 
Complete solution should be MT-safe and sooner of all requires FP-exception handling code in the engine.
2013-03-07 12:11:12 +00:00
dimitr
29d893141e Fixed Windows build. Thanks to Dmitry Kovalenko. 2013-03-07 05:32:13 +00:00
firebirds
69b424c989 nightly update 2013-03-07 01:26:56 +00:00
alexpeshkoff
af11f55815 Fixed CORE-4058 2013-03-06 11:33:08 +00:00
firebirds
bdfaa69ba6 nightly update 2013-03-05 03:08:27 +00:00
firebirds
cac6ee66d3 nightly update 2013-03-02 02:02:11 +00:00
alexpeshkoff
4cdebb8d50 Postfix for CORE-3990 2013-03-01 13:50:59 +00:00
alexpeshkoff
d9145c849a Backported fix for CORE-3990: Fix broken EDIT in isql 2013-03-01 11:56:38 +00:00
firebirds
8477039f3e nightly update 2013-03-01 02:47:43 +00:00
alexpeshkoff
ef9448f7eb Postfix for CORE-3908: Engine leaks memory and crashes when lot of autonomous transactions have been started and finished 2013-02-28 16:24:31 +00:00
firebirds
63653e72f1 nightly update 2013-02-28 00:44:27 +00:00
alexpeshkoff
2a29d5f10d Backported fix for CORE-3908: Engine leaks memory and crashes when lot of autonomous transactions have been started and finished 2013-02-27 14:49:45 +00:00
firebirds
2d04eade67 nightly update 2013-02-27 02:30:28 +00:00
alexpeshkoff
87ab3bf41f Fixed CORE-4055: Dialect is not set in internal connections to security database 2013-02-26 11:58:15 +00:00
hvlad
1ceba373f2 Fixed bug CORE-4054 : role not passed on external execute stmt 2013-02-26 11:13:20 +00:00
firebirds
bcf4c19e39 nightly update 2013-02-26 01:23:02 +00:00
hvlad
f05d1bb095 Ported fix for bug CORE-4051 : Memory leak when sorting big records 2013-02-25 10:05:23 +00:00
firebirds
08a441603c nightly update 2013-02-15 01:21:40 +00:00
robocop
a947d21f7c Misc. 2013-02-14 04:29:13 +00:00
firebirds
7046c6858b nightly update 2013-01-31 08:17:23 +00:00
dimitr
9a9cfb31df Fixed the recently introduced deadlock. This is the simplest possible patch, other solutions are possible. 2013-01-30 11:23:17 +00:00
firebirds
71017c810b nightly update 2013-01-26 08:38:50 +00:00
dimitr
a9358db6c7 Slightly optimized fetches for internal EXECUTE STATEMENT. 2013-01-25 12:37:45 +00:00
firebirds
94233be876 nightly update 2013-01-25 09:51:21 +00:00
dimitr
56924b0a2d Slightly improved the condition for the Adriano's backward compatibility workaround, this optimizes METD_move() into a plain memcpy() for strings with an explicitly declared charset. 2013-01-24 16:47:03 +00:00
dimitr
ad604b8862 This trivial optimization saves a few percents of performance when reading/writing DBKEYs from/to compatible local variables. 2013-01-24 09:29:46 +00:00
dimitr
216ef35338 Backported dbkey/recver optimization. 2013-01-24 07:10:29 +00:00
firebirds
084005c7e0 nightly update 2013-01-19 03:55:29 +00:00
dimitr
38ae66edb0 A little bit more defensive approach to the dbb handle validation. It also avoids the second handle lookup. 2013-01-17 16:32:48 +00:00
firebirds
4851c402b1 nightly update 2013-01-17 03:56:03 +00:00
dimitr
e0068e7fcd Simplest fix for CORE-4038: Broken optimization for the stored dbkeys. 2013-01-16 17:02:23 +00:00
firebirds
c68dc7ea6d nightly update 2013-01-11 03:52:10 +00:00
firebirds
a1b7a1f584 nightly update 2013-01-09 04:24:05 +00:00
paul_reeves
d948dfffde Fix for CORE-4020
Instantiate cpl applet methods with LPARAM instead of long.
2013-01-08 13:47:47 +00:00
firebirds
a24d30f926 nightly update 2012-12-30 03:35:20 +00:00
alexpeshkoff
e713fdb4c5 Backported fix for CORE-3932: can create but cant delete user with username containing double quotes with gsec 2012-12-29 11:16:34 +00:00
firebirds
016c34fbc4 nightly update 2012-12-29 03:35:35 +00:00
alexpeshkoff
9215878883 Use same context for ASTs and async API calls 2012-12-28 16:19:29 +00:00
alexpeshkoff
4d5faef00b Once I've got NULL object here, could not reproduce, but fix is trivial 2012-12-28 16:16:34 +00:00
alexpeshkoff
198dd90a22 Avoid use of already dropped attachment in system transaction 2012-12-28 12:40:56 +00:00
alexpeshkoff
506021360e Validating attachment by proving its existence in the attachment list makes no sense after validation in handle's array 2012-12-28 10:31:45 +00:00
alexpeshkoff
b8a04dae7e Explicit NULL check makes no sense when validating against array of known handles (pointers) 2012-12-28 10:22:30 +00:00
firebirds
524948c027 nightly update 2012-12-28 03:37:44 +00:00
alexpeshkoff
c98ccc6f4c Fixed CORE-3944: SuperClassic crashes when running script that delete attachments and move database to offline 2012-12-27 13:26:31 +00:00
firebirds
562620dd7d nightly update 2012-12-27 04:05:51 +00:00
dimitr
95047dd88f Easy fix for the crash reported by Alex privately. More generic solution is desirable. 2012-12-26 10:27:30 +00:00
firebirds
4a9dffec26 nightly update 2012-12-25 03:34:40 +00:00
dimitr
654b668434 Favor quick search over quick add/remove. This is more important in our code, especially in the debug build. 2012-12-24 14:26:02 +00:00
firebirds
72ede8a0cc nightly update 2012-12-24 03:34:01 +00:00
dimitr
88635bfc4a Corrected the check_database() logic. 2012-12-23 06:52:07 +00:00
firebirds
5f12ef1d9b nightly update 2012-12-23 03:37:43 +00:00
dimitr
8ef43e01dc Moved the statement cancellation logic from the transaction level to the attachment level. It reuses the already existing ATT_cancel_raise handling and simplifies the code.
Also, encapsulated the shutdown/cancellation signaling code.
2012-12-22 16:56:36 +00:00
dimitr
4d8273fe11 Fixed the missing dbb flags, especially DBB_security_db. 2012-12-22 15:02:18 +00:00
dimitr
e432c56660 We don't need the new flags for these tasks. 2012-12-22 12:55:34 +00:00
dimitr
916828a19e Fixed the crash that appears after PublicHandle became an inherited class (thus containing vtable). 2012-12-22 12:30:13 +00:00
firebirds
ae650b596e nightly update 2012-12-21 03:51:39 +00:00
alexpeshkoff
4c3978ea22 Backported fix for CORE-3995: Slight problem with GBAK parameter checking 2012-12-20 15:28:25 +00:00
firebirds
af103214d5 nightly update 2012-12-19 09:24:18 +00:00
dimitr
72fd24bf66 Slightly refactored the error handling. 2012-12-18 19:35:51 +00:00
dimitr
b2a6cadd84 Attempted to fix the user savepoint logic I've accidentally broken in a recent commit. 2012-12-18 13:30:16 +00:00
dimitr
1a70da9ff9 Fixed the Windows build. 2012-12-18 11:20:56 +00:00
firebirds
7435a2de81 nightly update 2012-12-15 04:00:52 +00:00
alexpeshkoff
74938ad13e Fixed CORE-3935 and CORE-3993 2012-12-14 17:45:38 +00:00
firebirds
b37cf969a9 nightly update 2012-12-14 04:05:50 +00:00
dimitr
7a6b9f8966 1) Encapsulated the remaining external looper calls inside a SEH block. It allows to catch async exceptions coming while result set is being fetched. No performance penalty has been noticed.
2) Slightly refactored the looper call chain to avoid code duplication.
3) Fixed CORE-4010: Fetch cannot be subsequently interrupted via DELETE FROM MON$STATEMENTS.
2012-12-13 18:00:35 +00:00
firebirds
b422a1736e nightly update 2012-12-13 04:08:58 +00:00
dimitr
79c9da1c05 Misc. 2012-12-12 08:31:00 +00:00
dimitr
9dbf5dce69 Yet another complementary bugfix for CORE-4004. 2012-12-12 07:46:09 +00:00
firebirds
a37e04ec4a nightly update 2012-12-12 04:09:08 +00:00
dimitr
c848fc69a8 Avoid garbage to be written to the shadow's header page. It does not really hurt, but anyway. 2012-12-10 05:10:45 +00:00
firebirds
5a1ce71dc7 nightly update 2012-12-07 04:14:40 +00:00
dimitr
ae48c19a87 Another bunch of changes for CORE-4004: Sometimes long-running operations cannot be interrupted by asynchronous shutdown / cancellation requests. The looper nodes should never ignore req_unwind and transform it to something else.
Review and testing would be appreciated, especially in regard to EXE_assignment.
2012-12-06 11:43:48 +00:00
firebirds
5ae85cea08 nightly update 2012-12-05 04:06:14 +00:00
hvlad
543b50779f Alternative fix for CORE-3034 (Bugcheсk 300 (can't find shared latch)), see also CORE-4004 (Sometimes long-running operations cannot be interrupted by asynchronous shutdown / cancellation requests) 2012-12-04 10:28:01 +00:00
firebirds
9062a43c89 nightly update 2012-12-04 04:47:17 +00:00
dimitr
65178c062a Yet another complementary bugfix for CORE-4004 that avoids an index root page remaining locked after cooperative GC has been terminated by user. 2012-12-03 11:04:34 +00:00
dimitr
8d7cce247d Complementary patch to the prior one. It avoids unnecessary operations (system table lookups) if we don't need index or constraint names to be reported in the error message. 2012-12-03 10:47:11 +00:00
dimitr
1c043b0e46 Fixed one part of CORE-4004: Sometimes long-running operations cannot be interrupted by asynchronous shutdown / cancellation requests. It's definitely not a good idea to ignore errors coming from inside BTR_key(). 2012-12-03 10:44:39 +00:00
dimitr
f760ee4c58 Fixed the partially disabled interruptions, accidentally broken with CORE-3323 in v2.5.1. 2012-12-03 10:33:11 +00:00
firebirds
0499ea88d4 nightly update 2012-12-01 04:06:38 +00:00
hvlad
3e0920857c Fixed bug CORE-4002 : Error message "index unexpectedly deleted" in database trigger on commit transaction 2012-11-30 08:12:43 +00:00
firebirds
d5decaf997 nightly update 2012-11-30 04:51:52 +00:00
alexpeshkoff
83ba186572 avoid const warnings 2012-11-29 14:37:33 +00:00
firebirds
faf9d908c8 nightly update 2012-11-28 05:08:49 +00:00
dimitr
bebc026b62 Backported CORE-1295: Bad optimization of queries with DB_KEY. 2012-11-27 17:37:14 +00:00
hvlad
8433046836 Backport change from trunk.
It fixes bug CORE-3998 : Parametrized execute statement fails
2012-11-27 11:12:50 +00:00
hvlad
12e97c4a07 Make BPB correctly 2012-11-27 11:10:37 +00:00
firebirds
0ef6458bd3 nightly update 2012-11-23 04:28:21 +00:00
dimitr
87c65731bc Implemented CORE-3994: Improve the limbo transactions scan at the end of the sweep. 2012-11-22 14:05:37 +00:00
dimitr
5eaecbbfc0 Backported (from trunk) more reliable AST handling during the database cleanup. 2012-11-22 12:45:45 +00:00
dimitr
9f60a27a7f Simplest possible fix for CORE-3989: Bad performance / slow response when many concurrent sorts are executed. It's mostly targeted at SC/CS architectures, as one can hardly have really concurrent sorts in v2.x SS. FB3 is likely to have a more complex solution. 2012-11-22 09:46:29 +00:00
firebirds
b66fb567fd nightly update 2012-11-21 04:21:01 +00:00
hvlad
fd40f95751 Make sure relation's flags are loaded from disk before analyze them 2012-11-20 12:23:17 +00:00