8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 07:23:08 +01:00
Commit Graph

47448 Commits

Author SHA1 Message Date
firebirds
a913d2fe26 increment build number 2016-10-08 00:02:29 +00:00
Adriano dos Santos Fernandes
300fb11e43 Fixed CORE-5366 - Regression: could not use CASE expression with more than 255 conditions. 2016-10-07 09:40:47 -03:00
firebirds
b388b0effc increment build number 2016-10-05 00:02:31 +00:00
Adriano dos Santos Fernandes
a7ecf536c0 Fixed CORE-5367 - Regression: (boolean) parameters as search condition no longer allowed. 2016-10-04 11:55:07 -03:00
firebirds
1e756814f9 increment build number 2016-09-27 00:02:30 +00:00
firebirds
c01ce05d42 increment build number 2016-09-26 00:02:24 +00:00
hvlad
d5ff6d82c2 Generate savepoint around blr_store for non-cursor INSERT's (INSERT INTO ... VALUES (...) ) with sub-select in VALUES list.
It fixes bug CORE-5337 : The subquery in the insert list expressions ignore the changes made earlier in the same executable block.
Note, existing procedures and triggers should be recompiled to have new BLR code.
2016-09-25 23:46:45 +03:00
firebirds
58dafb5ba2 increment build number 2016-09-23 00:02:23 +00:00
27b653834f Fixed CORE-5355: XpbBuilder fails to create new TPB 2016-09-22 14:49:33 +03:00
firebirds
681789bb44 increment build number 2016-09-21 00:02:28 +00:00
firebirds
70a694fdb6 increment build number 2016-09-20 00:02:34 +00:00
Dmitry Yemanov
372af3f29c Bugfix CORE-5351: LEFT JOIN incorrectly pushes UDF into the inner stream causing wrong results 2016-09-19 19:40:27 +03:00
firebirds
abb1bdddbc increment build number 2016-09-16 00:02:35 +00:00
42454158b7 Do not segfault in a case of unexpected exception 2016-09-15 20:01:28 +03:00
firebirds
dc23d91734 increment build number 2016-09-09 00:02:26 +00:00
Adriano dos Santos Fernandes
9951d944e3 Fixed CORE-5341 - User collate doesn't work with blobs. 2016-09-08 15:53:18 -03:00
firebirds
627cb7a5eb increment build number 2016-09-08 00:02:28 +00:00
hvlad
6a3d9d0016 Let UPDATE and DELETE statements ignore records already deleted in the same statement (but still visible because of stable cursor).
It fixed bugs
CORE-5322 : Cascade deletion in self-referencing table could raise "no current record for fetch operation" error), and
CORE-5142 : Error "no current record to fetch" if some record is to be deleted both by the statement itself and by some trigger fired during statement execution
2016-09-07 22:15:51 +03:00
firebirds
ba716e4774 increment build number 2016-09-07 00:02:27 +00:00
19bc36c815 Postfix for CORE-5326 2016-09-06 19:13:53 +03:00
firebirds
7bbe086111 increment build number 2016-09-06 00:02:28 +00:00
eb86289f69 Backported fix for CORE-5347: Races when initializing wire compression 2016-09-05 18:15:12 +03:00
firebirds
e6ccdd8502 increment build number 2016-09-03 00:02:30 +00:00
f75d77a937 Postfix for CORE-5326 - avoid segfault when attachment is released in incompletely initialized DB 2016-09-02 17:48:14 +03:00
4156615d01 Fixed CORE-5326: encrypting a database crashes host process when background encryption gets ready while no connection is established to that database 2016-09-02 12:16:32 +03:00
firebirds
1bdd0bb0b6 increment build number 2016-09-01 00:02:26 +00:00
hvlad
c43c959622 Fixed assertions (BDB_nbak_state_lock is not set for temporary page space) 2016-09-01 00:11:12 +03:00
firebirds
22ec4a52a3 increment build number 2016-08-27 00:02:28 +00:00
b4be07c95f Backported fix for CORE-5339: Assertion in createDatabase() when doing overwrite check 2016-08-26 19:04:57 +03:00
firebirds
f42bcb2f52 increment build number 2016-08-26 00:02:26 +00:00
43579acdd8 Minimum backport of CORE-5248: avoid NULL in RDB$ROLES.RDB$SECURITY_CLASS which made it possible for everyone to drop any role 2016-08-25 15:10:57 +03:00
firebirds
a5f9d89138 increment build number 2016-08-20 00:02:30 +00:00
d63e127438 Backported fix for CORE-5335: Segfault in remote server 2016-08-19 14:53:47 +03:00
firebirds
23b13b411e increment build number 2016-08-19 00:02:29 +00:00
hvlad
6e7afc90b5 Make VC 2013 x64 generate the same code as VC 2010 x64 : "lock xadd" instead of "lock add".
There was hagnups in SS x64 during new nbackup locking testing without this patch.
Note, both 32-bit compilers generate "lock xadd" instructions.
2016-08-18 13:28:59 +03:00
hvlad
377773f615 Reworked nbackup state lock handling to avoid performance penalty on every fetch 2016-08-18 13:28:44 +03:00
hvlad
6b7c554179 No need to release (and acquire again) cached lock if write lock is acquired repeatedly 2016-08-18 13:28:24 +03:00
hvlad
36a7a26346 Avoid hangup in SS when error happens at system attachment initialization time 2016-08-18 13:28:07 +03:00
firebirds
c083d20e4e increment build number 2016-08-18 00:02:30 +00:00
firebirds
710cc1d8da increment build number 2016-08-17 00:02:27 +00:00
Adriano dos Santos Fernandes
fb282b5a51 Fix buffer overflow. 2016-08-16 13:35:54 -03:00
hvlad
610594a525 Additional fix for CORE-5329. Once more thanks to Dmitry 2016-08-16 17:22:29 +03:00
firebirds
896c742941 increment build number 2016-08-15 00:02:27 +00:00
hvlad
408dff8cfc Fixed bug CORE-5329 : Database gets partially corrupted in the "no-reserve" mode
Thanks to Dmitry
2016-08-14 21:18:16 +03:00
firebirds
2682210b29 increment build number 2016-08-13 00:02:28 +00:00
1d5ac14bff Backported fix for open() files for very old kernels 2016-08-12 12:33:33 +03:00
firebirds
7652fa31e6 increment build number 2016-08-12 00:02:27 +00:00
hvlad
1db164a562 Attempt to make self-referencing foreign keys with ON UPDATE CASCADE work correctly.
It also fixes a bug CORE-5305 : CASCADE UPDATE fails for self-referencing FK
2016-08-11 20:53:18 +03:00
hvlad
0d0528b2bb Fixed bug CORE-5327 : internal Firebird consistency check (cannot find tip page (165), file: tra.cpp line: 2307) 2016-08-11 20:46:23 +03:00
firebirds
99adeeec70 increment build number 2016-08-11 00:02:26 +00:00
685344727f Backported implementation of CORE-5266: Allow statement 'create OR ALTER user sysdba password ...' to initialize empty securityN.fdb 2016-08-10 16:58:56 +03:00
firebirds
d1210a78e6 increment build number 2016-07-29 00:02:26 +00:00
df519fa8a4 Backported fix for CORE-5270: FBSVCMGR does not produce error while attempting to shutdown a database without specified timeout (prp_force_shutdown N) 2016-07-28 18:55:18 +03:00
1a4b7ebd91 Backported better fix for CORE-5264 2016-07-28 18:40:29 +03:00
firebirds
9133ae1023 increment build number 2016-07-28 00:02:26 +00:00
hvlad
96a24228b6 Backported fix for bug CORE-5302 : Performance regression when bulk inserting into table with indices 2016-07-27 12:51:27 +03:00
firebirds
1d5a25f7e2 increment build number 2016-07-27 00:02:25 +00:00
Adriano dos Santos Fernandes
0e90030370 Postfix for rework on CORE-5277 to avoid CORE-5304 regression (0d46c91).
CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields.
CORE-5304 - Regression: Can not restore database with table contains field CHAR(n) and UTF8 character set.
2016-07-26 13:13:08 -03:00
firebirds
5dc67f3b7b increment build number 2016-07-25 00:02:24 +00:00
Dmitry Yemanov
600c62852d Fix the cast that is no longer necessary. 2016-07-24 11:29:36 +03:00
firebirds
f060d8381f increment build number 2016-07-18 00:03:03 +00:00
Adriano dos Santos Fernandes
1c6f688e79 Fixed CORE-5313 - Data type unknown error with LIST. 2016-07-17 20:42:01 -03:00
firebirds
d8411b02cc increment build number 2016-07-16 00:03:28 +00:00
8709dab13b Backported fix for CORE-5264: To unlock a raw device DB is not working. 2016-07-15 18:06:05 +03:00
firebirds
8a67ae05c3 increment build number 2016-07-15 00:03:15 +00:00
Dmitry Yemanov
1d4abeef4d Postfix for Adriano's commit. 2016-07-14 12:57:24 +03:00
firebirds
70c2fcf2c6 increment build number 2016-07-14 00:03:14 +00:00
Adriano dos Santos Fernandes
891c1727e6 Correction (CORE-5277 / CORE-5304). 2016-07-13 16:29:08 -03:00
Adriano dos Santos Fernandes
0d46c91f98 Rework on CORE-5277 to avoid CORE-5304 regression.
CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields.
CORE-5304 - Regression: Can not restore database with table contains field CHAR(n) and UTF8 character set.
2016-07-13 15:52:17 -03:00
Adriano dos Santos Fernandes
aaeff69d91 Allow to use the BULK_INSERT hack with others commands. 2016-07-13 15:52:17 -03:00
Dmitry Yemanov
946c8ef115 Bugfix for CORE-5307: Random 'invalid transaction handle' errors are returned from the engine. 2016-07-13 18:47:06 +03:00
Adriano dos Santos Fernandes
8f02eb08bb Temporary reverting CORE-5277 due to CORE-5304 regression. 2016-07-13 11:53:15 -03:00
180e18c040 Backported fix for CORE-5308: ISQL hangs in BLOBVIEW command 2016-07-13 13:06:30 +03:00
firebirds
bfec209e88 increment build number 2016-07-12 00:03:08 +00:00
Dmitry Yemanov
9e4325a0f0 Postfix for CORE-5277: zero-initialize strings allocated for (? IS NULL) parameters to avoid garbage being read while validating the length. 2016-07-11 13:30:50 +03:00
firebirds
8ef0aef359 increment build number 2016-07-10 00:03:08 +00:00
Dmitry Yemanov
e529c6a4a5 Extend variable value in MON$CONTEXT_VARIABLES up to the possible
maximum (32765 bytes). This resolves CORE-5246: String truncation error
while selecting from MON$ tables if some user-defined context variable
exceeds 255 bytes in length.
2016-07-09 12:25:35 +03:00
firebirds
788c1083af increment build number 2016-07-09 00:04:24 +00:00
Dmitry Yemanov
26cb346aee Add missing condition for the prior commit. 2016-07-08 23:00:24 +03:00
Dmitry Yemanov
1cdded614e Bigfix CORE-5236: IN/ANY/ALL predicates may cause sub-optimal (late filtering) execution of joins 2016-07-08 21:49:35 +03:00
firebirds
85ed405814 increment build number 2016-07-08 00:03:06 +00:00
Adriano dos Santos Fernandes
258dba5de3 Follow up after Alex change - CORE-5277. 2016-07-07 13:13:01 -03:00
ab0ddd8010 Fix for CORE-5284: Firebird fails to build with USE_VALGRIND 2016-07-07 18:58:12 +03:00
9601efd3a0 Fixed regression in TCS/FB_SQL_SUBFUNC_1 2016-07-07 17:48:57 +03:00
firebirds
8620a0332c increment build number 2016-07-06 00:03:12 +00:00
a8fdbdfb6b Backported fix for CORE-5294: Memory leak when use SHOW GRANTS on new empty database (3.0.1 & 4.0; SS & SC) 2016-07-05 15:05:08 +03:00
firebirds
6b29749b8c increment build number 2016-07-01 00:03:13 +00:00
Adriano dos Santos Fernandes
df233ae4ad Postfix for CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields. (9fede1e) 2016-06-30 10:02:41 -03:00
d963ef8db5 Backported fix for CORE-5296: Error in network protocol when performing callback to client for database crypt key 2016-06-30 13:38:50 +03:00
firebirds
74fe6275dd increment build number 2016-06-30 00:03:15 +00:00
0273ed992a Backported fix for CORE-5292: Database corrupted when trying to encrypt it but appropriate key is missing 2016-06-29 20:16:15 +03:00
firebirds
9620645057 increment build number 2016-06-29 00:03:10 +00:00
hvlad
ecbe975a14 Additional fix for CORE-4645, thanks to Dmitry 2016-06-28 14:46:24 +03:00
hvlad
92d0ca87cc Fixed bug CORE-5295 : Validation could read after the end-of-file when handle multifile database 2016-06-28 13:02:58 +03:00
firebirds
4dc7ece4f2 increment build number 2016-06-24 00:03:15 +00:00
Dmitry Yemanov
ced719d44f Bugfix for CORE-5154: Services API don't work with non-ascii database names (ported from aafemt/firebird). Also add some missing tags that might require transliteration. 2016-06-23 23:17:42 +03:00
firebirds
32c119a16e increment build number 2016-06-23 00:05:15 +00:00
hvlad
a7253810e3 Fixed bug CORE-5289 : Small memory leak when resultset is empty 2016-06-22 12:32:34 +03:00
firebirds
e558dc31dd increment build number 2016-06-21 00:03:11 +00:00
a1c576b7f3 Backported fix for CORE-5285: Segfault when attachment is closed before it's request/statement/etc. 2016-06-20 13:10:45 +03:00
firebirds
35c1a16c3f increment build number 2016-06-19 00:03:45 +00:00
Dmitry Yemanov
062f5d77be Bugfix for CORE-5275: Expression index may become inconsistent if CREATE
INDEX was interrupted after b-tree creation but before commiting.
2016-06-18 19:58:58 +03:00
f6c9b11bc3 Backported fix for CORE-5279: Granting access rights to view is broken 2016-06-18 10:31:39 +03:00
firebirds
4d0d42a02b increment build number 2016-06-18 00:03:42 +00:00
Adriano dos Santos Fernandes
e1f924fec2 Merge branch 'jrtc27-met-unaligned-access' 2016-06-17 15:20:24 +00:00
Adriano dos Santos Fernandes
4ec694f7cb Postfix for CORE-5277 - It's probably better to first check for well-formed data before calculat ethe length. 2016-06-17 11:09:45 +00:00
Adriano dos Santos Fernandes
9fede1eb64 Fixed CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields. 2016-06-17 11:01:55 +00:00
firebirds
620cf67fc0 increment build number 2016-06-17 00:03:07 +00:00
3f9d1640bb Fixed assertions similiar to mentioned in CORE-5273 2016-06-16 12:18:51 +03:00
firebirds
e39f114076 increment build number 2016-06-16 00:04:28 +00:00
0828aff71e Backported fix for CORE-5278: A number of SPB parameters fail in FB 3 & 4 2016-06-15 19:17:57 +03:00
firebirds
b53d241471 increment build number 2016-06-11 00:03:16 +00:00
e560f6e0e8 Backported fix for CORE-5225: Authentication end with first plugin that has the user but auth fails; should continue with next plugin 2016-06-10 17:25:53 +03:00
Dmitry Yemanov
1cab1dca19 Fix CORE-5268: Nested OR conditions may lead to incorrest results 2016-06-10 15:18:23 +03:00
firebirds
228826254f increment build number 2016-06-10 00:03:32 +00:00
firebirds
42fc3afa6b increment build number 2016-06-04 00:03:41 +00:00
5fbbae63fa Backported fix for CORE-5213 2016-06-03 16:03:34 +03:00
firebirds
984a9aab1e increment build number 2016-06-03 00:02:50 +00:00
hvlad
50447a5365 Improvement CORE-5257 : Enable nested keys in plugin configuration 2016-06-03 00:35:42 +03:00
firebirds
bae264d541 increment build number 2016-05-24 00:02:51 +00:00
4fd2c41833 Backported fix for CORE-5249: Incorrect use of readlink() system call 2016-05-23 12:22:47 +03:00
firebirds
d44387ea1a increment build number 2016-05-19 00:02:51 +00:00
hvlad
435086e938 Correction, as Dmitry suggests. 2016-05-19 00:10:11 +03:00
hvlad
0db5c2df3f Fixed bug CORE-5234 : Access violation on UDF crashes server 2016-05-18 19:03:52 +03:00
641a2b913d Fixed CORE-5244: Wrong error message when trying to execute SELECT statement using isc_dsql_execute_immediate 2016-05-18 18:28:45 +03:00
b67eb4d9a7 Backported fix of possible buffer overflow when reading /etc/mtab 2016-05-18 11:48:49 +03:00
firebirds
1f1b12a523 increment build number 2016-05-18 00:02:53 +00:00
firebirds
b6cd40eb55 increment build number 2016-05-17 00:03:00 +00:00
Dmitry Yemanov
5f19de8ffb This should fix CORE-5241 (Affected rows are not counted for some update
operations with views). Old hacks are not actual these days.
2016-05-16 19:32:59 +03:00
Dmitry Yemanov
444abef206 Fix CORE-5231 (EXECUTE STATEMENT: BLR error if more than 256 output
parameters exist).
2016-05-16 13:21:31 +03:00
firebirds
d435669c70 increment build number 2016-05-13 00:02:52 +00:00
Adriano dos Santos Fernandes
b6866bc374 Fixed problems reported by PVS-Studio - http://www.viva64.com/en/b/0396/ 2016-05-12 11:49:44 -03:00
Dmitry Yemanov
3ee0a82403 Fix page numbers datatype + misc adjustments. 2016-05-12 14:14:01 +03:00
hvlad
89e9ba7441 Refactor relation protection routines into a class.
Alex, please review changes related with DFW_reset_icu.
2016-05-12 13:41:12 +03:00
hvlad
bd555a15a4 Place expression index support routines where it should be.
Add protection from changes while expression index is built.
Remove PCMET module.
2016-05-12 11:29:02 +03:00
firebirds
4f15abf3f3 increment build number 2016-05-10 00:02:45 +00:00
Dmitry Yemanov
1e908629ad Misc. 2016-05-09 23:06:59 +03:00
James Clarke
6a8067ed5f Fix locking on big-endian architectures
4e4d8002e5 extended locks to have 64-bit
keys in most cases, but some were left as 32-bit. However, code using
these 32-bit locks assumed that the significant bytes of the key's long
value started from lck_string[0], which is false on big-endian
architectures.  This commit adds Lock::getKeyString(), which gets a
pointer to the first used byte of lck_string, and should be used in
place of accessing lck_string directly.
2016-05-08 23:33:20 +03:00
firebirds
8ccde22222 increment build number 2016-05-07 00:02:55 +00:00
Adriano dos Santos Fernandes
8883def48c Regenerate file. 2016-05-06 19:35:08 -03:00
Dmitry Yemanov
54123663c2 Add new constants to the Pascal interface. 2016-05-06 23:49:03 +03:00
Dmitry Yemanov
dce0b4c64e Switch to 64-bit savepoint numbers as a straightforward solution for
CORE-5228 (Restore may hang if the database contains more than 4 billion
records).
2016-05-06 23:47:55 +03:00
Dmitry Yemanov
16e356f29f Bugfix CORE-5226. 2016-05-06 20:20:36 +03:00
Michal Kubecek
58a12d7c97 Allow to enforce IPv4 or IPv6 in URL-like connection string. 2016-05-06 20:20:05 +03:00
firebirds
194293cafa increment build number 2016-05-04 00:02:50 +00:00
Dmitry Yemanov
4465eeabbb Bump version number for v3 branch. 2016-05-03 20:44:15 +03:00
firebirds
322294bd71 increment build number 2016-05-03 00:03:16 +00:00
Dmitry Yemanov
c004a74c88 Bugfix CORE-5224: Transaction id tags for services API do not support
new 48 bit transaction ids.
2016-05-02 09:37:06 +03:00
firebirds
b0e0cf4f86 increment build number 2016-05-01 00:03:08 +00:00
Dmitry Yemanov
849bfac745 Prevent stack trace (line/column info) from overriding the real error's
SQLSTATE.
2016-04-30 18:16:20 +03:00
Dmitry Yemanov
5f0842ba2c Bugfix CORE-5222: SELECT WITH LOCK may raise unexpected update conflict
errors under concurrent load.
2016-04-30 17:13:49 +03:00
firebirds
ac7f92a90c increment build number 2016-04-30 00:05:04 +00:00
Adriano dos Santos Fernandes
4958d2cf91 Postfix for CORE-5220. 2016-04-29 13:38:39 -03:00
Adriano dos Santos Fernandes
c2c322a576 Fixed CORE-5220 - ISQL -X: double quotes are missed for COLLATE <C> of CREATE DOMAIN statement when <C> is from any non-ascii charset. 2016-04-29 13:31:54 -03:00
firebirds
5672912e54 increment build number 2016-04-29 00:02:51 +00:00
Dmitry Yemanov
198ef2bf04 Correction, as per Sean's comment. 2016-04-28 22:05:39 +03:00
Dmitry Yemanov
2d7261c430 Fix CORE-5217 and CORE-5218 with one shot. 2016-04-28 20:27:43 +03:00
Dmitry Yemanov
25313daa11 CORE-5216: Provide location context (line/column numbers) for runtime
errors raised inside EXECUTE BLOCK.
2016-04-28 15:36:36 +03:00
firebirds
224070ca8c increment build number 2016-04-27 00:02:50 +00:00
hvlad
713b68c813 Fixed bug CORE-5120 : Firebird 3.0 + fbclient 3.0 - POST_EVENT won't work 2016-04-26 23:10:18 +03:00
Dmitry Yemanov
984f84acd6 Backported bugfix for regression CORE-5183: line/column numbering may be
twisted if alias.name syntax is used.
2016-04-26 20:29:38 +03:00
firebirds
8d79992a59 increment build number 2016-04-26 00:02:49 +00:00
9c56856790 Backported fix for CORE-5201: Return nonzero result code when restore fails on activating and creating deferred user index 2016-04-25 17:19:54 +03:00
firebirds
9000c5e77f increment build number 2016-04-25 00:02:54 +00:00
Adriano dos Santos Fernandes
3b56361d60 Make debug build raise the same warning as in release build. 2016-04-24 20:21:39 -03:00
Dmitry Yemanov
86698770b4 Bugfix CORE-5207: ISQL -X may generate invalid GRANT USAGE statements
for domains.
2016-04-24 09:30:39 +03:00
firebirds
3052355b1b increment build number 2016-04-23 00:02:54 +00:00
Adriano dos Santos Fernandes
a08f7b8ab0 Fixed CORE-5193 - Precedence problem with operator IS. 2016-04-22 14:05:23 -03:00
Adriano dos Santos Fernandes
1635a935dd Fixed CORE-5167 - Allow implicit conversion between boolean and string. 2016-04-22 14:05:17 -03:00
firebirds
840415bf9a increment build number 2016-04-22 00:02:54 +00:00
41e9f3f919 Backported fix for CORE-5203: Single CPU core fully utilized with Trace session 2016-04-21 20:35:17 +03:00
firebirds
32b303311f increment build number 2016-04-21 00:02:49 +00:00
firebirds
22a1b4df7b increment build number 2016-04-20 00:02:46 +00:00
firebirds
3b0e0efb0d increment build number 2016-04-15 00:02:48 +00:00
Dmitry Yemanov
1767a517f9 Postfix for CORE-5194. 2016-04-14 13:45:04 +03:00
firebirds
e2ca9438fc increment build number 2016-04-14 00:02:47 +00:00
firebirds
2d838903e5 increment build number 2016-04-13 00:02:46 +00:00
Dmitry Yemanov
4a81181187 Minor cleanup for my last commit. 2016-04-12 22:59:20 +03:00
Dmitry Yemanov
a61a1f50a7 Fix the possible crash reported by Dimitry Sibiryakov in fb-devel. Maybe
not the most efficient solution, but at least in sync with ~200 other
places in the codebase.
2016-04-12 21:24:09 +03:00
Adriano dos Santos Fernandes
85a25ee4e5 Warning. 2016-04-12 14:22:39 -03:00
Adriano dos Santos Fernandes
53de05b69b Fixed CORE-5194 - Invalid computed by definition generated by isql -x. 2016-04-12 14:14:45 -03:00
firebirds
e859735f4a increment build number 2016-04-11 00:02:45 +00:00
14781bdbfc Postfix for CORE-5189: use unsigned operation code in User interface 2016-04-10 21:12:14 +03:00
firebirds
6fd59f1361 increment build number 2016-04-10 00:02:41 +00:00
firebirds
a03411a841 increment build number 2016-04-09 00:02:42 +00:00
hvlad
8680064d60 Fixed code formatting accidentally broken by my recent commit 2016-04-08 23:15:50 +03:00
Dmitry Yemanov
a25d98a166 Fix ISQL extraction of generators on 64-bit Linux. 2016-04-08 14:31:51 +03:00
firebirds
a42261cd6a increment build number 2016-04-08 00:02:41 +00:00
Dmitry Yemanov
d3f6fc0da2 Update the version string. 2016-04-07 23:22:22 +03:00
hvlad
c390be3276 Front ported fix for bug CORE-4645 : internal Firebird consistency check (cannot find tip page (165), file: tra.cpp line: 2375)
# Conflicts:
#	src/jrd/tra.cpp
2016-04-07 22:00:21 +03:00
cee74fc5e0 Backported fix for CORE-5189: Codes of operation of user management plugin are missing in public API 2016-04-07 16:29:18 +03:00
Dmitry Yemanov
eb68245922 Rework solution for CORE-5146. 2016-04-07 15:39:25 +03:00
firebirds
52ddb7a3c8 increment build number 2016-04-07 00:02:42 +00:00
firebirds
2c3ec4703c increment build number 2016-04-06 00:02:40 +00:00
firebirds
803a2bac03 increment build number 2016-04-05 00:02:44 +00:00
4cffc422b1 Backported fix for CORE-5184: Assertion in cloop dispatcher when trying to save exception information in status interface 2016-04-04 19:32:09 +03:00
Dmitry Yemanov
56c7d2e10b Fix assertion that appear to be incorrect. 2016-04-04 10:16:46 +03:00
Dmitry Yemanov
f13942b8d3 CORE-5182: Inconsistent effects of subsequent statement execution if
failing during record refetch.
2016-04-04 09:47:40 +03:00
firebirds
f5599bbb55 increment build number 2016-04-03 00:02:44 +00:00
Dmitry Yemanov
dc31f92cea Postfix for CORE-5067. It prevents deadlocks involving the header page
and some data pages (due to disabled AST delivery).
2016-04-02 13:19:48 +03:00
Dmitry Yemanov
1472ab87b8 Relax heuristics for FIRST ROWS strategy. This should fix CORE-5146
(Suboptimal join order if one table has a selective predicate and MIN is
calculated for the other one).
2016-04-02 13:19:35 +03:00
Dmitry Yemanov
b52671d907 Misc cleanup after my prior commit. 2016-04-02 13:19:17 +03:00
Dmitry Yemanov
a441ea9a87 Refactored database-level info to be retrieved directly into the MON$
snapshot, without intermediate storage in shmem. This should also fix
CORE-5179 (Database-level statistics (MON$STAT_GROUP = 0) may contain
multiple rows under concurrent load).
2016-04-02 13:18:46 +03:00
firebirds
8faac7ddc9 increment build number 2016-04-02 00:02:44 +00:00
firebirds
1ea0b77b24 increment build number 2016-04-01 00:02:53 +00:00
4a7fae5dee Backported fix for CORE-5181: Build fails when HAVE_MMAP is not defined 2016-03-31 16:22:55 +03:00
firebirds
cfe81b51fc increment build number 2016-03-31 00:02:48 +00:00
firebirds
c25e3fbe9d increment build number 2016-03-29 00:02:44 +00:00
Adriano dos Santos Fernandes
3dc7f7998b Fixed CORE-5166 - Wrong error message with UNIQUE BOOLEAN field. 2016-03-28 12:46:23 -03:00
d43debb1e1 Added generated pascal unit with OO API declarations 2016-03-28 12:44:13 +03:00
firebirds
e7616ca6e5 increment build number 2016-03-28 00:02:40 +00:00
Dmitry Yemanov
4711a3b953 Fix CORE-5143: GBAK restore failed when there is SQL function accessing
table and switch -O(NE_AT_A_TIME) is used.
2016-03-27 19:50:59 +03:00
Dmitry Yemanov
dd1a9ce9d0 Simplify migration for old databases affected by changes in
CLIENT_ADDRESS. Refresh outdated readme.
2016-03-27 11:19:19 +03:00
firebirds
25e0f724e0 increment build number 2016-03-27 00:02:41 +00:00
Adriano dos Santos Fernandes
f72de291b2 Fixed CORE-5165 - HAVING COUNT(*) NOT IN ( <Q> ) prevent record from appearing in outer resultset when it should be there (<Q> = resultset without nulls). 2016-03-26 19:22:58 -03:00
firebirds
a33bf61c3a increment build number 2016-03-25 07:20:40 +00:00
firebirds
bee4389205 increment build number 2016-03-24 17:40:26 +03:00
Dmitry Yemanov
2021d02fa7 Fixed handling of non-ASCII table names inside TPB. 2016-03-23 10:34:29 +03:00
f0eac3c552 Backported fix for CORE-5162: SEC$ tables and tag/attributes 2016-03-22 19:32:11 +03:00
2b27de88ff Postfix for CORE-5155, thanks to Adriano 2016-03-22 19:10:56 +03:00
0b9091dc5b Backported fix for CORE-5155: [CREATE OR] ALTER USER statement: clause PASSWORD (if present) must be always specified just after USER 2016-03-22 18:39:03 +03:00
Adriano dos Santos Fernandes
5100c80b09 Fixed CORE-5159 - Regression: engine may throw transliteration errors when running from non-ASCII system path. 2016-03-21 14:47:42 -03:00
hvlad
33e65f6e86 Fixed bug CORE-5161 : Unique index could be created on non-unique data 2016-03-21 17:04:38 +02:00
Adriano dos Santos Fernandes
f30733f8b6 Fixed CORE-5153 - Regression: Server crashes when aggregate functions are used together with NOT IN predicate. 2016-03-21 11:53:49 -03:00
514750b384 Backported fix for CORE-5157: Server goes into infinite loop when data is sent from client to the service in small packets 2016-03-18 20:19:53 +03:00
hvlad
cc928d02a5 Correct name for MSVC14 CRT dll 2016-03-18 11:46:17 +02:00
hvlad
6c4a899f0b Revert "Revert "Merge branch 'B3_0_Release' of https://github.com/FirebirdSQL/firebird into B3_0_Release""
This reverts commit 1bb06d69f6.

