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

39674 Commits

Author SHA1 Message Date
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
firebirds
1b3c83b086 nightly update 2012-05-30 03:35:30 +00:00
mkubecek
e8f880caaf isql: fix output if charset is different from locale 2012-05-29 20:25:11 +00:00
firebirds
d0eb7c082a nightly update 2012-05-27 03:30:47 +00:00
hvlad
6bacb20a9c Fixed bug CORE-3855 : Blobs, inserted into GLOBAL TEMPORARY TABLE ON COMMIT DELETE ROWS, could be placed into newly allocated pages even if there is enough free place on some existing data page 2012-05-26 21:51:29 +00:00
hvlad
afe802e663 Misc 2012-05-26 21:35:51 +00:00
firebirds
cd2cd55dca nightly update 2012-05-25 03:35:42 +00:00
alexpeshkoff
4124096666 Postfix for CORE-3612 - send errors to stderr 2012-05-24 09:07:04 +00:00
firebirds
e37aa2721e nightly update 2012-05-24 03:45:29 +00:00
mkubecek
6d1f6cabb1 Fix broken isql history with libedit 3.0 2012-05-23 09:37:13 +00:00
firebirds
1e960e235d nightly update 2012-05-23 03:29:12 +00:00
firebirds
68c7d9ce16 nightly update 2012-05-18 03:35:20 +00:00
dimitr
3c87b4dd77 One more correction. This restores the accidentally changed original logic. 2012-05-17 09:10:46 +00:00
dimitr
e2c3eaaec5 Correction. 2012-05-17 08:55:30 +00:00
dimitr
34e13e6189 More fixes for CORE-3557. 2012-05-17 08:08:26 +00:00
firebirds
f5bc3dee8c nightly update 2012-05-15 03:35:25 +00:00
asfernandes
2da8379cf3 Backport fix for CORE-3611 - Wrong data while retrieving from CTEs (or derived tables) with same column names. 2012-05-14 15:18:40 +00:00
firebirds
8d516daf4c nightly update 2012-05-13 03:33:49 +00:00
hvlad
3a6a7e1944 Fixed bug CORE-3845 : Interruption of 'heavy query' leads to 0 ms (zero duration) in it`s statistics in trace log 2012-05-12 09:18:02 +00:00
firebirds
ed77b57903 nightly update 2012-05-12 03:34:17 +00:00
hvlad
eda40f7fb3 Fixed bug CORE-3841 : Corrupted database after inserting rows.
It should also fix CORE-3839 : Values disappearing from index
2012-05-11 19:34:45 +00:00
hvlad
6cdb7c6c6a Fixed bug CORE-3844 : Validation not detects one specific case of index corruption 2012-05-11 19:32:50 +00:00
firebirds
de6ec22675 nightly update 2012-05-10 05:21:21 +00:00
dimitr
b266e11a1c Fixed my patch for CORE-3777 to cure the unexpectedly introduced regression. 2012-05-09 13:55:59 +00:00
firebirds
4ed8969760 nightly update 2012-05-04 04:59:17 +00:00
hvlad
74843be54a Removed accidentally committed code. 2012-05-03 21:24:13 +00:00
hvlad
7d22e58e1f Fixed bug CORE-3814 : SuperClassic server crashes when performing a database shutdown (FW=OFF) 2012-05-03 13:48:04 +00:00
hvlad
a2e489ed28 Improvement CORE-3598 : TRACE: add statistics of actions that were after transaction finished 2012-05-03 11:11:44 +00:00
hvlad
ec32e5d006 Trace errors raised by failed ON TRANSACTION ROLLBACK and ON DISCONNECT triggers. 2012-05-02 21:42:53 +00:00
hvlad
1bcb480d8d Improvement CORE-3539 : TRACE: add ability for logging ERRORs that occur in runtime (lock conflicts, PK/UK/FK violations et al) 2012-05-02 20:53:18 +00:00
firebirds
55344bea87 nightly update 2012-04-28 04:58:21 +00:00
dimitr
cc6d7212d8 Fixed CORE-3834: Usage of a NATURAL JOIN with a derived table crashes the server. 2012-04-27 16:31:24 +00:00
alexpeshkoff
74a5fa0552 Fixed posix build 2012-04-27 13:21:44 +00:00
firebirds
5c3aa3f063 nightly update 2012-04-27 04:59:14 +00:00
firebirds
fe8428312a nightly update 2012-04-21 04:55:59 +00:00
hvlad
9b840d46b5 Fixed bug CORE-3825 : If an autocommit transaction (i.e. transaction started with isc_tpb_autocommit option) run DDL using EXECUTE STATEMENT it will produce a bugcheck 287 (Too many savepoints) 2012-04-20 20:01:12 +00:00
firebirds
189a1b7807 nightly update 2012-04-17 04:59:13 +00:00
hvlad
f4c4f79d04 Fixed bug CORE-3819 : Wrong service name to port address resolution in database connection string 2012-04-16 15:16:31 +00:00
firebirds
461828f5e8 nightly update 2012-04-14 04:59:12 +00:00
dimitr
3c9d33406f Additional fix for CORE-3807. Otherwise, _utf8 'A' is considered equal to _win1251 'ABCD' etc. The original code didn't check for charsets/collations but IMHO this was wrong. 2012-04-13 09:09:08 +00:00
firebirds
39dd3120bc nightly update 2012-04-13 05:25:35 +00:00
dimitr
35b431dc55 For the safety sake, let's not ignore possible OS level errors even if they seem unlikely to happen. 2012-04-12 16:32:05 +00:00
hvlad
d408de8899 Fixed bug CORE-3812 : Connection lost to database during massive dropping and altering primary keys of tables 2012-04-12 10:48:02 +00:00
firebirds
db53636033 nightly update 2012-04-09 04:59:14 +00:00
dimitr
c781f51ecf Rolled back the optimization committed recently due to the found regressions. A better solution is researched. 2012-04-08 05:57:12 +00:00
firebirds
3e192470ae nightly update 2012-04-08 05:20:49 +00:00
hvlad
58dfe8adb8 Fixed bug CORE-3810 : isql: zero divide + coredump when use "-pag 0" command switch & set heading on inside .sql script 2012-04-07 18:06:48 +00:00
dimitr
448f1871df Fixed CORE-3686: Incorrect (zero) values are reported for "acquire blocks" and "mutex wait" counters in the fb_lock_print output. 2012-04-07 09:07:24 +00:00
firebirds
15b739412a nightly update 2012-04-07 05:02:53 +00:00
firebirds
0e524d6f44 nightly update 2012-04-06 05:07:28 +00:00
dimitr
61b460b13d Fixed my yesterday's commit. 2012-04-05 09:48:04 +00:00
firebirds
61cb211058 nightly update 2012-04-05 05:11:28 +00:00
dimitr
b587289d81 Fixed CORE-3807: Error "Invalid expression in the select list" can be unexpectedly raised if a string literal is used inside a GROUP BY clause in a multi-byte connection. 2012-04-04 11:00:14 +00:00
firebirds
03b8f80a98 nightly update 2012-04-03 05:04:40 +00:00
dimitr
cfe3bd7cb3 Fixed CORE-3806: Wrong data returned if a sub-query or a computed field refers to the base table in the ORDER BY clause. 2012-04-02 15:19:30 +00:00
firebirds
7a84244e25 nightly update 2012-04-01 05:07:33 +00:00
asfernandes
373ec81807 Fixed CORE-3802 - Firebird runs out of memory while restoring database backup. 2012-03-31 15:59:38 +00:00
firebirds
3b229e1b0c nightly update 2012-03-30 05:11:05 +00:00
hvlad
9ac7d597a1 Fixed bug CORE-3801 : Warnings could be put twice in status-vector 2012-03-29 13:53:21 +00:00
hvlad
660fa3b651 Fixed bug CORE-3799 : with caller privileges option don't work with autonomous transaction option 2012-03-29 13:25:15 +00:00
firebirds
f79900f9b7 nightly update 2012-03-29 05:02:44 +00:00
firebirds
467a64aa73 nightly update 2012-03-28 04:59:23 +00:00
alexpeshkoff
6080eec2a2 Backported fix for CORE-3770: fbtracemgr loads CPU up to ~55% when no activity is present 2012-03-27 13:17:23 +00:00
dimitr
a57ac8ec23 Optimized the shared counter generator to avoid LM calls if there's no contention on the protecting lock. 2012-03-27 07:11:34 +00:00
dimitr
e085f6008f Fixed CORE-3791: Performance degrades when actively working with databases bigger than the available RAM amount. 2012-03-27 07:10:19 +00:00
firebirds
bc51183bcd nightly update 2012-03-25 05:18:27 +00:00
robocop
0dc7e5c10b Misc. 2012-03-24 21:25:48 +00:00
firebirds
42bfaa0a92 nightly update 2012-03-23 05:05:14 +00:00
dimitr
0895718ad1 Slightly changed the logic to make it easier to understand. 2012-03-22 07:55:12 +00:00
firebirds
f683640e14 nightly update 2012-03-22 04:56:14 +00:00
hvlad
b1c6cfb23a Undo patch for CORE-3468 2012-03-21 12:55:32 +00:00
firebirds
a9d7f049d1 nightly update 2012-03-20 04:57:12 +00:00
alexpeshkoff
38d3fc7dd3 Removed debugging code 2012-03-19 09:15:52 +00:00
alexpeshkoff
cf0128b304 Postfix for AV due to CORE-3649 2012-03-19 09:10:43 +00:00
alexpeshkoff
c3d90b3a9b misc 2012-03-19 09:10:20 +00:00
firebirds
e215392854 nightly update 2012-03-16 05:15:06 +00:00
dimitr
4a77cfbc42 Fixed CORE-1992: bad BLR -- invalid stream for union select. 2012-03-15 12:08:57 +00:00
dimitr
12b1853b2e Fixed CORE-3092: ROW_COUNT is not cleared before the singleton INSERT statement, 2012-03-15 10:39:16 +00:00
dimitr
9bad18069b Fixed CORE-3625: MON$IO_STATS doesn't report page writes performed asynchronously (at the AST level). 2012-03-15 09:28:18 +00:00
firebirds
32d6b14968 nightly update 2012-03-15 05:02:58 +00:00
dimitr
8f7ab9dbbe Pleased Paul V. so that CORE-3195 (Concatenation to CHAR(32766/7) impossible) could be resolved. 2012-03-14 17:46:31 +00:00
dimitr
54747cbf38 Fixed CORE-3569: CHAR(32767) present in XSQLVAR with length 32765. The JRD part of the patch is not strictly required, as it's used exclusively for VARCHARs right now, but let's be protected for the unpredictable future. 2012-03-14 17:37:20 +00:00
dimitr
ed317170a4 Fixed CORE-2286: Selecting from MON$CALL_STACK within a Trigger or SP sometimes return 0 rows. 2012-03-14 15:24:12 +00:00
firebirds
f699e5460b nightly update 2012-03-10 04:55:26 +00:00
robocop
774d92e674 Misc. 2012-03-09 08:27:15 +00:00
firebirds
b9ed86fcf8 nightly update 2012-03-08 05:00:12 +00:00
firebirds
23c896d622 nightly update 2012-03-07 04:58:37 +00:00
alexpeshkoff
a38f89cf14 Fixed CORE-3682: Firebird 2.5.1 OSX Lion hangs on attaching to second database 2012-03-06 13:28:02 +00:00
firebirds
5303363f75 nightly update 2012-03-06 04:58:09 +00:00
dimitr
48fe775f98 Fixed the commit mistake. 2012-03-05 13:48:09 +00:00
dimitr
7fcc8b1e05 Fixed CORE-3777: Conversion error from string when using GROUP BY. 2012-03-05 13:47:11 +00:00
firebirds
d9d63ac86f nightly update 2012-03-04 04:58:08 +00:00
alexpeshkoff
950f499f12 Backported fix for CORE-3649: gbak deletes backup file even if error happens when it's already successfully closed 2012-03-03 16:48:40 +00:00
firebirds
e8ccfa6d0c nightly update 2012-03-02 04:58:37 +00:00
alexpeshkoff
772ed0f2d3 Backported fix for CORE-3762: gsec returns 0 return code on some errors 2012-03-01 17:13:11 +00:00
firebirds
b6d0e53ea4 nightly update 2012-02-28 05:17:15 +00:00
asfernandes
33b4780605 Backported fix for CORE-2457 - UNICODE_CI internal gds software consistency check. 2012-02-27 15:51:39 +00:00
asfernandes
d16fad4d0f Backported fix for CORE-1997 - Broken foreign key handling for multi-segmented index using multi-level collations. 2012-02-27 15:51:03 +00:00
hvlad
850683a012 Fixed bug CORE-3778 : AV at connection shutdown 2012-02-27 08:17:20 +00:00
firebirds
cacae34819 nightly update 2012-02-16 04:58:22 +00:00
dimitr
4b38132006 Fixed CORE-3761: Conversion error when using a blob as an argument for the EXCEPTION statement. 2012-02-15 10:01:42 +00:00