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
dimitr
18a9e37dd3
Second attempt to fix CORE-2812. The prior one introduced regressions.
2010-11-19 12:14:06 +00:00
firebirds
5eb9570d14
nightly update
2010-11-19 03:18:00 +00:00
alexpeshkoff
dfd62ed1ab
Misc
2010-11-18 16:19:35 +00:00
firebirds
09ffc404a5
nightly update
2010-11-14 03:18:16 +00:00
dimitr
363cabb31d
This is a poor man's extension to the solution for CORE-1038 (Remote shadows on NT-based systems) that's expected to fix CORE-3059 (RemoteFileOpenAbility fails on Windows).
2010-11-13 06:40:38 +00:00
dimitr
f9f4f90392
Backport CORE-2812: Prohibit any improper mixture of explicit and implicit joins.
2010-11-13 06:34:17 +00:00
firebirds
ac2077d8a7
nightly update
2010-11-13 03:17:09 +00:00
alexpeshkoff
88a841e379
Backported fix for CORE-3229: Records: "operating system directive open failed, Too many links" in firebird.log
2010-11-12 12:20:31 +00:00
firebirds
dbdff636a9
nightly update
2010-11-12 03:19:09 +00:00
alexpeshkoff
1b259c777a
Backported fix for CORE-3212: Error compile 2.5 for FreeBSD
2010-11-11 13:56:38 +00:00
firebirds
b388718882
nightly update
2010-11-10 03:19:00 +00:00
asfernandes
f8a665bbdf
Fixed CORE-3222 - View with "WITH CHECK OPTION" doesn't like TRIM function in WHERE
2010-11-09 17:27:55 +00:00
firebirds
8ec39fbf41
nightly update
2010-11-09 03:19:48 +00:00
dimitr
db756441ce
Avoid destructing the temporary transaction twice. This is expected to fix the crash reported in CORE-3207.
2010-11-08 19:43:53 +00:00
dimitr
8886291062
Comment.
2010-11-08 16:32:38 +00:00
dimitr
12dac02bb7
Fixed CORE-3029: Bugcheck "Too many savepoints (287)" at rollback after exception at EXECUTE BLOCK with exception handler.
2010-11-08 16:30:43 +00:00
alexpeshkoff
eb5414af46
Backported fix for CORE-3220: isc_info_svc_get_users returns error message in the result cluster
2010-11-08 16:17:25 +00:00
dimitr
959fcfc181
Fixed unregistered crash when database pools are being printed into the file. We don't have such code enabled by default, so this isn't going to affect production systems.
2010-11-08 10:34:14 +00:00
dimitr
5903323d92
Fixed an old error which handles aggregates wrongly. So far it seems harmless for versions prior to v3.0 where it has been fixed, but let's be on the safe side.
2010-11-08 10:31:44 +00:00
dimitr
475f873682
Fixed CORE-3217: Server crashes inside the lock manager when multiple connections attaching/detaching simultaneously.
2010-11-08 10:10:29 +00:00
dimitr
c45d0e5cdb
Fixed CORE-3218: Statement cancellation request might be silently ignored by the currently running SQL code.
2010-11-08 09:16:14 +00:00
dimitr
e7ade52371
Hopefully, this should fix a (supposedly rare) crash I've seen in the debugger once.
2010-11-08 08:48:50 +00:00
dimitr
07a932f7c9
If we swallow the exception, let's zap it inside the status vector as well. This fixes the assertion in the debug build.
2010-11-08 07:22:06 +00:00
firebirds
0a3dde0687
nightly update
2010-11-04 03:16:54 +00:00
asfernandes
fd68563a7e
Fixed CORE-3211 - String truncation occurs when selecting from a view containing NOT IN inside
2010-11-04 01:10:59 +00:00
firebirds
177f2b9654
nightly update
2010-11-03 03:23:15 +00:00
dimitr
85ba1c7719
Fixed CORE-3210: The cursor identified in the UPDATE or DELETE statement is not positioned on a row. no current record for fetch operation in SELECT query.
2010-11-02 11:20:01 +00:00
firebirds
9b84466870
nightly update
2010-11-02 03:25:11 +00:00
dimitr
52ed454bc9
Fixed CORE-3208: Significant memory leaks with recursive queries.
2010-11-01 19:22:55 +00:00
firebirds
6a908577da
nightly update
2010-11-01 03:17:07 +00:00
dimitr
1ee06e52cd
Fixed CORE-3205: isc_dsql_exec_immed2() doesn't return error codes isc_stream_eof and isc_sing_select_err.
...
Also, restore the legacy behavior for EXECUTE PROCEDURE and RETURNING queries. This is expected to fix CORE-3203.
2010-10-31 08:47:41 +00:00
firebirds
a7150ae37f
nightly update
2010-10-29 03:20:18 +00:00
dimitr
5b2c35b3e3
Fixed CORE-3202: execute_immediate API call family may crash the remote server.
2010-10-28 18:09:39 +00:00
firebirds
ac48bc9250
nightly update
2010-10-27 03:18:06 +00:00
asfernandes
dfb7ee4af5
Fixed CORE-3157 - COMMENT ON PARAMETER - Statement leads in a consumption of 1.7 GB RAM and a runtime of more than 1 Minute
2010-10-26 23:34:46 +00:00
firebirds
9cc25a77cf
nightly update
2010-10-20 03:18:07 +00:00
alexpeshkoff
15132bc4a6
Backported fix for CORE-3148: possible segfault in SQZ_apply_differences
2010-10-19 13:28:18 +00:00
firebirds
aebad12f40
nightly update
2010-10-19 03:18:59 +00:00
alexpeshkoff
67e1a2eab4
Make it build using clang++ - thanks to marius
2010-10-18 17:23:26 +00:00
hvlad
9ddc0ef468
Fixed bug CORE-3188 : page 0 is of wrong type (expected 6, found 1)
2010-10-17 21:35:24 +00:00
asfernandes
98bf701126
Fixed CORE-3180 - ALTER VIEW with not matched columns in declaration and selection crashs the server
2010-10-17 14:32:04 +00:00
firebirds
a85fd4cfa8
nightly update
2010-10-16 03:24:37 +00:00
alexpeshkoff
3871d93629
Fixed issues, found by clang
2010-10-15 15:18:35 +00:00
alexpeshkoff
0c139f1f55
CORE-3184: Committed Damyan's patch - port for linux/hppa and linux/alpha
2010-10-15 09:07:13 +00:00
firebirds
80e7b4e8e0
nightly update
2010-10-15 03:18:19 +00:00
alexpeshkoff
f126fd52a3
Ported fix for CORE-3022: gpre C++ compiler warnings with GCC 4.4.1
2010-10-14 11:34:59 +00:00
alexpeshkoff
f65856fca2
Fixed issue, detected by clang++ compiler
2010-10-14 06:25:12 +00:00
dimitr
9c7f9d96ef
Misc.
2010-10-14 05:18:24 +00:00
firebirds
66b4b413da
nightly update
2010-10-14 03:18:41 +00:00
dimitr
24777be976
Fixed the major part of the slowdown in CORE-2827: Very slow prepare for complex interrelated metadata with many triggers indirectly involved in the operation being prepared.
...
Code cleanup.
2010-10-13 12:11:52 +00:00
firebirds
28a44566d7
nightly update
2010-10-09 03:16:09 +00:00
hvlad
a9c57583b7
Backported fix for bug CORE-3170 : Engine could enter infinite loop if EVENT's are posted but no subscribers exists
2010-10-08 11:58:59 +00:00
firebirds
c9a14d5dba
nightly update
2010-10-08 03:23:16 +00:00
hvlad
b48913d054
Backport fix for bug CORE-3168: exclude_filter doesn't work for <services></section> section of the Trace facility
2010-10-07 16:14:31 +00:00
firebirds
0c82314261
nightly update
2010-10-07 03:16:47 +00:00
asfernandes
4ba1897fe8
Fixed CORE-3164 - Parameterized requests involving blob fields fails when connected using charset UTF8
2010-10-06 15:39:08 +00:00
firebirds
11dfe769b2
nightly update
2010-10-06 03:23:50 +00:00
firebirds
6a04e955ec
nightly update
2010-10-05 03:16:56 +00:00
alexpeshkoff
0018ec61b5
Fix for CORE-3156: Problems using UDFs on Mac
2010-10-04 14:58:07 +00:00
alexpeshkoff
07f427c07f
Fix for CORE-3156: Problems using UDFs on Mac
2010-10-04 13:07:50 +00:00
firebirds
e6f4a8b9ef
nightly update
2010-09-26 03:17:56 +00:00
asfernandes
f7dc73e483
Fixed CORE-3141 - The last column in a view is returning as a null value even when its not
2010-09-25 20:12:27 +00:00
firebirds
b42afd054a
nightly update
2010-09-25 03:17:59 +00:00
dimitr
bd155d07a0
Fixed unregistered error in the BLR printer output.
2010-09-24 11:34:09 +00:00
firebirds
b6173f6c57
nightly update
2010-09-23 03:22:16 +00:00
alexpeshkoff
337cf76d66
Fixed CORE-3143: Segmentation fault may occur when user interrupts gstat
2010-09-22 06:06:36 +00:00
firebirds
7ab26b1a42
nightly update
2010-09-19 03:16:36 +00:00
dimitr
df67a3d0f3
Fixed CORE-3137: Partial rollback is possible for a selectable procedure modifying data.
2010-09-18 06:52:12 +00:00
firebirds
bbe02ece6b
nightly update
2010-09-15 03:31:03 +00:00
firebirds
e0b892a955
nightly update
2010-09-14 03:16:39 +00:00
dimitr
945b928f75
Fixed CORE-3131: WIN1257_LV (Latvian) collation is wrong for 4 letters: A E I U.
2010-09-13 15:00:20 +00:00
firebirds
ffc4a4681d
nightly update
2010-09-10 03:17:47 +00:00
alexpeshkoff
da804c497d
Make it cvs/svn independent
2010-09-09 10:53:16 +00:00
alexpeshkoff
15282c4493
Fixed package version generation for release builds
2010-09-09 10:16:46 +00:00
firebirds
2a69dc33dd
nightly update
2010-09-04 03:20:44 +00:00
firebirds
9d2a4740e8
nightly update
2010-09-03 03:26:05 +00:00
dimitr
30bc027c82
Update.
2010-09-02 18:10:58 +00:00
dimitr
fe6de63673
Cleanup.
2010-09-02 15:02:47 +00:00
firebirds
ac32099f6a
nightly update
2010-09-02 03:17:18 +00:00
asfernandes
68fbad90c3
Fixed CORE-3101 - Cannot alter the domain after migrating from older versions
2010-09-01 15:35:20 +00:00
firebirds
8355ba699d
nightly update
2010-08-27 03:18:15 +00:00
asfernandes
8875978dda
Fixed CORE-3109 - [Crash] isc_dql_exec_immed3_m for "create database ..." and NULL transaction
2010-08-27 02:51:41 +00:00
alexpeshkoff
bb5850961a
Fixed CORE-3117: After an error in GDS_CLOSE_BLOB() blob handle becomes invalid
2010-08-26 10:52:11 +00:00
firebirds
3dc3678427
nightly update
2010-08-26 03:17:23 +00:00
dimitr
3c23e62580
Fixed a few suspicious places related to the variable cloning.
2010-08-25 08:00:30 +00:00
firebirds
500eccd348
nightly update
2010-08-24 08:39:15 +00:00
firebirds
3fb40e46ff
nightly update
2010-08-24 03:15:58 +00:00
alexpeshkoff
f11f5ec8b9
Fixed CORE-3116: gsec outputs list of users to stderr instead stdout
2010-08-23 11:39:40 +00:00
alexpeshkoff
79e1e788c6
Applied suggested by Dmitry Kovalenko fix - it helps avoid AV when buffer is allocated exactly at the end of physical memory segment
2010-08-23 10:06:11 +00:00
firebirds
fc48004207
nightly update
2010-08-14 03:17:34 +00:00
firebirds
8e9353e092
nightly update
2010-08-12 03:16:45 +00:00
dimitr
5f1d41a7f6
More complete solution for CORE-2822: Error "no current row for fetch operation" when subquery includes a non-trivial derived table.
...
It's also expected to fix CORE-3103: Select statement with more non indexed reads in version 2.5RC3 as in version 2.1.3.
Patch for trunk will follow a bit later.
2010-08-11 10:50:33 +00:00
dimitr
a57c2d0794
Fixed the remaining issue related to CORE-1079: Every attach of fbclient/fbembed library to the host process leaks 64KB of memory.
2010-08-11 07:36:52 +00:00
hvlad
2dbab9603b
Backport fix for bug CORE-3100 : Wait mode and lock timeout of external transaction of EXECUTE STATEMENT not matched to corresponding parameters of local transaction
2010-08-07 21:29:43 +00:00
asfernandes
70ad7ef699
Correction for CORE-3090
2010-08-07 02:49:25 +00:00
asfernandes
ea94b629ff
Fixed CORE-3090 - Incorrect LEFT JOIN result using table and derived constant subquery
2010-08-07 01:50:35 +00:00
hvlad
4156a471d3
Fixed bug CORE-3089 : Attempt of execute statement on external datasource failed when datasource is interbase 4.1
2010-08-06 15:11:16 +00:00
asfernandes
88845a9c3d
Fixed CORE-2893 - Regression introduced with fix for CORE-2893 causes double processing of nodes when preparing a statement. Debug build aborts.
2010-08-06 02:12:38 +00:00
asfernandes
fc5c390c69
Fixed CORE-3094 - Parameters doesn't work with NOT IN from a selectable procedure
2010-08-04 15:26:23 +00:00
asfernandes
b2861fbbc4
Backport fix for CORE-3091 - Built-in function POWER(X, Y) does not work when the X argument is negative and the Y value is scaled numeric but integral
2010-08-02 22:43:09 +00:00
hvlad
21bf6b821c
Backport fix for bug CORE-3079 : Strong slowing down inserts with EVENT-s in a single transaction
2010-07-26 11:05:14 +00:00
alexpeshkoff
ebea0fd1b0
Fixed Mac port
2010-07-16 07:20:55 +00:00
alexpeshkoff
7067fb4862
Fixed unregistred bug (rc3 vs rc2 regression) - races when closing touchThread
2010-07-14 10:27:54 +00:00
dimitr
16f7504427
Update.
2010-07-13 07:18:24 +00:00
dimitr
c5edc55b7c
Backported recent Vlad's bugfix.
2010-07-13 07:10:23 +00:00
dimitr
10aa0ae917
Mirror the recent Alex's change for Windows. It doesn't seem being strictly required, but let's be safe.
2010-07-13 07:05:30 +00:00
alexpeshkoff
5113a8d668
Backported fix for CORE-3067: Objects not unmapped when shared memory is closed
2010-07-09 11:15:44 +00:00
dimitr
f659679b6f
Fixed the old bug which was left unnoticed until RC3 where Pair<MetaName, MetaName> was used as a key for a b-tree.
...
At the first glance, it promises only wrong ordering of items, but in fact it trashes the b-tree internals and crashes the server :-(
It's unregistered and undocumented, but being a very recent RC3 only regression, let's leave it this way.
I suppose the intended code should be !(v.first < this->first), but we have the operator == defined, so I used a simpler form.
2010-07-08 10:44:35 +00:00
dimitr
7f9f7680de
Fixed CORE-3064: Using the procedure alias inside an explicit plan crashes the server.
2010-07-02 10:43:33 +00:00
dimitr
9c5b7d512e
Update.
2010-06-25 09:06:55 +00:00
hvlad
e9ac9979b1
Disable hard limit on number of worker threads. Something more smart should be implemented instead.
2010-06-23 13:30:18 +00:00
asfernandes
559306231e
Fix problem seen by Vlad where crash happens when our older ICU is found
2010-06-18 11:21:05 +00:00
asfernandes
f70830ba40
Fixed CORE-2900 - "AV - The code attempted to access a virtual address without privilege to do so" using aggregate distinct
2010-06-16 11:47:19 +00:00
alexpeshkoff
4532058a72
Backported fix for CORE-3046: Assertion after ALTER TABLE
2010-06-15 12:00:00 +00:00
hvlad
8783fe190a
Fixed bug CORE-3034 : Bugchek 300 (can't find shared latch)
2010-06-14 11:45:47 +00:00
asfernandes
a731f0f72a
Backport fix for CORE-2893 - Expression in a subquery may be treated as invariant and produce incorrect results
2010-06-13 14:57:51 +00:00
asfernandes
d6f61eef63
Backported fix for CORE-2985 - The new 2.5 feature to alter COMPUTED columns doesn't handle dependencies well.
2010-06-12 19:22:24 +00:00
asfernandes
72d9063ac9
Backport fix for CORE-3038 - The insert failed because a column definition includes validation.
2010-06-12 16:49:39 +00:00
alexpeshkoff
ef56abd46e
Mac port - use dispatch semaphores
2010-06-08 13:18:45 +00:00
alexpeshkoff
7a69886c3b
repeat commit for CORE-3021 in SVN
2010-06-08 11:40:58 +00:00
asfernandes
1674db2688
Port CVS changes (includes CORE-2993, CORE-3010, CORE-3011, CORE-3015, CORE-3016, CORE-3017 and CORE-3021)
2010-06-05 02:41:14 +00:00
dimitr
2959850d94
Fixed unregistered bug: MON$MEMORY_USED for connection/database is bigger than MON$MEMORY_ALLOCATED.
2010-05-21 08:24:16 +00:00
dimitr
3f5c8125c6
Update.
2010-05-21 05:20:32 +00:00
alexpeshkoff
42ffe4fcf8
Fixed and improved diagnostics when thread failed to start
2010-05-20 10:36:19 +00:00
alexpeshkoff
dc4452eb0e
Raise NPROC limit on unix to avoid errors when starting many threads
2010-05-20 10:30:43 +00:00
hvlad
18ed4f65c8
Improvement CORE-3008 : Add attachment's CHARACTER SET name into corresponding trace records
2010-05-19 16:13:25 +00:00
hvlad
567444e6e5
Fixed bug CORE-2981 : Error in Trace plugin (use local symbols in query)
2010-05-18 21:57:50 +00:00
alexpeshkoff
6771beb989
Backported fix for CORE-3006: /tmp/firebird and files in it may get 'root' (i.e. GID == 0) group
2010-05-18 10:38:38 +00:00
alexpeshkoff
1bf39b9840
Fixed gstat output - backported from HEAD
2010-05-18 10:08:22 +00:00
dimitr
4589c7a5b3
Update.
2010-05-18 08:36:56 +00:00
asfernandes
86456e13c7
CORE-2929 - 'Invalid ESCAPE sequence' when connecting to the database
2010-05-17 15:41:21 +00:00
asfernandes
cdd366e32c
Backport fix for CORE-2826 - Join condition fails for UTF-8 databases
2010-05-17 15:38:26 +00:00
alexpeshkoff
f453571799
Backported fix for CORE-3000: Error on delete user "ADMIN"
2010-05-17 10:24:20 +00:00
dimitr
c62a17ca3c
Fixed the second part of the problem described in CORE-2933: Very slow execution of a script that creates a lot of metadata.
2010-05-17 09:54:56 +00:00
dimitr
48d910f641
Fixed the first part of the problem described in CORE-2933: Very slow execution of a script that creates a lot of metadata.
2010-05-17 09:43:49 +00:00
dimitr
5245a6f8d6
Correction for my prior fix.
2010-05-17 09:37:48 +00:00
robocop
8258918b1e
Misc.
2010-05-11 08:25:18 +00:00
asfernandes
6bd4674047
Subtask CORE-2996 - Fix error code incompatibility introduced in fix for CORE-2552
2010-05-07 15:29:18 +00:00
hvlad
75ba8a9767
Fixed bug CORE-2995 : Same error in status vector reported twice
2010-05-07 11:21:37 +00:00
alexpeshkoff
dfa92fba23
Fixed windows build - thanks to Paul Reeves
2010-05-06 13:58:26 +00:00
alexpeshkoff
8629bea0ec
Backported fix for CORE-2984: gbak -v srv:db stdout creates a broken backup
2010-05-06 13:42:57 +00:00
hvlad
7d949976ab
Comments for patch for CORE-2993
2010-05-06 12:26:05 +00:00
hvlad
75080a148f
Fixed bug CORE-2993 : Fatal lock manager error "Invalid lock id (NNN)" while working with monitoring tables on a highly loaded system
2010-05-06 12:07:34 +00:00
dimitr
afc5e9fe18
Update.
2010-05-05 12:33:04 +00:00
alexpeshkoff
8bdea51951
Fixed unregistered bug (added by me at RC3 stage): wrong mutex when shutting down security database
2010-05-04 14:45:08 +00:00
hvlad
f97d944aaa
More explicit error message
2010-04-29 11:16:48 +00:00
hvlad
0979b7c928
Better fix for AV at exit() time, CORE-2917 :
...
a) WaitForSingleObject hungs when process unloads embedded library
b) shmem file was changed in incompatime way so build 26000 can't work together with any previous builds
c) time_t in shmem replaced by SINT64 to avoid possible issues with builds by MSVC 7.1 (where time_t is 32-bit)
2010-04-29 08:51:24 +00:00
hvlad
a8051dd37b
Fixed bug CORE-2977 : FB 2.1 incorrectly works with indexed fields of type DATE in OLD ODS (9.1)
2010-04-26 12:18:18 +00:00
dimitr
856515e037
Update.
2010-04-21 12:53:35 +00:00
alexpeshkoff
83f7c70b4e
Backported fix for CORE-2896: Embedded connections done by root (like gbak, gsec, gfix) hang in linux
2010-04-21 11:49:42 +00:00
alexpeshkoff
e8d1eeae2f
Fixed segfault at exit() time, CORE-2917
2010-04-20 11:08:32 +00:00
alexpeshkoff
21a55b537f
Fixed use of debugging switch in classic mode
2010-04-19 15:33:02 +00:00
alexpeshkoff
6ea33a5255
Fixed posix build, CORE-2917
2010-04-19 11:24:51 +00:00
asfernandes
1ee74f5e97
Fixed CORE-2971 - Invalid UPDATE OR INSERT usage may lead to successive "request depth exceeded. (Recursive definition?)" error
2010-04-19 01:13:38 +00:00
hvlad
f7f1defb48
Fixed bug CORE-2917 : Sever Hangs on I/O error during "open" operation for file "/tmp/firebird/fb_trace_ksVDoc".
...
Posix part will follow soon (by Alex).
2010-04-18 18:06:09 +00:00
dimitr
b29556cfec
Fixed CORE-2965: Incorrect ROW_COUNT value after SINGULAR condition.
2010-04-16 03:51:54 +00:00
dimitr
0b6bb2a326
Fixed detach from the security database during the engine shutdown.
2010-04-14 09:58:48 +00:00
dimitr
09fe788339
Eliminated one more case to have an unrestoreable database.
2010-04-14 09:57:13 +00:00
robocop
ebbd3c45cb
Totally misc.
2010-04-14 09:48:37 +00:00
hvlad
209b003187
Fix for bug CORE-2956 : Problems with requests of procedure's parameters.
2010-04-13 14:28:38 +00:00
dimitr
459fec5084
Correction.
2010-04-13 08:11:45 +00:00
dimitr
0c2a5e3a76
Avoid polluting firebird.log on Vista/Win7 systems when running as application.
2010-04-13 08:09:10 +00:00
dimitr
ef49a50c33
Fixed CORE-2966: Wrong results or unexpected errors while sorting a large data set.
2010-04-13 06:55:46 +00:00
dimitr
5f717015ed
Corrections for SQL states.
2010-04-09 08:02:20 +00:00
dimitr
7107237cf0
Corrections for SQL states.
2010-04-09 07:53:15 +00:00
dimitr
8630fd43e8
Removed the wrong assertion. In fact, the buffer can be larger than 64K, despite what the [unused] length argument suggests.
2010-04-08 04:00:59 +00:00
alexpeshkoff
c71232d226
Backported fix for CORE-2948: Segfault when server is exiting
2010-03-29 15:24:49 +00:00
dimitr
58307abbf5
Sorry, wrong calculation of the build number.
2010-03-29 07:39:50 +00:00
dimitr
c814a39fcf
Update.
2010-03-29 07:23:21 +00:00
hvlad
fb9c2a4099
Rework fix for bug CORE-2934 : Memory leak in FB2.5 trace plugin
...
Thread safety
2010-03-26 15:36:14 +00:00
hvlad
ff4e296cb9
Additional fix for bug CORE-2934 : Memory leak in FB2.5 trace plugin
2010-03-26 15:35:32 +00:00
hvlad
6d9f5e255a
Fixed bug CORE-2943 : parsing error recursive query with two recursive parts
2010-03-25 13:50:16 +00:00
alexpeshkoff
2e4fea1c04
Fixed CORE-2942: Huge (>10Gb) memory consumption by some fb_inet_server processes
2010-03-25 10:33:28 +00:00
hvlad
b9ea5ee00c
Fixed bug CORE-2934 : Memory leak in FB2.5 trace plugin
2010-03-24 12:29:15 +00:00
hvlad
035e567c37
Fixed bug CORE-2940 : Trace output could contain garbage data left from filtered out statements
2010-03-23 20:06:07 +00:00
hvlad
dba4d51c98
Fixed bug CORE-2936 : Wrong page type (expected 7 found N) error
2010-03-22 22:48:19 +00:00
asfernandes
7b1c7db1ee
Fixed CORE-2923 - Problem with dependencies between a procedure and a view using that procedure
2010-03-20 19:12:51 +00:00
asfernandes
050646b6f4
Fixed CORE-2930 - DROP VIEW drops output parameters of used stored procedures
2010-03-19 00:50:33 +00:00
hvlad
2d74ff8c72
Fixed bug CORE-2907 : Exception handling with EXECUTE STATEMENT
2010-03-18 10:29:07 +00:00
alexpeshkoff
522fa7fd9a
Backported fix for CORE-2928: Buffer overflow in gsec
2010-03-17 10:08:32 +00:00
hvlad
eb7abe4939
Fixed bug CORE-2628 : FB 2.5-beta2-win32 denied FreeAdhocUDF library functions
2010-03-16 14:56:40 +00:00
alexpeshkoff
5098340106
Fixed CORE-2859: Security database remains locked after replacing database
2010-03-16 10:21:46 +00:00
dimitr
b149388cb6
Correction for one of my prior optimizer commits.
2010-03-16 05:00:33 +00:00
alexpeshkoff
2519440c2b
Backported fix for CORE-2876: Wrong backup mode when using "alter database add difference file"
2010-03-14 15:27:44 +00:00
dimitr
961531e45e
Update.
2010-03-13 10:41:42 +00:00
hvlad
1ef4fd61d8
Fixed bug CORE-2920 : Incorrect execution of volatile SQL statements inside EXECUTE STATEMENT
2010-03-12 15:32:03 +00:00
dimitr
3004534e27
Correction.
2010-03-10 18:43:38 +00:00
dimitr
e26e17c00e
Fixed CORE-2914: Server crashes while restoring a database having an expression index referencing a non-existent UDF.
2010-03-10 18:35:22 +00:00
dimitr
7b613c441d
Misc.
2010-03-10 18:08:55 +00:00
dimitr
dcc66e0baf
Fixed CORE-2916: Broken error handling in the case of a conversion error happened during index creation.
2010-03-10 18:06:06 +00:00
asfernandes
05b983be1d
Backport change that fix CORE-2910, found by Dmitry
2010-03-09 18:55:13 +00:00
hvlad
108acc7aa4
Fixed bug CORE-2908 : Engine could crash or raise not expected errors working with ODS 8.x database
2010-03-06 14:26:40 +00:00
asfernandes
c25eaf2d49
Backport fix for CORE-2898 - CHAR_TO_UUID and UUID_TO_CHAR works different in big/little endian architectures
2010-03-05 02:00:54 +00:00
asfernandes
eb705dbc6e
Backport fix for CORE-2888 - A memory corruption cause incorrect query evaluation and may crash the server
2010-02-28 14:42:04 +00:00
asfernandes
1f121838c4
Fixed CORE-2886 - Query with "NOT IN <subselect from view>" fails
2010-02-27 18:22:04 +00:00
dimitr
767a819321
This should fix CORE-2833: Changing data that affects an expression index that contains references to null date fields fails.
2010-02-26 07:53:52 +00:00
dimitr
a74cde93f7
Update.
2010-02-25 16:21:59 +00:00
dimitr
bab92d279a
Update.
2010-02-25 16:21:34 +00:00
dimitr
d6872b326e
Fixed the accidentally broken security on system tables.
2010-02-25 10:04:38 +00:00
robocop
4059c77204
Backport CORE-2750: Physical backup cannot restart operations after the explicit difference file has been dropped.
2010-02-23 07:08:13 +00:00
hvlad
d940b8ce4f
Fixed bug CORE-2879 : Sweep could raise error : page 0 is of wrong type (expected 6, found 1)
2010-02-22 10:16:06 +00:00
hvlad
4acd0f8e0c
Misc: wrong line ends
2010-02-22 10:12:26 +00:00
asfernandes
84185f2f83
Fixed CORE-2875 - String right truncation error when char column longer than 4096 bytes is compared with string constant
2010-02-19 10:10:55 +00:00
dimitr
f81532645e
Fixed CORE-1089: Wrong ordering with views, distinct, left join and order by
...
and CORE-2871: Outer ORDER BY clause has no effect.
2010-02-16 14:35:35 +00:00
hvlad
45db74ba08
Fixed bug CORE-2867 : SuperClassic leaks semaphores on disconnect
2010-02-14 22:56:41 +00:00
hvlad
2cf6410ad8
Fixed bug CORE-2864 : Listener process of Classic Server leak handles.
...
The code, removed in rev. 1.296, was and is relevant :)
2010-02-14 12:14:00 +00:00
robocop
051e69c1d4
Backport CORE-2858: Possible memory trashing when raising some exceptions to signal failed security checks. Thanks Dmitry.
2010-02-12 11:23:35 +00:00