Sorry for confusion
2016-03-18 00:41:43 +02:00
hvlad
1bb06d69f6 Revert "Merge branch 'B3_0_Release' of https://github.com/FirebirdSQL/firebird into B3_0_Release"
This reverts commit af23e344b5, reversing
changes made to 1abb10f36d.
2016-03-18 00:24:50 +02:00
hvlad
af23e344b5 Merge branch 'B3_0_Release' of https://github.com/FirebirdSQL/firebird into B3_0_Release 2016-03-17 23:57:13 +02:00
hvlad
1abb10f36d Please MSVC14:
-add space before XXXFORMAT macros to not confuse it with user-defined literals
-use existing snprintf
This should fix part of the issues at CORE-5099 and CORE-5120
2016-03-17 23:55:20 +02:00
Adriano dos Santos Fernandes
e9eea07523 Fixed CORE-5147 - Create trigger fails with ambiguous field name between table B and table A error. 2016-03-17 14:50:04 -03:00
Dmitry Yemanov
4aa74c3b64 Avoid GBAK's mandatory runtime dependency on ICU, load it only when
really needed (-skip_data switch is specified).
2016-03-16 20:11:25 +03:00
asfernandes
3dc332aee8 Add debug utility function to dump contexts. 2016-03-16 02:42:47 +00:00
firebirds
af61a6eb9e nightly update 2016-03-12 00:12:29 +00:00
dimitr
1eb9ab0c85 Fixed CORE-5149: LEFT JOIN incorrectly pushes COALESCE into the inner stream causing wrong results. 2016-03-11 08:52:33 +00:00
firebirds
36e30d5fb2 nightly update 2016-03-11 00:14:57 +00:00
firebirds
0f72dcd2a6 nightly update 2016-03-10 00:13:32 +00:00
asfernandes
0eef9d81c8 Fixed CORE-5130 - Compiler issues message about "invalid request BLR" when attempt to compile wrong DDL of view with both subquery and "WITH CHECK OPTION" in its DDL. 2016-03-09 18:45:07 +00:00
alexpeshkoff
ece088c3a7 Backported fix for CORE-5144: Deadlock when database is encrypted or decrypted under high parallel load 2016-03-09 14:58:58 +00:00
firebirds
efd7857743 nightly update 2016-03-09 00:17:02 +00:00
dimitr
dd3c55eddb Fixed CORE-5133: "Alter sequence restart with" does not change the initial value. 2016-03-08 18:08:38 +00:00
hvlad
d826b3eded Backport fix for bug CORE-5140 : Wrong error message when user tries to set number of page buffers into not supported value 2016-03-08 17:15:07 +00:00
firebirds
9c85af53cb nightly update 2016-03-05 00:14:05 +00:00
firebirds
90e5fa8630 nightly update 2016-03-04 00:15:22 +00:00
asfernandes
87f78f460d Warnings. 2016-03-03 22:53:31 +00:00
paulbeach
782b7a08f2 Fix qsort_r for Darwin 2016-03-03 15:02:15 +00:00
firebirds
442fff1454 nightly update 2016-03-03 00:14:09 +00:00
firebirds
5c86df7b70 nightly update 2016-03-02 00:21:04 +00:00
firebirds
29b3e5f587 nightly update 2016-03-01 08:31:14 +00:00
dimitr
28f320eddf Fixed CORE-5122: Expression index may not be used by the optimizer if created and used in different connection charsets. 2016-02-29 20:12:01 +00:00
dimitr
113ff1fe65 Misc: remove the redundant space in the explained plan output. 2016-02-28 08:46:28 +00:00
firebirds
53f244a8bb nightly update 2016-02-28 00:08:37 +00:00
firebirds
0d0cdff99b nightly update 2016-02-27 00:09:13 +00:00
dimitr
f82597bad9 Split a 5-way join into two smaller joins to help the optimizer in cases when statistics is outdated (index creation time suffers when there are many tables/indices). While being there, cache requests that weren't cached yet. 2016-02-26 17:19:29 +00:00
alexpeshkoff
926e3d903e Fixed some asserts and segfaults in crypto manager
Disable simultaneous nbackup & encrypt/decrypt operation
2016-02-26 12:55:34 +00:00
firebirds
bc0e65fd4b nightly update 2016-02-26 00:09:25 +00:00
hvlad
2dc879afca This should fix known issues with MERGE and stable cursor (see CORE-3362).
Thanks to Dmitry for idea
2016-02-25 09:20:01 +00:00
asfernandes
ad6a44c0b0 Convert the file to UTF-8 as grep thinks it's a binary file. 2016-02-25 02:11:24 +00:00
asfernandes
6760fe25c8 Misc. 2016-02-25 01:50:46 +00:00
firebirds
26b2e5a9d1 nightly update 2016-02-25 00:09:00 +00:00
dimitr
477af6bb96 Checking the datatype at compile time is unreliable: some nodes return one type at compile time and another type at runtime, thus causing unexpectedly missing casts. I'm moving the check to runtime, this should fix the remaining regressions (fingers crossed). 2016-02-24 20:11:34 +00:00
firebirds
b0abaa75f0 nightly update 2016-02-24 00:08:54 +00:00
aafemt
a0eca08629 Get secondary error code isc_dsql_sqlda_err back, thanks to Dmitry Yemanov 2016-02-23 20:49:56 +00:00
aafemt
7a7c6cb95b Some more cases of CORE-5112 as pointed by Dmitry Yemanov 2016-02-23 16:18:38 +00:00
dimitr
2461d05460 Removed "cast no-op" extensions as they break many tests, e.g. CAST('A' as CHAR(10)) remains CHAR(1) instead of being padded up to CHAR(10). Let's no-op only really equal descriptors for the time being. 2016-02-23 09:52:51 +00:00
dimitr
b1efab55b2 And another postfix for CORE-5097, it resolves regression for core_3545.fbt.
Adriano, please review.
2016-02-23 09:10:41 +00:00
dimitr
04f5f59ff8 Yet another postfix for CORE-5097, it resolves regressions for core_1173.fbt and core_1525.fbt. 2016-02-23 08:20:02 +00:00
firebirds
1229a361cc nightly update 2016-02-23 00:09:11 +00:00
firebirds
482331ad21 nightly update 2016-02-22 00:08:54 +00:00
dimitr
fb49b002c6 Fixed the comment. 2016-02-21 09:02:11 +00:00
dimitr
67151a6b43 Corrected my old commit re. optimization of the system requests. 2016-02-21 08:54:31 +00:00
firebirds
f99d0ea607 nightly update 2016-02-21 00:08:36 +00:00
aafemt
53998b429d Use autoconfig_msvc.h from where it is 2016-02-20 15:34:20 +00:00
firebirds
2a7a2ecff9 nightly update 2016-02-20 00:11:24 +00:00
firebirds
b8a11dcb4d nightly update 2016-02-19 00:09:06 +00:00
asfernandes
1b3d63e687 Fixed regression with CORE-1839 after fix for CORE-5097. 2016-02-18 14:52:04 +00:00
firebirds
0e0a5abb45 nightly update 2016-02-18 00:08:33 +00:00
hvlad
f2c8f05846 Front ported for CORE-5067 : Blocking new connections as a consequence of the too long sweep security2.fdb 2016-02-17 09:21:09 +00:00
asfernandes
4bbcd14a8c Fixed the problem I inserted in a review. 2016-02-17 01:36:29 +00:00
asfernandes
5eea52ad61 Fixed output of SHOW PROCEDURES/FUNCTIONS. 2016-02-17 01:36:14 +00:00
firebirds
2f04c8d375 nightly update 2016-02-17 00:08:52 +00:00
firebirds
25e28f21c5 nightly update 2016-02-16 00:09:49 +00:00
asfernandes
6259b1b1e0 Misc. 2016-02-15 02:53:24 +00:00
asfernandes
a4a2ac99be Correction. 2016-02-15 02:53:05 +00:00
firebirds
b1d78c9258 nightly update 2016-02-15 00:09:30 +00:00
aafemt
13940f54d1 Messages for CORE-5112 2016-02-14 13:10:23 +00:00
firebirds
a699b57800 nightly update 2016-02-13 00:09:48 +00:00
hvlad
6af5a2f894 Simplest fix for bug CORE-5110 : False PK\FK violation could be reported when attachment used isc_dpb_no_garbage_collect flag 2016-02-12 13:13:11 +00:00
firebirds
5d673233f3 nightly update 2016-02-12 00:09:34 +00:00
asfernandes
47bcd0db2b Fixed CORE-2923 - Problem with dependencies with views. 2016-02-11 18:10:53 +00:00
firebirds
d183257ab9 nightly update 2016-02-11 00:08:59 +00:00
asfernandes
05dc362017 Fixed CORE-5107 - set autoddl off and sequence of: ( create view V as select * from T; alter view V as select 1 x from rdb$database; drop view V; ) leads to server crash. 2016-02-10 17:53:44 +00:00
firebirds
da15c3ccba nightly update 2016-02-08 00:08:48 +00:00
alexpeshkoff
0e45ec6caa Postfix for CORE-5100, thanks to Dmitry Sibiryakov 2016-02-07 07:44:46 +00:00
firebirds
bdeca659cd nightly update 2016-02-07 00:09:13 +00:00
firebirds
7fc9275d08 nightly update 2016-02-06 00:09:07 +00:00
alexpeshkoff
56e5ec3d78 Fixed CORE-5105: Deadlocks when database is initially encrypted 2016-02-05 15:21:58 +00:00
alexpeshkoff
e7270beacd Postfix for CORE-5100: avoid races caused by temporary changed bdb_buffer 2016-02-05 15:13:47 +00:00
hvlad
c0e078af12 Missed piece for CORE-5104, thanks to Alex again 2016-02-05 15:09:54 +00:00
hvlad
99cbccccb8 Fixed bug CORE-5104 : External data source selects became slow
Thanks to Alex
2016-02-05 15:05:14 +00:00