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

39073 Commits

Author SHA1 Message Date
robocop
b388d0de0f Misc. 2011-06-11 06:06:16 +00:00
hvlad
2e214d5c7d Backport fix for two related bugs
CORE-3502 : DROP VIEW ignores the existing non-column dependencies, and
CORE-3503 : ALTER VIEW crashes the server if the new version has an artificial (aggregate or union) stream at the position of a regular context in the older version.
2011-06-08 08:57:00 +00:00
firebirds
cb2a44a03d nightly update 2011-06-06 03:21:37 +00:00
hvlad
5ac9733073 Fixed bug CORE-3515 : Index corruption. Validation put "missing entries" message into firebird.log 2011-06-05 08:17:04 +00:00
firebirds
e97bd14d78 nightly update 2011-06-05 03:22:58 +00:00
asfernandes
59d841e92e Backport fix for CORE-3511 - Unquoted role names with non-ASCII characters passed in DPB are upper-cased wrongly. 2011-06-04 18:43:10 +00:00
asfernandes
c644ccd699 Backport fix for CORE-3479 - ASCII_VAL raises error instead of return 0 for empty strings. 2011-06-04 18:42:37 +00:00
firebirds
ce5be1f386 nightly update 2011-06-04 03:31:14 +00:00
alexpeshkoff
772f9af937 Backported CORE-3512: Server hangs when trace is running 2011-06-03 14:10:53 +00:00
firebirds
605de72bd9 nightly update 2011-06-03 03:24:35 +00:00
dimitr
17be2f24d6 Fixed CORE-3508: MON$DATABASE_NAME and MON$ATTACHMENT_NAME fields contain question marks instead of non-ASCII characters regardless of the connection charset. 2011-06-02 13:48:11 +00:00
alexpeshkoff
f698d32265 Fixed CORE-3151: memory allocated in sqlda_sup may be not released in some cases 2011-06-02 08:42:50 +00:00
alexpeshkoff
093179e11f Fixed CORE-3150: segmentation fault in gbak when interrupted with Ctrl-C 2011-06-02 07:45:08 +00:00
firebirds
a854973c49 nightly update 2011-06-02 03:25:02 +00:00
alexpeshkoff
016fd3b757 Backported CORE-3199: nackup fails due to O_NOATIME flag in database open 2011-06-01 12:17:13 +00:00
alexpeshkoff
cd603486ca Backported CORE-3462: Add metadata only restore to Services API 2011-06-01 10:39:29 +00:00
alexpeshkoff
843dfc2c49 Backported CORE-3461: DDL operations fail after backup/restore 2011-06-01 08:55:06 +00:00
firebirds
ea80516246 nightly update 2011-05-31 03:29:57 +00:00
asfernandes
0bda6ba36f Fixed CORE-3489 - Blob transliteration may not happen inside the union. 2011-05-31 00:54:35 +00:00
alexpeshkoff
38e5124847 Fixed CORE-3487: sometimes fbtracemgr segfaults when ending with ctrl+c 2011-05-30 12:39:11 +00:00
dimitr
e04bf21073 Fixed CORE-3387: Client library could hang infinitely waiting for a reply packet on a forcibly disconnected server socket. 2011-05-30 09:55:59 +00:00
firebirds
602f749446 nightly update 2011-05-28 03:23:44 +00:00
mapopa
107f789676 Unused inline function 2011-05-27 09:00:25 +00:00
firebirds
74cb8e6ead nightly update 2011-05-27 03:27:46 +00:00
asfernandes
3cfc3120ad Missed piece for CORE-3491. 2011-05-27 02:00:41 +00:00
asfernandes
d12b551207 Fixed CORE-3491 - Altering of a TYPE OF COLUMN parameter affects the original column. 2011-05-27 01:13:17 +00:00
firebirds
f6f59b728b nightly update 2011-05-26 03:25:45 +00:00
alexpeshkoff
63102d01b5 Fixed CORE-3482: nbackup ctrl-c segfaults and leaves db locked (delta file continues to grow) 2011-05-25 11:50:25 +00:00
alexpeshkoff
351324f490 Fixed CORE-3494: Attach fails after shutdown rejected by handler installed in fb_shutdown_callback() 2011-05-25 11:41:34 +00:00
dimitr
8d1abf0939 Fixed CORE-3493: Adding a value to a timestamp below '16.11.1858 00:00:01' throws 'value exceeds the range for valid timestamp'. v2.1 wasn't really affected although the validation sequence was wrong. 2011-05-25 10:56:22 +00:00
dimitr
bdb2e2a356 Fixed the assertion. 2011-05-25 07:48:24 +00:00
firebirds
ae9964723a nightly update 2011-05-20 03:25:26 +00:00
alexpeshkoff
4682fdcf0d Fixed CORE-3486: GPRE language modules can't be compiled with gcc 4.4 2011-05-19 17:08:01 +00:00
mapopa
c860d79772 comment cleanup EKU: obsolete, replaced by _FILE_OFFSET_BITS 2011-05-19 11:09:02 +00:00
mapopa
5b2bddde7d Disabled, not found anywhere function 2011-05-19 09:42:39 +00:00
mapopa
91a9a9b997 eliminate unused anywere defines 2011-05-19 09:38:07 +00:00
mapopa
e9303889ed Fix license url for IPL 1.0 http://www.firebirdsql.org/index.php?op=doc&id=ipl 2011-05-19 08:33:37 +00:00
mapopa
da56e757f9 License page is hosted here http://www.firebirdsql.org/index.php?op=doc&id=ipl 2011-05-19 08:31:16 +00:00
firebirds
ac0e3b0fcb nightly update 2011-05-17 03:27:10 +00:00
mapopa
72a494be68 Apply Patch that fixes GNU/Hurd Debian build
Firebird FTBFS on GNU/Hurd because MAXPATHLEN is not defined on that
platform.

