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

39346 Commits

Author SHA1 Message Date
firebirds
32d6b14968 nightly update 2012-03-15 05:02:58 +00:00
dimitr
8f7ab9dbbe Pleased Paul V. so that CORE-3195 (Concatenation to CHAR(32766/7) impossible) could be resolved. 2012-03-14 17:46:31 +00:00
dimitr
54747cbf38 Fixed CORE-3569: CHAR(32767) present in XSQLVAR with length 32765. The JRD part of the patch is not strictly required, as it's used exclusively for VARCHARs right now, but let's be protected for the unpredictable future. 2012-03-14 17:37:20 +00:00
dimitr
ed317170a4 Fixed CORE-2286: Selecting from MON$CALL_STACK within a Trigger or SP sometimes return 0 rows. 2012-03-14 15:24:12 +00:00
firebirds
f699e5460b nightly update 2012-03-10 04:55:26 +00:00
robocop
774d92e674 Misc. 2012-03-09 08:27:15 +00:00
firebirds
b9ed86fcf8 nightly update 2012-03-08 05:00:12 +00:00
firebirds
23c896d622 nightly update 2012-03-07 04:58:37 +00:00
alexpeshkoff
a38f89cf14 Fixed CORE-3682: Firebird 2.5.1 OSX Lion hangs on attaching to second database 2012-03-06 13:28:02 +00:00
firebirds
5303363f75 nightly update 2012-03-06 04:58:09 +00:00
dimitr
48fe775f98 Fixed the commit mistake. 2012-03-05 13:48:09 +00:00
dimitr
7fcc8b1e05 Fixed CORE-3777: Conversion error from string when using GROUP BY. 2012-03-05 13:47:11 +00:00
firebirds
d9d63ac86f nightly update 2012-03-04 04:58:08 +00:00
alexpeshkoff
950f499f12 Backported fix for CORE-3649: gbak deletes backup file even if error happens when it's already successfully closed 2012-03-03 16:48:40 +00:00
firebirds
e8ccfa6d0c nightly update 2012-03-02 04:58:37 +00:00
alexpeshkoff
772ed0f2d3 Backported fix for CORE-3762: gsec returns 0 return code on some errors 2012-03-01 17:13:11 +00:00
firebirds
b6d0e53ea4 nightly update 2012-02-28 05:17:15 +00:00
asfernandes
33b4780605 Backported fix for CORE-2457 - UNICODE_CI internal gds software consistency check. 2012-02-27 15:51:39 +00:00
asfernandes
d16fad4d0f Backported fix for CORE-1997 - Broken foreign key handling for multi-segmented index using multi-level collations. 2012-02-27 15:51:03 +00:00
hvlad
850683a012 Fixed bug CORE-3778 : AV at connection shutdown 2012-02-27 08:17:20 +00:00
firebirds
cacae34819 nightly update 2012-02-16 04:58:22 +00:00
dimitr
4b38132006 Fixed CORE-3761: Conversion error when using a blob as an argument for the EXCEPTION statement. 2012-02-15 10:01:42 +00:00
firebirds
87b5618de9 nightly update 2012-02-03 04:55:58 +00:00
alexpeshkoff
41e1fc0fba Fixed CORE-3750: Error increasing limits on posix (thanks to Dmitry Starodubov) 2012-02-02 14:10:25 +00:00
firebirds
838996a587 nightly update 2012-01-20 03:29:47 +00:00
alexpeshkoff
12163ff293 Backported fix for CORE-3736: WITH LOCK clause is allowed for users with read-only rights on some table, thus blocking others from updating this table 2012-01-19 15:34:03 +00:00
robocop
2804bf7fc0 Stop db triggers in qli, from Herr Schlottmann-Gödde 2012-01-19 07:26:14 +00:00
firebirds
44b49e1425 nightly update 2012-01-19 03:27:38 +00:00
alexpeshkoff
f5cc73ac36 Backported fix for CORE-3733: GBAK fails to fix system generators while restoring 2012-01-18 12:05:09 +00:00
firebirds
6986b89662 nightly update 2012-01-18 03:31:57 +00:00
dimitr
dc4e08a8b3 Hopefully, this should fix CORE-3730: isc_dsql_exec_immed2() loses input parameter value with RETURNING clause. 2012-01-17 17:25:39 +00:00
robocop
7d014142ba Misc. 2012-01-17 06:20:36 +00:00
firebirds
e724a3bf94 nightly update 2012-01-17 03:26:59 +00:00
alexpeshkoff
30d75a117e Fixed CORE-3732: Segfault when closing attachment to database 2012-01-16 16:38:18 +00:00
alexpeshkoff
dac0827e52 misc 2012-01-16 16:37:24 +00:00
firebirds
2a7e98c1ab nightly update 2012-01-14 03:32:30 +00:00
alexpeshkoff
4ea9267178 Backported fix for CORE-3599: Possible drop role RDB$ADMIN 2012-01-13 08:23:55 +00:00
firebirds
7a61139909 nightly update 2012-01-13 03:31:00 +00:00
firebirds
bddc2dca2c nightly update 2012-01-12 03:29:11 +00:00
firebirds
82339f1d2e nightly update 2012-01-11 03:32:31 +00:00
dimitr
f529cbfbd6 The simplest possible fix for CORE-3722: IS NOT DISTINCT FROM NULL doesn't use index. 2012-01-10 05:27:19 +00:00
firebirds
da83c7e67a nightly update 2012-01-10 03:29:17 +00:00
dimitr
a59d2c5326 One more index to avoid full table scans on system tables (this time during the column modification). 2012-01-09 08:56:00 +00:00
dimitr
19c1733c0e Added a system index that helps to avoid a full table scan on RDB$PROCEDURE_PARAMETERS during domain deletion. 2012-01-09 08:27:59 +00:00
firebirds
1949361040 nightly update 2011-12-31 03:34:40 +00:00
asfernandes
beaa96a5a1 Make UUID_TO_CHAR2 returns lower-cased strings, as the RFC specifies. 2011-12-30 14:46:41 +00:00
alexpeshkoff
17378e0e83 Backported fix for CORE-3658: FBSVCMGR connects to server as OS user name rather than value of ISC_USER environment variable 2011-12-30 14:12:36 +00:00
firebirds
d2886b167b nightly update 2011-12-30 03:26:40 +00:00
alexpeshkoff
7d0d410e92 Fixed CORE-3646: Segmentation fault in Linux 2011-12-29 16:11:28 +00:00
alexpeshkoff
8d4f7cb245 misc 2011-12-29 16:09:39 +00:00
firebirds
aa2285cb66 nightly update 2011-12-29 03:29:55 +00:00
dimitr
493c2a7d17 Misc. 2011-12-28 18:12:23 +00:00
firebirds
a010b4af90 nightly update 2011-12-28 03:27:57 +00:00
firebirds
df2eb92537 nightly update 2011-12-27 03:32:59 +00:00
alexpeshkoff
939a2ae661 misc 2011-12-26 17:11:48 +00:00
firebirds
5f30904530 nightly update 2011-12-25 03:26:14 +00:00
firebirds
ea15a3fae3 nightly update 2011-12-22 03:29:56 +00:00
asfernandes
6b364d8cb3 Backport CORE-3238 - Make GEN_UUID return a compliant RFC-4122 binary UUID and introduce CHAR_TO_UUID2 and UUID_TO_CHAR2 to convert UUIDs from/to string also complying with the RFC. 2011-12-21 14:45:39 +00:00
firebirds
0d2358db2f nightly update 2011-12-21 03:28:47 +00:00
hvlad
72dc92451e POSIX related correction for CORE-3671, thanks to Alex 2011-12-20 12:11:15 +00:00
firebirds
9b6c203341 nightly update 2011-12-20 03:28:42 +00:00
hvlad
c7d5265426 Fixed bug CORE-3671 : JVM Access Violation when using Firebird Embedded 2011-12-19 16:01:11 +00:00
dimitr
fb4e19e22b Backported CORE-3683: Wrong results if the recursive query contains an embedded GROUP BY clause. 2011-12-19 09:59:11 +00:00
firebirds
5ad04f13d7 nightly update 2011-12-15 03:28:00 +00:00
dimitr
529e0bc593 Fixed (methinks) CORE-3697: String truncation error when selecting from a VIEW with UNION inside. It doesn't look like a good idea to modify dsc_length in place, as it can be used afterwards (e.g. MAKE_desc(field) after GEN_expr(rse), see define_view() in ddl.cpp). We only need to ensure that the generated BLR has the real byte length and it can be achieved with a temporary descriptor copy. Other solutions are also possible but this one seems better at the first glance. 2011-12-14 16:08:05 +00:00
firebirds
0732964cf1 nightly update 2011-12-11 03:28:07 +00:00
asfernandes
3b9bdcd3fb Backported fix for CORE-3601 - Incorrect TEXT BLOB charset transliteration on VIEW with trigger. 2011-12-11 01:26:03 +00:00
firebirds
dfd1b3b5e0 nightly update 2011-12-07 03:27:41 +00:00
dimitr
e304d6d171 Fixed CORE-3692: Cannot drop a NOT NULL constraint on a field participating in the UNIQUE constraint. 2011-12-06 13:12:55 +00:00
dimitr
6706f1059f Fixed CORE-927: Grants don't work for procedures used inside views. 2011-12-06 10:00:33 +00:00
firebirds
5c980cbe0d nightly update 2011-12-06 03:28:01 +00:00
hvlad
58ec672c79 Fixed bug CORE-3680 : EXECUTE BLOCK statement and ISC_DSQL_EXECUTE2() problem 2011-12-05 13:52:58 +00:00
hvlad
8be35cdc53 Fixed bug CORE-3690 : Wrong warning message for ambiguous query 2011-12-05 13:08:34 +00:00
firebirds
16d360d481 nightly update 2011-12-02 03:30:35 +00:00
dimitr
b9edd594c4 For a number of reasons, it seems being a good thing to unwind the trigger requests ASAP. 2011-12-01 09:52:50 +00:00
dimitr
48259b539f Attempted to fix CORE-3490: Concurrency problem when using named cursors. The solution may look sub-optimal but it doesn't seem to affect the performance. 2011-12-01 09:23:53 +00:00
firebirds
fbb5d46087 nightly update 2011-11-15 03:27:33 +00:00
hvlad
8f68602a6c Update documentation 2011-11-14 23:09:50 +00:00
firebirds
58fa480029 nightly update 2011-11-08 03:28:40 +00:00
hvlad
d760408db0 Additional fix for CORE-3557 : AV in engine when preparing query against dropping table
Also fixed CORE-3579 : Can't drop table when computed field depends on later created another field
2011-11-06 23:38:28 +00:00
asfernandes
8ffb3f5296 Fixed CORE-3650 - Recreation of collation leads to FB "death". 2011-11-05 20:51:16 +00:00
firebirds
890231db4b nightly update 2011-11-01 03:28:33 +00:00
alexpeshkoff
84eedc8787 Fixed CORE-3646: Segmentation fault in multi-threaded program when using 2.5.x client library on Linux 2011-10-31 18:35:59 +00:00
firebirds
99370a52ad nightly update 2011-10-17 03:26:07 +00:00
hvlad
d3f7c357b3 One more assertion 2011-10-16 14:11:32 +00:00
hvlad
d8951002c2 Missed semicolon 2011-10-16 13:59:48 +00:00
hvlad
a38c03c08e Fixed bug CORE-3636 : Firebird 2.5.1 server crashes with Trace API 2011-10-16 13:49:54 +00:00
firebirds
b3b7eaf7dd nightly update 2011-10-14 03:29:18 +00:00
firebirds
2f3a156bd8 nightly update 2011-10-13 03:27:35 +00:00
hvlad
6a942670f0 Backported fix for bug CORE-3631 : Duplicate records with NULLs checked incorrectly 2011-10-12 19:00:54 +00:00
alexpeshkoff
490471d8fb Fixed CORE-3627: Server crashes with access violation when inserting row into table with unique index 2011-10-12 09:52:07 +00:00
firebirds
e5d252323e nightly update 2011-10-12 03:26:58 +00:00
alexpeshkoff
1b231f4b03 Backported fix for CORE-3607: Solaris does not define the RLIMIT_NPROC limit 2011-10-11 12:00:18 +00:00
alexpeshkoff
b8433b664a Fixed CORE-3609: Option -t displayed twice by fb_inet_server -h 2011-10-11 11:51:49 +00:00
alexpeshkoff
a5d1b269a3 Porting - some Debians miss SA_SIGINFO, committed fixing it patch by Samuel Thibault 2011-10-11 10:29:55 +00:00
firebirds
b8987dc5ec nightly update 2011-10-11 03:27:07 +00:00
dimitr
fbb6dfe91b Bumped version number. 2011-10-10 08:37:24 +00:00
firebirds
593e4c490d nightly update 2011-10-07 03:26:43 +00:00
firebirds
53d2921bd9 nightly update 2011-10-06 03:27:36 +00:00
alexpeshkoff
28cfb5751a Backported posix-only fix for CORE-3600: temp files fb_query_xxxx remains after ISQL has been closed 2011-10-05 10:00:55 +00:00
firebirds
8186a7a06e nightly update 2011-10-05 03:28:16 +00:00
alexpeshkoff
2689670200 Backported fix for CORE-3612: gfix-related services may loose error value in status vector in isc_service_start() 2011-10-04 13:19:56 +00:00
firebirds
b42ce8e27b nightly update 2011-10-04 03:37:40 +00:00
firebirds
bc0e24caa5 nightly update 2011-09-30 03:29:59 +00:00
hvlad
5e6696b4d7 misc 2011-09-29 08:01:32 +00:00
hvlad
2affc6808e Fixed bug CORE-3610 : Can insert DUPLICATE keys in UNIQUE index 2011-09-29 07:45:12 +00:00
firebirds
eefc7c0b87 nightly update 2011-09-29 03:27:33 +00:00
firebirds
67ff0ebed5 nightly update 2011-09-27 03:26:28 +00:00
firebirds
9385755cf0 nightly update 2011-09-22 03:28:39 +00:00
alexpeshkoff
a18689cb71 Fixed unregistered bug - regression, found in 2.5.1 rc1 2011-09-21 13:51:26 +00:00
firebirds
752f8d6a91 nightly update 2011-09-21 03:27:20 +00:00
firebirds
e9a5a96b76 nightly update 2011-09-15 03:33:33 +00:00
firebirds
1094e6f3f0 nightly update 2011-09-12 03:25:07 +00:00
robocop
cd427bb738 Misc. 2011-09-11 05:24:36 +00:00
firebirds
ab21cdb148 nightly update 2011-09-10 03:27:08 +00:00
firebirds
ca708e256c nightly update 2011-08-31 03:27:21 +00:00
alexpeshkoff
5d9c989fcd Fixed CORE-3589: Internal shared resource leak 2011-08-30 13:46:36 +00:00
firebirds
ff3485f86c nightly update 2011-08-20 03:26:25 +00:00
robocop
6f1ee134be Misc. 2011-08-18 06:50:07 +00:00
firebirds
003db5fb3d nightly update 2011-08-17 03:26:49 +00:00
dimitr
96ed2f97eb Better English :-) 2011-08-16 06:47:47 +00:00
firebirds
6c7dec450d nightly update 2011-08-10 03:28:13 +00:00
dimitr
2e00d413d3 Second part of CORE-3457: Optimize the temporary space manager regarding small chunk allocations. 2011-08-09 11:29:45 +00:00
firebirds
c139dc231e nightly update 2011-08-09 03:24:55 +00:00
alexpeshkoff
1639e120bc Removed debugging code, related with CORE-3560 - thanks to Claudio 2011-08-08 07:06:16 +00:00
firebirds
3a9188fb0e nightly update 2011-08-07 03:24:44 +00:00
firebirds
46609d68e2 nightly update 2011-08-05 03:26:08 +00:00
alexpeshkoff
d0184a5373 Fixed CORE-3560: Firebird 2.5 Classic Server uses more memory than 2.1.5 when caching metadata 2011-08-04 13:13:15 +00:00
firebirds
32f846311e nightly update 2011-07-25 03:24:19 +00:00
robocop
bb03f43052 Misc. 2011-07-24 06:57:49 +00:00
firebirds
0b7c56f3cd nightly update 2011-07-23 03:24:44 +00:00
dimitr
a021e4d1a1 Backported CORE-2709: Many indexed reads in a compound index with NULLs. Backward compatibility with existing indices is provided. 2011-07-22 08:17:12 +00:00
dimitr
ac493abad7 Correction. The process name is already converted into UTF8 at this point. 2011-07-22 06:52:47 +00:00
firebirds
ce7eefdf4c nightly update 2011-07-22 03:24:29 +00:00
dimitr
8cf431c975 Relaxed the rules a bit thus moving some checks to runtime. This fixes the regression in CORE-1812. 2011-07-21 10:19:07 +00:00
firebirds
71c43a665a nightly update 2011-07-21 03:30:18 +00:00
dimitr
73be4bfbd8 Attempted to have a [more or less] good solution for CORE-3553 (Nested loop plan is chosen instead of the sort merge for joining independent streams using keys of different types). It doesn't optimize all possible cases, but the most common ones. 2011-07-20 10:35:00 +00:00
firebirds
0ea5845d5a nightly update 2011-07-18 03:25:42 +00:00
hvlad
4695be3cd9 Fixed bug CORE-3549 : Database corruption after end of session : page xxx is of wrong type expected 4 found 7 2011-07-17 09:38:21 +00:00
firebirds
701ecd5861 nightly update 2011-07-17 03:23:34 +00:00
hvlad
757ea1ee8f Fixed bug CORE-3557 : AV in engine when preparing query against dropping table 2011-07-16 10:01:50 +00:00
firebirds
12a78668bd nightly update 2011-07-15 03:50:12 +00:00
dimitr
23241eb2d3 Front ported CORE-3554: Server crashes during prepare or throws incorrect parsing error if the remotely passed SQL query is empty. 2011-07-14 15:54:27 +00:00
firebirds
fbcec2ce10 nightly update 2011-07-14 03:23:48 +00:00
dimitr
52cfec0f2b Added the missing part for CORE-3547, related to BE platforms.
Cleaned up the unused SKD_d_float.
2011-07-13 15:10:13 +00:00
firebirds
85cf8538a4 nightly update 2011-07-13 03:23:27 +00:00
hvlad
86adbc35de Fixed bug CORE-3533 : Firebird memory not released (Using superserver) 2011-07-12 09:06:00 +00:00
firebirds
32d97c593a nightly update 2011-07-09 04:17:52 +00:00
paulbeach
802055cd3c Fix problem with fid's and GCD for MacOS 10.7 SuperServer 2011-07-08 11:33:27 +00:00
firebirds
7351527acb nightly update 2011-07-08 03:42:02 +00:00
dimitr
c27550a6bc Fixed CORE-3547: Floating-point negative zero doesn't match positive zero in the index. 2011-07-07 16:24:27 +00:00
firebirds
8f4aa8aea2 nightly update 2011-07-01 11:28:52 +00:00
alexpeshkoff
9017640095 This appears to fix CORE-3400: Server crash every 3 hour (FreeBSD8.2R), but I did not get final confirmation from the reporter too long 2011-07-01 10:15:49 +00:00
dimitr
1084b2fce8 Misc. 2011-07-01 08:35:58 +00:00
firebirds
cca732c615 nightly update 2011-06-27 03:22:53 +00:00
hvlad
37c6106cda Fixed bug CORE-3509 : Alter procedure allows to add the parameter with the same name. 2011-06-26 22:27:07 +00:00
firebirds
fc14e88057 nightly update 2011-06-26 03:23:48 +00:00
robocop
2f87497b77 Misc. 2011-06-25 03:33:03 +00:00
firebirds
66c61c9d71 nightly update 2011-06-25 03:24:04 +00:00
hvlad
d5faade0ab Backport improvement CORE-3537 : There is no need to undo changes made in GTT created with ON COMMIT DELETE ROWS option when transaction is rolled back. 2011-06-24 13:14:27 +00:00
hvlad
08842c35c9 Backport improvement CORE-3536 : Garbage collection in GTT is unnecessary delayed by active transactions in another attachments 2011-06-24 13:08:59 +00:00
hvlad
7a00577864 Delete deferred work when savepoint is cleaned up after failure even if no records was modified. Else DFW task will be repeated at commit making system tables logically inconsistent. 2011-06-24 11:52:00 +00:00
hvlad
bfaab762ac Backported : don't try to undo changes when invalidated transaction is rolled back. I.e. force rollback via TIP if transaction was invalidated. 2011-06-24 11:48:06 +00:00
hvlad
9408973ff5 Additional fix for correct Nbackup state lock accounting. See also CORE-3465 2011-06-24 11:42:22 +00:00
hvlad
44fad53bdb Fixed bug CORE-3535 : Write target of dirty page could be undefined if error happens when nbackup state is changed.
Also prevent overwriting of first page of allocation table by data page contents.
2011-06-24 08:56:43 +00:00
hvlad
7466ac35e8 Additional patch for CORE-3521.
When CCH_flush() is called after last disconnect there is no attachment.
2011-06-24 08:17:38 +00:00
firebirds
8a9d851e96 nightly update 2011-06-22 03:25:43 +00:00
alexpeshkoff
d26f1c5c19 Fixed CORE-3532: Server hangs starting new session when trace is running 2011-06-21 09:06:43 +00:00
asfernandes
6a46929634 Backported fix for CORE-3140 - Preserve comments for parameters after altering procedures. 2011-06-18 18:49:58 +00:00
hvlad
86a63f71e8 Fixed bug CORE-3524 : Compiling stored procedure while in use shutdown database 2011-06-17 12:41:06 +00:00
asfernandes
c25b2d84ea Backported fix for CORE-3523 - SIMILAR TO: False matches on descending ranges. 2011-06-17 01:20:41 +00:00
hvlad
87ba139bb3 Backport fix for bug CORE-3521 : Delta file contents is not flushed to disk 2011-06-16 09:11:07 +00:00
hvlad
ecb52d34a1 Fixed bug CORE-3525 : Autonomous transactions should not inherit run-time flags of "parent" transaction 2011-06-16 08:44:27 +00:00
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