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

39420 Commits

Author SHA1 Message Date
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