Attached is a patch which fixes that.  Please apply, it is a simple
fix and it blocks php5 build on GNU/Hurd.


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626931
2011-05-16 14:38:06 +00:00
firebirds
aa3b02c519 nightly update 2011-05-13 03:25:37 +00:00
dimitr
2e987fcc07 Fixed CORE-3477: Passing non-existing SQL parameters always crash server. 2011-05-12 14:51:12 +00:00
dimitr
ac4efcc497 Reduced memory usage for CORE-3457: Optimize the temporary space manager regarding small chunk allocations. 2011-05-12 09:37:47 +00:00
dimitr
401f31a082 Rolled back the patch for CORE-2812 (Prohibit any improper mixture of explicit and implicit joins) because of being too radical for the point release and because of the found issues that require further investigation. The proper solution will be developed for v3.0 only.
This fixes the related regressions CORE-3395 and CORE-3474 reported against v2.5.1.
2011-05-12 08:34:58 +00:00
firebirds
d3b027b883 nightly update 2011-05-11 03:25:47 +00:00
mapopa
bf3d1607f3 Description:fix big-endian mips detection It seems big-endian MIPS defines "MIPSEB"
Author: Damyan Ivanov <dmn@debian.org>
Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474773
2011-05-10 13:29:57 +00:00
mapopa
98990e84e8 Description: ensure atomic_ops.h defined AO_REQUIRE_CAS in order to ensure
that AO_compare_and_swap is available even if emulated.
 This would give poor performance on platforms where no native implementation
 is available, but at least it gives some chance of running Firebird
 Author: Damyan Ivanov <dmn@debian.org>
 Debian-Bug: 565861 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565861
