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

38880 Commits

Author SHA1 Message Date
alexpeshkoff
ec4e491d11 Fixed CORE-3398: GRANT ADMIN ROLE not accepted 2011-03-21 15:09:21 +00:00
firebirds
42d29f1bf5 nightly update 2011-03-19 03:24:31 +00:00
alexpeshkoff
68d00482e2 Fixed CORE-3397: Unresolved symbols in intl and trace libraries 2011-03-18 17:48:03 +00:00
firebirds
6106f3a298 nightly update 2011-03-18 03:22:22 +00:00
hvlad
6cdb30e76d Fixed bug CORE-3394 : Failed attempt to violate unique constraint could leave unneeded "lock conflict" error in status-vector.
Backported more conservative version of patch
2011-03-17 11:17:12 +00:00
firebirds
e74208ced8 nightly update 2011-03-17 03:28:21 +00:00
hvlad
293d5dcb90 Fixed bug CORE-3389 : isc_dsql_exec_immed2 with zero transaction handle could lead to a BUGCHECK(147) 2011-03-16 20:44:07 +00:00
firebirds
199adbf7d4 nightly update 2011-03-10 03:30:19 +00:00
firebirds
26f40ba1b2 nightly update 2011-03-08 03:29:22 +00:00
hvlad
aaf8f901f5 Fixed bug CORE-3328 : Client writes error messages into firebird.log when database is shutted down 2011-03-07 14:30:45 +00:00
firebirds
a8e753859f nightly update 2011-03-05 03:27:08 +00:00
dimitr
0c2900c6c2 The simplest possible fix for CORE-3374: Server may crash or corrupt data if SELECT WITH LOCK is issued against records not in the latest format. Thanks to Vlad. 2011-03-04 17:59:15 +00:00
firebirds
99bedfc9a1 nightly update 2011-03-03 03:27:40 +00:00
hvlad
44b193e9d2 When system requests are released there is no more attachments in database. 2011-03-02 12:25:11 +00:00
firebirds
1b42a57989 nightly update 2011-03-01 03:22:42 +00:00
hvlad
366f4a4c75 System requests should run with valid attachment assigned 2011-02-28 16:03:53 +00:00
firebirds
d725adcb05 nightly update 2011-02-26 03:23:16 +00:00
dimitr
f6e20b1f6a Fixed the regression I introduced recently. This is the simplest version of the fix. 2011-02-25 12:48:29 +00:00
dimitr
a68d2add90 Let's process the sub-node before using it in CMP_get_desc. It helps to avoid a crash if the sub-node is a variable (its e_var_variable argument is not assigned yet). 2011-02-25 09:42:44 +00:00
firebirds
82a883d844 nightly update 2011-02-24 03:22:43 +00:00
dimitr
9860eff5dc More conservative implementation. It should also fix CORE-3356. 2011-02-23 14:08:44 +00:00
firebirds
efb230d5a4 nightly update 2011-02-23 03:24:16 +00:00
hvlad
ae60094a4e Fixed bug CORE-3125 : AV in Worker::shutdown 2011-02-22 14:30:37 +00:00
dimitr
4ca0af4733 Better solution for CORE-3355, as suggested by Vlad. 2011-02-22 12:25:33 +00:00
dimitr
0aac664d7b Misc. 2011-02-22 10:12:22 +00:00
dimitr
2db78d08f3 Reworked fix for CORE-3058. The new one is a poor man's solution which doesn't handle direct system table updates, but a more generic solution seems being an overkill for a point release. 2011-02-22 10:11:23 +00:00
firebirds
8254340139 nightly update 2011-02-22 03:24:18 +00:00
dimitr
e981dc67a6 Correction. 2011-02-21 20:56:54 +00:00
dimitr
6f15590b35 Cleanup. 2011-02-21 11:12:08 +00:00
dimitr
6260b76722 Fixed CORE-3355: Wrong comparison of DATE and TIMESTAMP if index is used. 2011-02-21 11:05:59 +00:00
dimitr
6d4a937667 Fixed CORE-3173: Empty result when select from SP that contains two CTE (second of them with GROUP BY clause) and INNER join. 2011-02-21 07:51:34 +00:00
firebirds
0fb3676c67 nightly update 2011-02-21 03:21:28 +00:00
dimitr
dbd1775fc1 Fixed CORE-3176: View with "subselect" column join table and not use index. 2011-02-20 13:25:14 +00:00
firebirds
68f88c546b nightly update 2011-02-19 03:25:38 +00:00
dimitr
4b03ba59be Restored the pre-v2.5 logic by the customer request. 2011-02-18 06:52:44 +00:00
dimitr
3447e70433 Fixed the main reason for CORE-3233: LIKE, STARTING and CONTAINING fail if second operand >= 32K. Thanks to Adriano. 2011-02-18 06:26:47 +00:00
robocop
b3d34b25c2 Make sure at least one operand is promoted to FB_UINT64 before doing the multiplication. 2011-02-18 04:37:12 +00:00
robocop
0c3d7f3c5d Misc. 2011-02-18 04:35:36 +00:00
robocop
8ac0024ba1 Misc. 2011-02-18 04:33:25 +00:00
robocop
66546ce4c4 Misc. 2011-02-18 04:32:11 +00:00
robocop
d54b4a731f Simplification. 2011-02-18 04:30:45 +00:00
firebirds
c916dc94e9 nightly update 2011-02-18 03:21:36 +00:00
dimitr
55f5ce3def Fixed inability to execute LIKE/STARTING/etc if the second argument is a small (<32KB) blob and the first one is a blob of charset NONE. This is partially related to CORE-3233, see my comment there. 2011-02-17 17:25:47 +00:00
dimitr
f0075041fc Fixed CORE-3353: Predicate (blob_field LIKE ?) describes the parameter as VARCHAR(30) rather than as BLOB.
Also, let's never transfer the CS_dynamic pseudo-charset to the client side.
2011-02-17 07:38:34 +00:00
dimitr
b3450346ca Fixed CORE-3058: New generators are created with wrong value when more than 32K generators was previously created. 2011-02-17 06:00:50 +00:00
firebirds
17b5cc059b nightly update 2011-02-16 03:21:56 +00:00
hvlad
0b3cac18ba Fixed bug CORE-3351 : Windows client could put 10054 error messages into firebird.log at connection time 2011-02-15 10:07:18 +00:00
dimitr
e642bc0f42 Reworked my yesterday's fix to simplify it. 2011-02-15 08:38:32 +00:00
firebirds
35008d189e nightly update 2011-02-15 03:22:57 +00:00
dimitr
1974ff619e Refactored the shared counter to support multiple number spaces.
Changed att_id and tra_id to be generated sequentially (without caching), as agreed with Vlad privately.
Fixed CORE-2305: Make mon$statement_id value constant among monitoring snapshots.
2011-02-14 17:05:23 +00:00
dimitr
f2c890e1fc Fixed CORE-3138: Internal error or crash occurs when accessing any MON$ table after altering its structure. 2011-02-14 11:10:58 +00:00
firebirds
3bb7d22126 nightly update 2011-02-14 03:21:51 +00:00
firebirds
06cb2d009f nightly update 2011-02-10 03:27:16 +00:00
dimitr
1933d37b9f Simplified fix for CORE-3340 (Error in autonomous transaction with empty exception handler: can insert duplicate values into PK/UK column) and its cousin CORE-3341 (Events might not be posted inside the autonomous transaction). It's actually the same bug with different visible effects. 2011-02-09 10:47:42 +00:00
firebirds
08fbcc4c74 nightly update 2011-02-08 03:22:55 +00:00
asfernandes
a5b72a367e Backport simplified fix for CORE-3255 - The server could crash using views with GROUP BY. 2011-02-07 14:32:21 +00:00
firebirds
c4c77f3a42 nightly update 2011-02-05 03:21:27 +00:00
dimitr
3652f11f36 Fixed CORE-3335: Wrong results (internal wrapping occured) for the multi-byte blob SUBSTRING function and its boundary arguments. 2011-02-04 08:41:02 +00:00
firebirds
6106bc6e72 nightly update 2011-02-04 03:21:56 +00:00
dimitr
263d9532e2 Removed the supposedly wrong checkout (it was added in v2.0), as theoretically it can lead to race conditions in the page cache. 2011-02-03 08:00:48 +00:00
hvlad
6722a282e5 Fixed bug CORE-3327 : Thread pool in network server could create more threads than necessary 2011-02-02 14:55:15 +00:00
hvlad
4d0a3d3d67 Fixed bug CORE-3326 : Fast mutex could be left in locked state by dead process 2011-02-02 12:10:12 +00:00
hvlad
241df76bb8 Fixed bug CORE-3325 : At high load it is possible that new process could fail to map shared memory 2011-02-02 11:50:27 +00:00
hvlad
914a21e766 Improvement CORE-3324 : ftracemgr should flush its output from time to time 2011-02-02 11:36:42 +00:00
alexpeshkoff
1633598aa3 Backported fix for CORE-3329:Windows administrator gets RDB$ADMIN role when this is not expected 2011-02-02 11:31:38 +00:00
hvlad
b2b911fe6c Improvement CORE-3323 : Ability to cancel waiting in lock manager 2011-02-02 10:27:48 +00:00
dimitr
cb34e0c6c9 Fixed CORE-3245: SUBSTRING on long blobs truncates result to 32767 if third argument not present. 2011-02-02 10:12:40 +00:00
dimitr
9755df067e Backported Adriano's correction. 2011-02-02 08:15:27 +00:00
alexpeshkoff
d1df5354f6 Fixed deadlock caused by my commit for CORE-3194 2011-02-02 07:54:14 +00:00
firebirds
615665b646 nightly update 2011-02-02 03:24:52 +00:00
hvlad
3db1dd93c8 Warnings 2011-02-01 15:17:49 +00:00
hvlad
4b638d6e28 Misc 2011-02-01 15:05:30 +00:00
hvlad
b877fa6fab Move VALIDATE_LOCK_TABLE from lock.h into lock.cpp : at allows to rebuild just lock.cpp if some need to disable validation of lock table in DEBUG build or enable validation in RELEASE build. 2011-02-01 15:01:10 +00:00
firebirds
65d73e0655 nightly update 2011-02-01 03:26:59 +00:00
hvlad
bbd043ffa3 Fixed bug CORE-3095 : Client receive event's with count equal to 1 despite of how many times EVENT was POSTed in same transaction 2011-01-31 10:32:17 +00:00
asfernandes
b07b7e6996 Backported fix for CORE-3320 - Some MERGE syntax can crash the server. 2011-01-30 14:31:10 +00:00
dimitr
071a98a3aa Attempted to fix CORE-3314: Dependencies are not removed after dropping the procedure and the table it depends on in the same transaction.
The main goal of MET_clear_cache() is to release the cached requests, not to cleanup the metadata at all (and it's not done for triggers, BTW). So setting PRC_obsolete and keeping the object cached seems safe, it will be rescanned upon the next reference.
The fix is to be field tested by the customer.
2011-01-29 12:15:21 +00:00
dimitr
e0648e8078 These checks don't seem required for the new ODS 11 optimizer logic. But they may cause bad effects, see the second example in CORE-3312: Sub-optimal join plan when the slave table depends on the master one via the OR predicate.
Let's remove them and see whether any regressions arise.
2011-01-29 11:30:22 +00:00
alexpeshkoff
8af62682b2 Fixed CORE-3194: Number of connections to linux superclassic has limit equal 508 2011-01-28 16:52:06 +00:00
hvlad
d6ec7d5540 Fixed bug CORE-3315 : Audit plugin records a sencond *FAILED* EXECUTE_STATEMENT_FINISH after a "normal" one 2011-01-28 09:17:51 +00:00
firebirds
a39a4a439f nightly update 2011-01-21 03:49:47 +00:00
dimitr
0005a71d87 Fixed CORE-3312: Sub-optimal join plan when the slave table depends on the master one via the OR predicate. 2011-01-20 07:00:17 +00:00
dimitr
b5f7e91ec7 Fixed CORE-3311: Error "data type unknown" while preparing UPDATE/DELETE statements with the parameterized ROWS clause. 2011-01-20 04:39:18 +00:00
firebirds
cf12250850 nightly update 2011-01-20 03:36:37 +00:00
alexpeshkoff
9a6d19be38 Fixed CORE-3297: nbackup exits without info when firebird.conf is missing. Make all utilities run without firebird.conf - only server requires it's presence. 2011-01-19 12:58:21 +00:00
firebirds
b0d60d57b1 nightly update 2011-01-17 03:29:45 +00:00
alexpeshkoff
e53f8694be Fixed CORE-2756: substring from timestamp - unexpected result 2011-01-16 13:19:52 +00:00
robocop
cafd35ef6c Style. 2011-01-16 09:58:52 +00:00
firebirds
b84f3b969c nightly update 2011-01-16 03:29:53 +00:00
robocop
1f666d9558 Misc. 2011-01-15 09:22:29 +00:00
robocop
36c39d9d72 Misc. 2011-01-15 09:18:40 +00:00
robocop
d9c59b1176 Misc. 2011-01-15 09:09:02 +00:00
robocop
ac3bd4e4f5 Misc. 2011-01-15 09:07:47 +00:00
robocop
b3e6e31fe4 Avoid variable shadowing. 2011-01-15 09:07:02 +00:00
firebirds
9b19148af7 nightly update 2011-01-15 03:32:02 +00:00
dimitr
c8c333b63f Correction. 2011-01-14 06:47:36 +00:00
dimitr
83f36de492 Tuned the code a little in order to avoid redundant retrievals. As a side effect, it downgrades three-way joins to two-way ones, thus helping the optimizer to choose a good plan in the worst (zero selectivity) cases. This should resolve CORE-2933 (Very slow execution of a script that creates a lot of metadata) and CORE-3237 (Slow compilation of stored procedures) without tweaking the optimizer constants. 2011-01-14 06:19:22 +00:00
firebirds
ff27999b07 nightly update 2011-01-13 03:30:24 +00:00
firebirds
13dc9e765e nightly update 2011-01-12 03:32:52 +00:00
asfernandes
1120684ffe Backported fix for CORE-3306 - Invariant sub-query is treated as variant thus causing multiple invokations of a nested stored procedure 2011-01-12 00:15:13 +00:00
dimitr
792fbc8b55 Better fix for CORE-3211. It avoids a crash due to a not initialized rse_relation[] array which is used inside ignore_dbkey(). 2011-01-11 15:55:04 +00:00
firebirds
0d1e1a1aa1 nightly update 2011-01-08 03:37:40 +00:00
dimitr
f225c66bd8 Fixed CORE-3302: Distinct aggregates return wrong (duplicated) data. 2011-01-07 11:24:43 +00:00
firebirds
0eed04c9e2 nightly update 2011-01-05 03:34:11 +00:00
dimitr
dee7663c54 Fixed my stupid mistake. 2011-01-04 12:49:59 +00:00
firebirds
4da55b2246 nightly update 2011-01-03 03:30:25 +00:00
hvlad
0e1ea07d37 More conservative fix for CORE-3282 : EXECUTE STATEMENT parses the SQL text using wrong charset.
Convert into attachment charset query text only
2011-01-02 22:15:33 +00:00
firebirds
afe4356783 nightly update 2010-12-29 03:34:09 +00:00
dimitr
d81d6780b0 CORE-3295: Estimate the actual record compression ratio in the optimizer. 2010-12-28 12:01:06 +00:00
firebirds
575136d5d4 nightly update 2010-12-28 03:30:23 +00:00
hvlad
420f7629c0 Fixed typo at my recent commit for CORE-3266 2010-12-27 22:03:04 +00:00
firebirds
808c73324d nightly update 2010-12-27 03:28:27 +00:00
firebirds
f6f78276ef nightly update 2010-12-24 03:32:26 +00:00
hvlad
c2963f8b82 Fixed bug CORE-3282 : EXECUTE STATEMENT parses the SQL text using wrong charset 2010-12-23 11:10:06 +00:00
firebirds
cb891a1709 nightly update 2010-12-21 03:48:07 +00:00
dimitr
5c3894ec04 Fixed CORE-3283: Bad plan with using LEFT OUTER JOIN in sub-select. 2010-12-20 07:05:21 +00:00
firebirds
ae0b77c13b nightly update 2010-12-18 03:30:51 +00:00
hvlad
a03704111d Better fix for bug CORE-3266 : Race condition between async service detach request and running user trace service 2010-12-17 09:54:17 +00:00
firebirds
03458a726b nightly update 2010-12-16 03:48:28 +00:00
asfernandes
cdd8620649 Backported fix for CORE-3277 - Wrong result for RIGHT(UTF8 varchar) 2010-12-16 00:14:50 +00:00
firebirds
14eec6fdee nightly update 2010-12-13 03:34:35 +00:00
hvlad
b48821ac02 Fixed bug CORE-3119 : 100% CPU USAGE with Unilimited Loop & Index corrupted 2010-12-12 19:17:37 +00:00
firebirds
05bac17bc4 nightly update 2010-12-09 03:33:59 +00:00
dimitr
9fe05ccedb Backported CORE-1274 and CORE-1752. 2010-12-08 10:57:21 +00:00
firebirds
e6e470b5de nightly update 2010-12-03 04:12:52 +00:00
dimitr
5026ef5aec InitPrefix::init() should never throw, it leads to the infinite recursion with a stack overflow. 2010-12-02 19:52:48 +00:00
dimitr
40be6d1f27 Backported CORE-2890: SQLSTATE should also be available as a PSQL context variable like GDSCODE/SQLCODE. 2010-12-02 11:15:19 +00:00
dimitr
70d8d49a45 Updated version info. 2010-12-02 10:41:00 +00:00
firebirds
aa8193e8f2 nightly update 2010-11-30 05:12:18 +00:00
dimitr
5565e8ff4b Correction for one of my past commits. Also, unified the code a bit. 2010-11-29 15:50:36 +00:00
hvlad
fe4cae8856 Fixed bug CORE-3266 : Race condition between async service detach request and running user trace service 2010-11-29 15:05:49 +00:00
firebirds
b1dda8f262 nightly update 2010-11-29 04:41:39 +00:00
dimitr
04a28b45ef Backport. 2010-11-28 19:51:03 +00:00
firebirds
e6f0fcd0e3 nightly update 2010-11-28 04:11:15 +00:00
firebirds
ca6f3fe8c2 nightly update 2010-11-27 04:56:22 +00:00
alexpeshkoff
1f0a33f224 Backported fix for CORE-3261: Assertion when running restore service 2010-11-26 16:56:26 +00:00
firebirds
6e46e12bd0 nightly update 2010-11-26 04:03:29 +00:00
alexpeshkoff
ea3bcabcc2 Check for presence of sync functions 2010-11-25 15:50:13 +00:00
alexpeshkoff
a1ccc9dbad Backported fix for CORE-3259: Deadlock and sefgault when processing ctrl-C in user code 2010-11-25 12:23:46 +00:00
dimitr
41774603b3 Fixed another incarnation of the "request depth exceeded" error, this time it prevents more than 128 expression indices from being created. Reported privately by Timo Partanen. 2010-11-24 15:20:35 +00:00
alexpeshkoff
d87c4fbe3c Fixed awful mistype in my previous commit 2010-11-24 10:12:07 +00:00
firebirds
78d9b00377 nightly update 2010-11-24 03:19:10 +00:00
dimitr
34018f5441 Fixed CORE-3256: Error "request depth exceeded" may appear while preparing a select query against a view with explicit plan. 2010-11-23 12:05:41 +00:00
firebirds
a50dbf014f nightly update 2010-11-22 03:17:20 +00:00
asfernandes
33c0372e0b Backport fixes for:
CORE-3227 - ASCII_VAL() fails if argument contains multi-byte character anywhere
CORE-3228 - RIGHT() fails with multibyte text blobs > 1024 chars
CORE-3244 - POSITION: Wrong result with '' if third argument present
2010-11-21 18:14:42 +00:00
firebirds
9e136b3ac2 nightly update 2010-11-20 03:19:03 +00:00
alexpeshkoff
d4fdc5d9a7 Backported improvement CORE-3248: Set unused bytes of varchar values in message buffer to 0 2010-11-19 17:36:57 +00:00
alexpeshkoff
e6ae6b7d9d Backported fix for CORE-3249: gbak file is not truncated during backup operation 2010-11-19 15:13:41 +00:00
alexpeshkoff
8815bbb63d Backported improvement CORE-3248: Set unused bytes of varchar values in message buffer to 0 2010-11-19 15:11:52 +00:00
hvlad
6af971d5f2 Fixed bug CORE-3219 : trace manager crash server with DSQL_unprepare 2010-11-19 14:33:30 +00:00