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

47362 Commits

Author SHA1 Message Date
hvlad
90b35adb7c 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-10 13:58:21 +03:00
firebirds
7cfe3ebbae increment build number 2016-08-09 00:02:20 +00:00
ilya071294
7bcd016672 Fixed deletion of existing backup file when backup is unsuccessful (#43) 2016-08-08 16:24:07 +03:00
firebirds
18cac4c12a increment build number 2016-08-08 00:02:20 +00:00
Adriano dos Santos Fernandes
54795bddd4 Misc. 2016-08-07 17:59:48 -03:00
firebirds
f80b660730 increment build number 2016-08-06 00:02:19 +00:00
70912f2d1f Postfix for CORE-5269, fixed SS case, thanks to Pavel 2016-08-05 14:01:20 +03:00
firebirds
781a41d2e0 increment build number 2016-08-04 00:02:19 +00:00
8bc941c12f Postfix for CORE-5269 2016-08-03 18:32:15 +03:00
9d8b20a77e Fixed CORE-5269: FBTRACEMGR should understand "role <name>" command switch (needed to explicitly connect with role with "TRACE_ANY_ATTACHMENT" privilege) 2016-08-03 16:35:38 +03:00
firebirds
6e3f94488f increment build number 2016-08-01 00:02:19 +00:00
Adriano dos Santos Fernandes
01c131b6f7 Improvements to NTILE after Pavel Zotov comments in CORE-3618. 2016-07-31 13:41:40 -03:00
Adriano dos Santos Fernandes
fc3cd8f4be Misc. 2016-07-31 12:16:04 -03:00
firebirds
a1b244d043 increment build number 2016-07-29 00:02:20 +00:00
ec29de38ca Fixed CORE-5270: FBSVCMGR does not produce error while attempting to shutdown a database without specified timeout (prp_force_shutdown N) 2016-07-28 18:54:47 +03:00
bbe640a39c Better fix for CORE-5264 - thanks to Vlad 2016-07-28 18:16:09 +03:00
fa9f723cce Minor diagnostics cleanup 2016-07-28 15:19:39 +03:00
firebirds
8df890c52c increment build number 2016-07-27 00:02:19 +00:00
Adriano dos Santos Fernandes
600b40883a 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:23:27 -03:00
firebirds
5fd5021ea3 increment build number 2016-07-25 00:02:18 +00:00
Dmitry Yemanov
6d70adfc97 Fix a couple of issues with transaction numbers. 2016-07-24 11:22:07 +03:00
firebirds
73c6ac00a7 increment build number 2016-07-24 00:02:19 +00:00
a81d583845 Fixed CORE-5291: Error messages differ when regular user tries to RESTORE database, depending on his default role and (perhaps) system privilege USE_GBAK_UTILITY 2016-07-23 15:07:11 +03:00
firebirds
da48b92446 increment build number 2016-07-23 00:02:18 +00:00
Dmitry Yemanov
76899617d1 Attempting to fix a new incarnation of the infinite loop inside the
CrossJoin ctor.
2016-07-22 20:08:52 +03:00
firebirds
c2665b0683 increment build number 2016-07-22 00:02:55 +00:00
efcd63bbab cleanup 2016-07-21 20:41:16 +03:00
1ee0e9c571 Test repository access rights 2016-07-21 20:14:20 +04:00
firebirds
066af4665e increment build number 2016-07-18 00:02:47 +00:00
Adriano dos Santos Fernandes
e192e9e70f Fixed CORE-5313 - Data type unknown error with LIST. 2016-07-17 20:42:47 -03:00
firebirds
e98b886fc9 increment build number 2016-07-17 00:02:55 +00:00
Adriano dos Santos Fernandes
24df7c3d9c Remove hability to overflow declared character length in legacy multibyte charsets. 2016-07-16 15:46:54 -03:00
firebirds
244d996035 increment build number 2016-07-16 00:03:10 +00:00
f06a8c30a9 Code cleanup 2016-07-15 18:46:44 +03:00
97afe43dc3 Fixed CORE-5264: To unlock a raw device DB is not working. 2016-07-15 18:05:24 +03:00
firebirds
4d53676261 increment build number 2016-07-15 00:03:01 +00:00
Dmitry Yemanov
f91cce98b9 Postfix for Adriano's commit. 2016-07-14 13:00:30 +03:00
firebirds
b8302acff3 increment build number 2016-07-14 00:02:59 +00:00
Adriano dos Santos Fernandes
36e4fa9461 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 16:28:45 -03:00
Adriano dos Santos Fernandes
14ca252891 Allow to use the BULK_INSERT hack with others commands. 2016-07-13 16:28:45 -03:00
Dmitry Yemanov
4759ea8aa3 Bugfix for CORE-5307: Random 'invalid transaction handle' errors are returned from the engine. 2016-07-13 18:48:12 +03:00
72535dc120 Fixed CORE-5308: ISQL hangs in BLOBVIEW command 2016-07-13 13:05:51 +03:00
firebirds
8cfc297ccf increment build number 2016-07-12 00:02:54 +00:00
Dmitry Yemanov
614489e3e0 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:31:45 +03:00
cccf76695c Style - thanks to Adriano 2016-07-11 12:18:48 +03:00
44e97a7a73 Fixed CORE-5284: Firebird fails to build with USE_VALGRIND 2016-07-11 12:09:57 +03:00
Adriano dos Santos Fernandes
8962c089bb Misc. 2016-07-10 22:51:02 -03:00
firebirds
609111ba32 increment build number 2016-07-10 00:02:54 +00:00
Dmitry Yemanov
373c4599d3 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:24:26 +03:00
firebirds
ec7cbdf4ef increment build number 2016-07-09 00:03:42 +00:00
Dmitry Yemanov
118a78e6e6 Bugfix CORE-5236: IN/ANY/ALL predicates may cause sub-optimal (late
filtering) execution of joins.
2016-07-09 01:14:50 +03:00
firebirds
e9bed7154e increment build number 2016-07-08 00:02:51 +00:00
Roman Simakov
195517cc7a Make restore RDB$GRANT_OPTION more correct 2016-07-07 16:23:49 +03:00
4d82f78976 Make it build again 2016-07-07 15:38:12 +03:00
hvlad
a75e0af175 Fixed bug CORE-5302 : Performance regression when bulk inserting into table with indices 2016-07-07 15:35:33 +03:00
Roman Simakov
e10553e714 Fixed check of NULL for RDB by backup of user privileges 2016-07-07 14:09:00 +03:00
firebirds
7c6430255b increment build number 2016-07-07 00:03:10 +00:00
hvlad
a12035d461 Remove not necessary sync points - dbb_threads_sync 2016-07-06 16:16:22 +03:00
hvlad
d6fae697a3 Remove not necessary sync points - dbb_lck_sync 2016-07-06 16:08:11 +03:00
hvlad
1276907d30 Follow Alex recent commit (updated internal memleaks search tool) - Windows part 2016-07-06 11:29:12 +03:00
firebirds
2fff52f09f increment build number 2016-07-06 00:02:58 +00:00
ee105ddfe6 Fixed CORE-5294: Memory leak when use SHOW GRANTS on new empty database (3.0.1 & 4.0; SS & SC), also updated internal memleaks search tool 2016-07-05 15:04:27 +03:00
firebirds
0727566164 increment build number 2016-07-01 00:02:59 +00:00
3faddd1a44 Fix hardware CRC calculation for data with length 4x+1 2016-06-30 20:37:30 +02:00
Dmitry Yemanov
9c28f6188a 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-30 09:56:33 +03:00
firebirds
953affa94d increment build number 2016-06-30 00:03:01 +00:00
Dmitry Yemanov
53630eb84e Merge pull request #29 from aafemt/CORE-5252
Fix CORE-5252
2016-06-29 23:19:39 +03:00
Adriano dos Santos Fernandes
92218e4f82 Misc. 2016-06-29 15:02:38 -03:00
Adriano dos Santos Fernandes
0bd8fd6bb2 Features CORE-3616, CORE-3617, CORE-3618.
- CORE-3616 - Window Function: percent_rank()
- CORE-3617 - Window Function: cume_dist()
- CORE-3618 - Window Function: ntile(num_buckets integer)
2016-06-29 14:22:51 -03:00
Adriano dos Santos Fernandes
e367ede9f4 Corrections. 2016-06-29 14:21:47 -03:00
129c43b0bc Fixed CORE-5292: Database corrupted when trying to encrypt it but appropriate key is missing 2016-06-29 20:15:49 +03:00
Adriano dos Santos Fernandes
26895605f4 Merge branch 'new_window_functions' of git://github.com/nakagami/firebird into new-window-functions 2016-06-29 12:26:45 -03:00
Adriano dos Santos Fernandes
3c9df93939 Refactor window functions to support new types of functions. 2016-06-29 11:20:55 -03:00
056164ab95 Fixed CORE-5296: Error in network protocol when performing callback to client for database crypt key 2016-06-29 13:41:03 +03:00
firebirds
6e6dfd4987 increment build number 2016-06-29 00:02:56 +00:00
hvlad
6c1fb82629 Additional fix for CORE-4645, thanks to Dmitry 2016-06-28 14:47:00 +03:00
hvlad
2b58717ee4 Fixed bug CORE-5295 : Validation could read after the end-of-file when handle multifile database 2016-06-28 13:06:04 +03:00
firebirds
f058f8d6e5 increment build number 2016-06-23 00:03:39 +00:00
hvlad
b5d150e56a Optimize run-time stats collection a bit 2016-06-23 00:30:47 +03:00
hvlad
9d09321b80 Fixed bug CORE-5289 : Small memory leak when resultset is empty 2016-06-22 12:18:51 +03:00
firebirds
731f328dda increment build number 2016-06-21 00:02:53 +00:00
5cf6d59891 Fixed CORE-5285: Segfault when attachment is closed before it's request/statement/etc. 2016-06-20 13:09:40 +03:00
3bece52e69 Fix for crash during test bugs.core_3008 (#37) 2016-06-20 12:33:11 +03:00
firebirds
ffeea09e7d increment build number 2016-06-19 00:03:10 +00:00
Dmitry Yemanov
0229709101 Bugfix for CORE-5275: Expression index may become inconsistent if CREATE
INDEX was interrupted after b-tree creation but before commiting.
2016-06-18 15:57:25 +03:00
19254eff81 Fixed CORE-5279: Granting access rights to view is broken 2016-06-18 10:30:43 +03:00
firebirds
e918d0c2da increment build number 2016-06-18 00:03:11 +00:00
Adriano dos Santos Fernandes
5e3fd2d5a2 Postfix for CORE-5277 - It's probably better to first check for well-formed data before calculat ethe length. 2016-06-17 11:08:30 +00:00
Adriano dos Santos Fernandes
234e25f078 Fixed CORE-5277 - Parameters with multibyte character sets allow to bypass the character limit of varchar fields. 2016-06-17 11:03:33 +00:00
firebirds
21a0af48a7 increment build number 2016-06-16 00:03:49 +00:00
1c920ac578 Fixed CORE-5278: A number of SPB parameters fail in FB 3 & 4 2016-06-15 19:16:29 +03:00
hvlad
e37cea3e6a Fixed bug CORE-5273 : Crash when attempt to create database with running trace 2016-06-15 18:10:12 +03:00
firebirds
2b4a1dc615 increment build number 2016-06-15 00:03:54 +00:00
2b72824684 Postfix for DY refactoring that leaded to loop in savepoint chain 2016-06-14 19:28:27 +02:00
Adriano dos Santos Fernandes
91a2a3c78f Complements CORE-749 with configuration options. 2016-06-14 17:05:36 +00:00
d042f60ed7 Fix CORE-5252 2016-06-14 19:03:14 +02:00
firebirds
3e4fdba74a increment build number 2016-06-14 00:02:50 +00:00
Adriano dos Santos Fernandes
fc95191875 Decrease the length to 63 to avoid BLR problems (CORE-749) - per Dmitry comment in fbdevel. 2016-06-13 16:02:52 +00:00
firebirds
869f6c7c3c increment build number 2016-06-13 00:02:59 +00:00
Adriano dos Santos Fernandes
b987958946 Changed UCharBuffer to Array<UCHAR> to be correct. 2016-06-12 19:45:53 -03:00