2011-05-10 13:15:20 +00:00
hvlad
c508121278 Backported fix for bug CORE-3468 : Attempt to read after the end of file when nbackup state is stalled 2011-05-10 09:29:13 +00:00
hvlad
4a916be1a3 Backported fix for bug CORE-3466 : Some changes could be lost during the merge of delta file into main database file 2011-05-10 09:18:19 +00:00
hvlad
16e64b56e5 Backported fix for bug CORE-3465 : Nbackup state lock could be not released after cache error. It results in "Can't lock state for write" bugcheck when backup state is going to be changed. 2011-05-10 09:02:28 +00:00
hvlad
bcff8823bd Backported fix for bug CORE-3464 : Dirty page could be written without releasing (or downgrading) page lock. It results in "lock denied" or "lock conversion denied" bugcheck 2011-05-10 08:57:06 +00:00
firebirds
6944de1653 nightly update 2011-04-29 03:25:35 +00:00
alexpeshkoff
ca42e73685 Fixed CORE-3454: "fb_lock_print -c" hangs server 2011-04-28 16:59:29 +00:00
firebirds
8fe48d0cfe nightly update 2011-04-26 03:26:31 +00:00
hvlad
1b96d77fab Fixed regression introduced by me in patch for CORE-3326 - too many unnecessary calls of ISC_check_process_existence().
Added defines to switch usage of fast mutex off if necessary.
2011-04-25 12:41:21 +00:00
firebirds
288cfd5969 nightly update 2011-04-22 03:27:42 +00:00
asfernandes
5e4be8ebf5 Fixed CORE-3447 - Collation is not installed with icu > 4.2. 2011-04-21 19:57:57 +00:00
firebirds
38ab7278a2 nightly update 2011-04-20 03:25:00 +00:00
asfernandes
bf51ab209c Improvement CORE-3433 - Improve GBAK restore performance (records insertion). 2011-04-19 15:29:46 +00:00
asfernandes
0952229516 Improvement CORE-3446 - Allow conversion from/to BLOBs and others types in the API functions (XSQLVAR or blr messages). 2011-04-19 15:29:21 +00:00
firebirds
eb5c41de7f nightly update 2011-04-19 03:25:55 +00:00
dimitr
c3aefbaa09 Better type clearness. 2011-04-18 07:55:33 +00:00
firebirds
f253836d3a nightly update 2011-04-18 03:23:51 +00:00
robocop
09184c09f0 Misc. 2011-04-17 05:00:56 +00:00
firebirds
b4e9e36a82 nightly update 2011-04-16 03:26:01 +00:00
alexpeshkoff
e44194f224 Fixed CORE-3443: Races in UDF library lookup 2011-04-15 18:19:54 +00:00
dimitr
05c2144ac1 Fixed possible deadlock between the shutting down engine and the running service. Reported by RedSoft. 2011-04-15 16:35:00 +00:00
hvlad
9087961c15 Attempt to fix bug CORE-3387 : Server and client are connected, but server not anwser to client and client is waiting indefinitively server answer ! 2011-04-15 12:02:46 +00:00
firebirds
05b503b52a nightly update 2011-04-15 03:22:55 +00:00
hvlad
1268f882e6 Moved assertion out of loop else it could wrongly fire at second execution 2011-04-14 12:07:00 +00:00
paul_reeves
458c56a9ab add consts_pub.h to list of #include lines to exclude from non-production version of ibase.h. 2011-04-14 09:03:25 +00:00
firebirds
9a722b7838 nightly update 2011-04-14 03:23:37 +00:00
hvlad
3cc1434d7e Fixed bug CORE-3440 : AV in engine if isc_que_events queued 0 events 2011-04-13 10:26:14 +00:00
firebirds
ea89513466 nightly update 2011-04-08 03:22:32 +00:00
dimitr
da2d40f9b2 A quick fix for the incorrect error reported while dropping a role. The better one would need a new record in msgs, but this may conflict with new messages in FB3.
By the way removed the goto ugliness.
2011-04-07 09:08:22 +00:00
firebirds
7bf2c5c452 nightly update 2011-04-07 03:26:44 +00:00
hvlad
ca4b6a147b Backport fix for potential buffer overflow. Thanks to Claudio. 2011-04-06 17:50:21 +00:00
firebirds
33c02cbd57 nightly update 2011-04-06 03:23:19 +00:00
asfernandes
8a412c67cf Fixed CORE-3427 - Server crashing with UTF8 blobs. 2011-04-05 18:01:20 +00:00
dimitr
811a3ba155 Better locality of allocations. This also fixes a tiny memory leak in SuperServer. 2011-04-05 05:15:19 +00:00
dimitr
0017fbcdd4 One more part of the fix for CORE-3340. 2011-04-05 05:13:49 +00:00
firebirds
c74d6041fa nightly update 2011-04-02 03:20:57 +00:00
asfernandes
61ccac3291 Fixed CORE-3426 - Inactive system triggers after fix for CORE-3418. 2011-04-01 21:03:30 +00:00
robocop
ff2b8cbbc3 Misc. 2011-04-01 04:02:18 +00:00
firebirds
1358f591cb nightly update 2011-04-01 03:29:52 +00:00
hvlad
07970b1deb Fixed bug CORE-3419 : Recurse leads to hangs/crash server 2011-03-31 09:47:50 +00:00
firebirds
703efa3400 nightly update 2011-03-31 03:24:06 +00:00
hvlad
90f9d904e9 Fixed bug CORE-3418 : Inactive DB-trigger after Create/Alter Is Active 2011-03-30 22:53:19 +00:00
firebirds
902412874b nightly update 2011-03-29 03:27:10 +00:00
hvlad
4290ac6181 Improvement CORE-3413 : Improve diagnostics of internal trace errors 2011-03-28 13:48:32 +00:00
firebirds
85ff34174d nightly update 2011-03-23 03:25:57 +00:00
hvlad
cb461faeb7 Improvement CORE-3399 : Allow write operations to temporary tables in read only transactions 2011-03-22 10:32:27 +00:00
firebirds
1bd0536829 nightly update 2011-03-22 03:24:21 +00:00
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
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