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

39674 Commits

Author SHA1 Message Date
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
dimitr
88bdcebaea Additional fixes for CORE-3981 (Sub-optimal predicate checking while selecting from a view) that also resolve the regression CORE-3986 (GSEC couldn't change user password after fix for CORE-3981). 2012-11-20 10:15:35 +00:00
hvlad
18f91be9c6 FIxed bug CORE-3988 : Engine crashed when trace or audit is active 2012-11-20 09:32:55 +00:00
firebirds
89ccac15ae nightly update 2012-11-20 04:17:55 +00:00
hvlad
c08c25a723 Make previous fix for CORE-3969 platform independent. 2012-11-19 08:41:50 +00:00
firebirds
4a59ad94ce nightly update 2012-11-19 04:32:25 +00:00
dimitr
ef258b7712 Fixed CORE-3979: Server crashes while unwinding changes in an autonomous transaction. 2012-11-17 15:17:15 +00:00
firebirds
17b5568478 nightly update 2012-11-15 04:11:36 +00:00
dimitr
cf1212cc09 A more generic solution for CORE-1245: Incorrect column values with outer joins and views. It also fixes CORE-3981: Sub-optimal predicate checking while selecting from a view. 2012-11-14 08:14:35 +00:00
dimitr
ef51f56de4 Fixed CORE-3978: Invalid transaction counters may be reported in firebird.log during the sweep. 2012-11-13 09:38:37 +00:00
firebirds
05b31dcf16 nightly update 2012-11-12 04:39:35 +00:00
dimitr
3c9e272829 Fixed CORE-3977: DELETE FROM MON$STATEMENTS does not interrupt a longish fetch. 2012-11-11 15:26:39 +00:00
robocop
0ef0030c18 Misc. 2012-11-11 06:25:50 +00:00
firebirds
630441efd3 nightly update 2012-11-10 04:46:29 +00:00
firebirds
f10d591989 nightly update 2012-11-09 05:01:02 +00:00
firebirds
a19a912aeb nightly update 2012-11-07 04:42:37 +00:00
firebirds
2bca9f8b4e nightly update 2012-11-02 05:46:03 +00:00
hvlad
e1481ec095 Fixed bug CORE-3969 : Memory leak when doing a lot of iterations FBSVCMGR with action_trace_start, _list and _stop 2012-11-01 12:03:18 +00:00
alexpeshkoff
8ddf02f4d8 This should finally fix CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot 2012-11-01 09:09:31 +00:00
firebirds
249e3d546a nightly update 2012-11-01 04:38:59 +00:00
dimitr
183c3f9876 Avoid a sweep pass for temporary tables, as the sweeper always sees those tables as empty, but even setting them up as empty has a non-zero cost. 2012-10-31 14:16:00 +00:00
firebirds
7a162d89f2 nightly update 2012-10-15 03:40:58 +00:00
dimitr
e315f5a4a8 Fixed the backporting bug introduced while fixing CORE-3902. 2012-10-14 17:39:47 +00:00
firebirds
822c3262f7 nightly update 2012-10-13 03:45:37 +00:00
asfernandes
36dcd8e561 Backport fix for CORE-3946 - UNICODE collations does not work with ICU 49. 2012-10-12 21:20:30 +00:00
firebirds
c31eeef318 nightly update 2012-10-09 04:19:23 +00:00
hvlad
711ed0426d Fix compilation 2012-10-08 17:57:47 +00:00
firebirds
1413f70a3c nightly update 2012-09-30 03:42:38 +00:00
robocop
62dafac5f2 Misc. 2012-09-30 00:23:52 +00:00
firebirds
13ebef2eda nightly update 2012-09-29 03:38:19 +00:00
hvlad
04fa4cc972 Fixed bug CORE-3940 : I/O error during "GetFileSize" operation for file XXXX 2012-09-28 08:14:07 +00:00
firebirds
9aecf3584d nightly update 2012-09-25 04:11:40 +00:00
hvlad
0bb689c143 Fixed bug CORE-3934 : Value of log_sweep parameter in trace configuration is ignored by trace plugin (assumed always true) 2012-09-24 07:07:03 +00:00
firebirds
43363777a9 nightly update 2012-09-12 03:44:56 +00:00
dimitr
6900e9cb01 Bumped the version number. 2012-09-11 14:46:51 +00:00
dimitr
f64a328331 Fixed CORE-3924: Bugcheck 291 (cannot find record back version) if GTT is modified concurrently using at least one read-committed read-only transaction. 2012-09-11 13:47:11 +00:00
firebirds
703060fa40 nightly update 2012-09-06 03:39:07 +00:00
hvlad
2aa9c706fc Fixed bug CORE-3916 : gfix & "Index x is corrupt (missing entries) in table ..." all indexes on large tables 2012-09-05 19:31:39 +00:00
firebirds
63a7253a74 nightly update 2012-09-05 03:41:50 +00:00
hvlad
8dc7b564ca Improvement CORE-3656 : Support for sweep information in Trace API.
Fixed case when sweep cleaned up relation with all records deleted but corresponding event was missed in trace log.
2012-09-04 08:50:54 +00:00
firebirds
b419310c41 nightly update 2012-08-31 10:59:56 +00:00
alexpeshkoff
3216e8bcc3 Better diagnostic (CORE-3786) 2012-08-31 10:34:05 +00:00
alexpeshkoff
6103cb1b2f Backported fix for CORE-3912: segfault in superclassic 2012-08-31 10:27:13 +00:00
firebirds
3f32a604fa nightly update 2012-08-30 03:51:38 +00:00
dimitr
161386ee2f Restored the ODS level compatibility with v2.5.1 index keys, while using the "old good" index key format in new indices. It allows to claim that CORE-3675 and CORE-3853 are fixed (after migration via backup/restore) but still operate almost correctly with keys created in v2.5.1. This is *much* better than silently returning wrong data if a v2.5.1 database is used with v2.5.2 without backup/restore. 2012-08-29 16:22:39 +00:00
alexpeshkoff
94c25bff1e Use better name from trunk for CORE-3911 2012-08-29 12:34:22 +00:00
alexpeshkoff
ed1a72ba0f Fixed CORE-3911: API entrypoints Bopen and BLOB_open are not visible on Darwin 2012-08-29 11:35:16 +00:00
alexpeshkoff
755790d8c3 Fixed CORE-3740: SELECT using IN list with >413 elements causes crash on Mac 2012-08-29 11:30:42 +00:00
firebirds
9f5109ca88 nightly update 2012-08-29 03:45:12 +00:00
dimitr
4f506c9efd Misc. 2012-08-28 18:00:22 +00:00
dimitr
30f37376ae Fixed the broken (working as no-op) sweep in SuperServer.
Minor cleanup and simplification.
2012-08-28 17:58:36 +00:00
firebirds
0d737ccea2 nightly update 2012-08-25 03:42:56 +00:00
alexpeshkoff
04c02049dd Better fix for CORE-3786: Firebird 2.5.1 Classic (32-bit) Hangs on MacOSX 10.7 (Lion) on DB create after reboot 2012-08-24 13:30:50 +00:00
firebirds
5374b683ce nightly update 2012-08-21 03:55:10 +00:00
asfernandes
7e2aec6715 Backport fix for CORE-3902 - Derived fields may not be optimized via an index. 2012-08-21 00:53:06 +00:00
firebirds
74e8696858 nightly update 2012-08-17 04:50:55 +00:00
dimitr
cda8b90205 Corrected the arguments. Luckily, their binary values are the same. 2012-08-15 15:22:36 +00:00
alexpeshkoff
1b59032fbd Fixed CORE-3786: Firebird 2.5.1 Classic (32-bit) Hangs on MacOSX 10.7 (Lion) on DB create after reboot 2012-08-14 10:37:10 +00:00
dimitr
98bc75069d Fixed the server crash in Stack::assign(). 2012-08-13 16:49:33 +00:00
firebirds
da886e266a nightly update 2012-08-11 04:41:10 +00:00
robocop
ff02d61612 Misc. 2012-08-11 02:39:35 +00:00
firebirds
cfd38c7aef nightly update 2012-08-09 04:44:33 +00:00
firebirds
8f055e9f4a nightly update 2012-07-29 04:22:14 +00:00
firebirds
467c11e727 nightly update 2012-07-26 04:50:05 +00:00
alexpeshkoff
edd1b8289e Mac port 2012-07-25 11:11:55 +00:00
firebirds
85bb950aa6 nightly update 2012-07-24 04:50:53 +00:00
hvlad
f2216519fc Fixed bug CORE-3895 : High memory usage when PSQL code SELECT's from stored procedure which modified some data 2012-07-23 09:20:57 +00:00
firebirds
100844abf4 nightly update 2012-07-17 04:31:15 +00:00
alexpeshkoff
763937dea0 Removed debugging code 2012-07-16 10:43:27 +00:00
firebirds
a6a78702ec nightly update 2012-07-13 04:40:59 +00:00
firebirds
c177f2d171 nightly update 2012-07-12 04:49:38 +00:00
firebirds
63463c8f9b nightly update 2012-07-11 05:07:03 +00:00
asfernandes
87d19fb0c8 More changes related to CORE-3238 and CORE-3887. 2012-07-11 01:38:29 +00:00
asfernandes
e6169577fb Rework on CORE-3238 - Makes GEN_UUID return a compliant RFC-4122 binary UUID.
Fixed CORE-3887 - CHAR_TO_UUID and UUID_TO_CHAR works different in big/little endian architectures - problem similar to CORE-2898.
2012-07-10 16:00:27 +00:00
firebirds
007955fa59 nightly update 2012-07-06 04:37:56 +00:00
hvlad
1d8dc33a8b Fixed bug CORE-3884 : Server crashes on preparing empty query when trace is enabled 2012-07-05 09:49:23 +00:00
firebirds
242c9fb6a6 nightly update 2012-06-30 04:50:30 +00:00
hvlad
0b46626bb7 Enabled per-table runtime stats for sweeper (necessary for CORE-3656).
I don't think it will have noticeable performance penalty on current HW.
2012-06-29 16:29:13 +00:00
alexpeshkoff
94dc5b1e90 Removed unused var - thanks to Adriano 2012-06-29 07:14:39 +00:00
firebirds
28ccd98575 nightly update 2012-06-29 04:33:44 +00:00
hvlad
05dc7aae67 Improvement CORE-2668 : Write note into log when automatic sweep is started 2012-06-28 10:53:54 +00:00
hvlad
53fc571d65 Missed piece (CORE-3656) 2012-06-28 08:29:37 +00:00
hvlad
4f9a670470 Improvement CORE-3656 : Support for sweep information in Trace API 2012-06-28 08:07:56 +00:00
hvlad
23acb0f751 Improvement CORE-3879 : Make fb_lock_print a bit more handy 2012-06-28 07:20:35 +00:00
firebirds
951bb7ae13 nightly update 2012-06-28 04:39:32 +00:00
alexpeshkoff
23016b79e9 Backported fix for posix of CORE-3875: GBak does not check correctly parameters and backups random database with -B ":" 2012-06-27 11:54:03 +00:00
firebirds
b7f230a640 nightly update 2012-06-25 04:38:41 +00:00
hvlad
781d2e322b Fixed bug CORE-3860 : Trace API: Faulty database filter crashes server 2012-06-24 09:13:53 +00:00
firebirds
cfe2780375 nightly update 2012-06-22 04:39:21 +00:00
dimitr
81ea92cad3 Fixed the second part of CORE-3873: Server crashes while switching to the shadow if the disk I/O fault happens while flushing the cache. 2012-06-21 12:16:49 +00:00
dimitr
1636bb06fe The first part of the fix for CORE-3873: Server crashes while switching to the shadow if the disk I/O fault happens while flushing the cache. 2012-06-21 11:17:57 +00:00
firebirds
5a55774baa nightly update 2012-06-21 04:48:11 +00:00
hvlad
b8e6e1e303 Backported fix from v3 : backup state lock should be released at latch timeout, else lock state accounting becomes inconsistent. 2012-06-20 18:57:39 +00:00
alexpeshkoff
e74a496acf Backported implementation of CORE-2666: Make it possible to use API to do remote backups/restores 2012-06-20 11:56:36 +00:00
firebirds
767361cd56 nightly update 2012-06-11 03:42:33 +00:00
dimitr
3f93bb8ff6 Optimizer level solution for CORE-2790/CORE-3449. 2012-06-10 13:22:59 +00:00
firebirds
7b1f80b4e1 nightly update 2012-06-05 03:47:46 +00:00
alexpeshkoff
57293c30cb Fixed CORE-3769: The message 'Unknown tag (4) in isc_svc_query() results' appears when fbtracemgr is interrupted by Ctrl-C 2012-06-04 16:53:22 +00:00
dimitr
cf6e3d0969 Rolled back the ODS level solution for CORE-2709 as it causes cross-version compatibility issues (CORE-3853) as well as functional regressions (CORE-3675). Another solution is likely to be committed instead. 2012-06-04 08:57:09 +00:00
firebirds
afca604ca3 nightly update 2012-06-01 03:28:44 +00:00
alexpeshkoff
87f4c847f1 Backported fix for 32-bit build 2012-05-31 11:01:20 +00:00