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

47712 Commits

Author SHA1 Message Date
Roman Simakov
2200d097ad Backport of fix CORE-5790 - User with DROP DATABASE privilege can't drop database 2018-04-09 17:38:28 +03:00
firebirds
c6e64d1898 increment build number 2018-04-06 00:05:08 +00:00
hvlad
bf5614b257
Merge pull request #156 from abzalov/B3_0_Release
CORE-5746: Remove the restriction on create/delete, enable/disable user indexes in the system tables
2018-04-05 11:02:31 +03:00
firebirds
e526ff6587 increment build number 2018-04-05 00:05:01 +00:00
hvlad
0e96bbfe48 Corrected additional fix for bug CORE-5702 : Firebird Handle Leak Windows 2018-04-05 00:37:45 +03:00
firebirds
ba6c390c1a increment build number 2018-04-03 00:05:02 +00:00
hvlad
a9b8442b22 Let ExtDS preprocessor and SQL parser handle '\r', '\n' and '\r\n' as end of line.
It should fix bug CORE-5783 : execute statement ignores the text of the SQL-query after a comment of the form "-"
2018-04-03 01:03:36 +03:00
hvlad
07a95159c9 Additional fix for bug CORE-5702 : Firebird Handle Leak Windows 2018-04-03 01:01:52 +03:00
abzalov
2bc844ec27 CORE-5746: Remove the restriction on create/delete, enable/disable the system indexes in system tables 2018-04-02 21:44:34 +03:00
firebirds
7d6cd3ad14 increment build number 2018-03-21 00:05:26 +00:00
AlexPeshkoff
1ac07aba37 Syntax 2018-03-20 19:55:22 +03:00
hvlad
2c7967212d Fixed bug CORE-5773 : PSQL cursor doesn't see inserted record 2018-03-20 09:11:15 +02:00
firebirds
58b62307cb increment build number 2018-03-20 00:05:16 +00:00
AlexPeshkoff
27a6c41172 Backported CORE-5780: Server hangs when client tries to send too long DB encryption key(s) 2018-03-19 18:21:24 +03:00
hvlad
81908fd03d Fix thread priority for attachmentShutdownThread (it was run at lowest priority) 2018-03-19 15:58:02 +02:00
firebirds
89c6e67f11 increment build number 2018-03-19 00:04:50 +00:00
hvlad
467e9fd747 Fixed typo 2018-03-18 15:59:35 +02:00
hvlad
408c0f1dea Avoid GetThreadId() which is not present in WinXP (see CORE-5772) 2018-03-18 15:47:01 +02:00
firebirds
88251eb9e6 increment build number 2018-03-17 00:04:47 +00:00
hvlad
eaa1cff9e0 Fixed bug CORE-405 : Garbage vs indices/constraints 2018-03-16 15:16:07 +02:00
firebirds
63235c77cc increment build number 2018-03-16 00:05:09 +00:00
AlexPeshkoff
f48a7c69ba Backported CORE-5772: Client hangs when working with events under high load 2018-03-15 16:06:12 +03:00
AlexPeshkoff
90b6530d7b Regenerated after Vlad changes 2018-03-15 16:05:09 +03:00
hvlad
f6e93ff6bb Fixed bug CORE-5776 : "Input parameter mismatch" error after altering external function into PSQL function 2018-03-15 11:32:15 +02:00
firebirds
226745f1e0 increment build number 2018-03-14 00:05:24 +00:00
hvlad
4fa1bf4212 This should fix bug CORE-5702 : Firebird Handle Leak Windows 2018-03-13 19:44:33 +02:00
firebirds
f0f3f5f909 increment build number 2018-03-12 00:05:00 +00:00
firebirds
0553770074 increment build number 2018-03-10 00:04:46 +00:00
AlexPeshkoff
f40802dc35 Backported CORE-5765: Missing directives in Firebird.pas 2018-03-09 21:54:57 +03:00
firebirds
0b6c4e549e increment build number 2018-03-02 10:08:02 +00:00
hvlad
00476ed0b8 Return back lost checkouts at sorting module.
It allows to handle AST requests during long sorts.
2018-02-28 18:48:38 +02:00
AlexPeshkoff
2928eec957 Backported CORE-5762: Wrong transaction number in RDB$PAGES relation may cause infinite recusrion in engine and segfault 2018-02-27 15:20:23 +03:00
hvlad
5a92f51c51 Fixed bug CORE-5760 : Server process crashes while restoring database 2018-02-26 18:52:58 +02:00
AlexPeshkoff
4023436992 Backported CORE-5757: deadlock with events 2018-02-25 20:08:31 +03:00
firebirds
cde63fd6c6 increment build number 2018-02-22 00:05:43 +00:00
Dmitry Yemanov
bfb008f4e9 Postfix for CORE-2284/CORE-5677, fixes regression CORE-5756 2018-02-21 10:48:44 +03:00
firebirds
69ebe007b2 increment build number 2018-02-21 00:05:04 +00:00
AlexPeshkoff
4a438a2aaf Backported CORE-5742: Incorrect error message in iSQL when trying to create database with wrong password 2018-02-20 18:25:17 +03:00
AlexPeshkoff
c962269487 Fixed INF processing 2018-02-20 13:59:34 +03:00
firebirds
a73f4ab9d3 increment build number 2018-02-20 00:05:09 +00:00
Roman Simakov
c0d338367b Backport CORE-5754: ALTER TRIGGER check privilege for alter database instead of table 2018-02-19 19:22:10 +03:00
Roman Simakov
e510566160 Backport CORE-5753: Parser allows to use GRANT OPTION for FUNCTION and PACKAGE. 2018-02-19 19:18:07 +03:00
Roman Simakov
b1ad3c8dcb Backport CORE-5747: User can grant USAGE privilege by himself. Error messages were corrected. 2018-02-19 18:59:22 +03:00
firebirds
1c977d42ce increment build number 2018-02-17 00:04:50 +00:00
firebirds
6c0f5ed908 increment build number 2018-02-13 00:05:08 +00:00
Dmitry Yemanov
97ef3211e4 Avoid reading the page buffer after it was released 2018-02-12 19:03:00 +03:00
firebirds
70ade3ad8f increment build number 2018-02-11 00:05:28 +00:00
AlexPeshkoff
f726e7bc97 Fixed CORE-5745: GRANT privileges error during database restore 2018-02-10 20:50:19 +03:00
AlexPeshkoff
a4cb621bf5 Make it build with icu60 2018-02-10 19:43:45 +03:00
firebirds
61ea791c3a increment build number 2018-02-10 00:05:03 +00:00
Adriano dos Santos Fernandes
c249b62ad7 Fixed CORE-5743 - Query parsing failed. 2018-02-09 12:57:25 -02:00
firebirds
87d0806dc9 increment build number 2018-02-09 00:05:10 +00:00
AlexPeshkoff
07456f37cd Cleanup hand-made isinf() 2018-02-08 13:21:42 +03:00
firebirds
58da8dc411 increment build number 2018-02-08 00:05:32 +00:00
AlexPeshkoff
c576432825 Fixed android build 2018-02-07 17:40:47 +03:00
firebirds
e02989e2b9 increment build number 2018-02-07 00:05:25 +00:00
Paul Reeves
c286d7c7a7 Correct spelling of env var is FIREBIRD_LOCK. 2018-02-06 11:42:25 +01:00
Paul Reeves
ccda75fcb7 Correct spelling of env var in comment. 2018-02-06 11:16:05 +01:00
firebirds
81d540064a increment build number 2018-02-06 00:05:14 +00:00
Dmitry Yemanov
37e8fd9c04 Bump version number 2018-02-05 19:42:16 +03:00
Dmitry Yemanov
6befa50a2a Fixed ISQL after changes in gds__vax_integer(). If we insist on passing unsigned integers, then don't allow implicit sign extension 2018-02-05 19:41:00 +03:00
firebirds
eda99c940e increment build number 2018-02-03 00:05:15 +00:00
AlexPeshkoff
72a43c23da Backported CORE-5737: Invalid parameters of gds transaction in ISQL 2018-02-02 13:51:34 +03:00
firebirds
ef6544a300 increment build number 2018-02-02 00:05:43 +00:00
Dmitry Yemanov
5a17b0c3f3 Fixed the hash join regression I introduced recently 2018-02-01 17:58:31 +03:00
AlexPeshkoff
a8f4209e3b Fixed CORE-5735: Additional keyholder opens unauthorized connections to encrypted database 2018-02-01 16:56:33 +03:00
firebirds
4c68563566 increment build number 2018-01-30 00:04:02 +00:00
AlexPeshkoff
0bb1ea6197 Backported CORE-5730: Connection to server hangs when working with encrypted databases 2018-01-29 19:07:41 +03:00
Adriano dos Santos Fernandes
a496ff57f2 Backport fix for CORE-5719 - FB >= 3 crashes when restoring backup made by FB 2.5. 2018-01-29 12:16:31 -02:00
firebirds
12da171484 increment build number 2018-01-29 00:03:48 +00:00
hvlad
9bd868577d Improvement CORE-5727 : Make faster engine response on cancel\shutdown signals when scanning long list of pointer pages 2018-01-28 21:26:43 +02:00
Dmitry Yemanov
9d6b8f4f69 Add missing short-circuit permission check for DBA/DBO that avoids an unnecessary ACL lookup 2018-01-28 14:04:51 +03:00
firebirds
caebfe6e5b increment build number 2018-01-25 00:04:50 +00:00
firebirds
d21fce09ca increment build number 2018-01-23 00:04:03 +00:00
AlexPeshkoff
652d32f9ca Backported CORE-5721: Information items isc_info_length and fb_info_crypt_state have same code 2018-01-22 17:11:09 +03:00
Dmitry Yemanov
9a0f919307 Additional protection for old CORE-3046 2018-01-22 09:38:56 +03:00
firebirds
194dd1c330 increment build number 2018-01-22 00:03:57 +00:00
hvlad
3b68224d8a Fixed bug CORE-5720 : Sweep in Firebird 3 in CS mode could run too slow when there is big load on server 2018-01-21 11:35:10 +02:00
firebirds
2e999251d1 increment build number 2018-01-20 00:04:05 +00:00
Dmitry Yemanov
aac1197e0b Corrected old mistake (fortunately painless) 2018-01-19 14:47:03 +03:00
Dmitry Yemanov
efda78f0fd Synchronize access to the global counter 2018-01-19 14:30:50 +03:00
firebirds
04a13bba78 increment build number 2018-01-19 00:03:57 +00:00
6b0f6a24f7 Avoid annoying warning 2018-01-18 19:09:35 +03:00
firebirds
a911243dee increment build number 2018-01-18 00:03:57 +00:00
Adriano dos Santos Fernandes
a86ce954cc Fixed CORE-5713 - Field alias disapears in complex query. 2018-01-17 19:32:28 -02:00
Vadim Zeitlin
5b0cc954aa Add check for ctime_r to CMake
This is required to fix building using CMake under Linux since
7a1f070d28.
2018-01-17 07:57:41 -02:00
Vadim Zeitlin
36e82387e4 Remove src/jrd/pcmet.epp from CMake files list too
This file was removed in bd555a15a4 but
CMakeLists.txt wasn't updated, do it now.
2018-01-17 07:57:41 -02:00
firebirds
eb13c747c9 increment build number 2018-01-17 00:04:07 +00:00
AlexPeshkoff
93158923bf Backported CORE-5712: Access to the name of DB encryption key 2018-01-16 20:37:57 +03:00
firebirds
5d1bfd673c increment build number 2018-01-16 00:04:52 +00:00
hvlad
45a4ecbc4e Bug CORE-5707 : Begin and end of physical backup in the same transaction could crash engine
Incompatible clauses in the same ALTER DATABASE statement is prohibited now.
2018-01-15 14:29:54 +02:00
hvlad
b217175ddc Bug CORE-5707 : Begin and end of physical backup in the same transaction could crash engine
Crash fixed.
2018-01-15 00:04:20 +02:00
firebirds
42d2bcdcee increment build number 2018-01-14 00:04:19 +00:00
Adriano dos Santos Fernandes
37864b4fb0 Fixed CORE-5706 - Trace config with misplaced "{" lead firebird to crash. 2018-01-13 13:22:50 -02:00
firebirds
69064e4b53 increment build number 2018-01-10 01:48:08 +00:00
hvlad
73cdac38ab Correction for CORE-5704 2018-01-09 17:32:19 +02:00
hvlad
c5667b3578 Improvement CORE-5704 : Avoid UPDATE of RDB$DATABASE by ALTER DATABASE statement when possible 2018-01-09 13:49:03 +02:00
hvlad
f37cfcf6d7 When database validation fixes "orphan page" errors it also should adjust "lowest free page" marker (pip_min) on corresponding PIP, if necessary 2018-01-09 12:44:44 +02:00
hvlad
0166b875de Fixed bug CORE-5694 : Duplicate values in columns with a unique constraint 2018-01-09 12:31:05 +02:00
hvlad
0d8ee0e1b3 Fixed bug CORE-5695 : Position function does not consider the collation for blob 2018-01-09 12:28:34 +02:00
firebirds
3dd5a234c1 increment build number 2018-01-09 00:04:23 +00:00
Dmitry Yemanov
d4fe47cc7d Postfix 2018-01-08 20:09:19 +03:00
9d2d4a74f0 Use the approved way to find dylibs 2018-01-08 09:37:35 +01:00
6bca33b719 Restore dylib extensions to MacOS UDFs 2018-01-08 09:37:35 +01:00
firebirds
020124c067 increment build number 2018-01-06 00:04:05 +00:00
Dmitry Yemanov
92ce56cdfe Fixed CORE-5598: block size exceeds implementation restriction error while inner joining large datasets with a long key using the HASH JOIN plan 2018-01-05 17:03:49 +03:00
firebirds
0c719504b3 increment build number 2018-01-03 00:04:27 +00:00
firebirds
4662a1e724 increment build number 2017-12-26 00:05:36 +00:00
hvlad
a4bba7a0c1 Allow XNET server to detect forced disconnect of XNET client when both client and server are at the same process. 2017-12-25 17:14:12 +02:00
hvlad
698add7e46 Avoid releasing of port reference - it prevents AV in client code. 2017-12-25 17:12:16 +02:00
hvlad
c67eb9c497 It should fix bug CORE-5685 : Sometime it is impossible to cancel\kill connection executing external query.
Also, implement fb_cancel_abort option at engine and unify handling of network errors a bit.
2017-12-25 17:09:34 +02:00
firebirds
8cfd579ead increment build number 2017-12-22 00:07:55 +00:00
AlexPeshkoff
2d3424c5cf Backported fix for CORE-5686: Firebird 3.0.2 allows any protocol version >= 10 to connect, including interbase protocol 14 2017-12-21 13:16:20 +03:00
firebirds
d698cdfdbb increment build number 2017-12-21 00:07:25 +00:00
Dmitry Yemanov
c67c6a0978 CORE-5684: Error 'no current record for fetch operation' is raised while deleting record from MON using ORDER BY clause 2017-12-20 19:51:02 +03:00
firebirds
faca126625 increment build number 2017-12-17 00:05:49 +00:00
hvlad
8ff05712e0 Fixed bug CORE-5681 : AV when external statement is executed and local transaction is rolled back 2017-12-17 01:59:59 +02:00
firebirds
c555f34746 increment build number 2017-12-13 00:05:43 +00:00
hvlad
ef20918f31 Additional patch for Improvement CORE-5674 : Allow unused Common Table Expressions:
report all unused CTE names, even if they refers to each other.
2017-12-12 13:16:34 +02:00
firebirds
e0b6e61060 increment build number 2017-12-12 00:05:44 +00:00
Roman Simakov
caa21df151 Fixed CORE-5677: RDB$PAGES is dirty after error after phase 3 of create_relation (#135) 2017-12-11 08:40:52 +03:00
firebirds
e3ab348653 increment build number 2017-12-09 00:06:27 +00:00
c678d20217 Backport for CORE-5675: isc_vax_integer() and isc_portable_integer() wrong work with short negative numbers (#136)
* Fixed CORE-5675

* Fix the issue in ClumpletReader too
2017-12-08 13:31:03 +03:00
firebirds
49f9713cd9 increment build number 2017-12-07 00:05:27 +00:00
Dmitry Yemanov
31c5a16d82 CORE-5676: Consider equivalence classes for index navigation 2017-12-06 10:15:05 +03:00
firebirds
a403fbc017 increment build number 2017-12-05 00:05:17 +00:00
hvlad
bf220ea358 Fixed bug CORE-5655 : isc_info_sql_relation_alias reports incorrect alias for CTE or nested queries 2017-12-04 18:29:55 +02:00
firebirds
e59fd27b1d increment build number 2017-12-03 00:05:40 +00:00
Dmitry Yemanov
4fd3fb1895 Allow efficient IS NOT DISTINCT FROM for DBKEY access 2017-12-02 19:50:52 +03:00
firebirds
a7c692c69d increment build number 2017-12-02 00:05:33 +00:00
hvlad
2900b34c3f Improvement CORE-5674 : Allow unused Common Table Expressions 2017-12-01 11:53:40 +02:00
hvlad
bc845f600b
Merge pull request #113 from red-soft-ru/fix_CORE_5618
Fixed bug CORE-5618 : Part of the pages of the second level blobs is not released when deleting relations
2017-12-01 09:26:58 +01:00
firebirds
7b3df5580f increment build number 2017-12-01 00:05:27 +00:00
hvlad
9e079afb6c Fixed bug CORE-5667 : Regression in 3.0+: message "CTE 'X' has cyclic dependencies" appear when 'X' is alias for resultset and there is previous CTE part with the same name 'X' in the query 2017-11-30 16:01:09 +02:00
firebirds
dff877c0dd increment build number 2017-11-30 00:06:24 +00:00
hvlad
a037fc46cc Fixed PSV-Studio warnings 2017-11-29 20:14:11 +02:00
AlexPeshkoff
992554a63f Backported fix for CORE-5673: Unique constraint not working in encrypted database on first command 2017-11-29 11:34:22 +03:00
Adriano dos Santos Fernandes
355c6f4f1c Fixed PVS-Studio warnings. 2017-11-28 22:19:52 -02:00
firebirds
1b92a4ad44 increment build number 2017-11-29 00:05:21 +00:00
Dmitry Yemanov
b5dc562d5f Frontported CORE-3295: Estimate the actual record compression ratio in the optimizer. It was somehow forgotten and never found its way into newer versions :-( 2017-11-28 09:46:37 +03:00
firebirds
576b134c7b increment build number 2017-11-25 00:05:16 +00:00
Dmitry Yemanov
134d923fa1 Reworked solution for CORE-1295: Bad optimization of queries with DB_KEY. Now it solves also CORE-4492: OR/IN predicates for RDB lead to NATURAL plan 2017-11-24 13:59:20 +03:00
firebirds
e612206e2d increment build number 2017-11-22 00:05:17 +00:00
Dmitry Yemanov
312331537d Fixed CORE-5547: Server crashes while compiling stored procedure with nested references to query-based computed fields 2017-11-21 14:24:45 +03:00
firebirds
ec13e6a4cb increment build number 2017-11-21 00:05:58 +00:00
Dmitry Yemanov
8d3021e479 CORE-5659: Bad PLAN generated for query on Firebird v3.0 2017-11-20 11:01:28 +03:00
firebirds
cfa5f20a38 increment build number 2017-11-15 00:06:32 +00:00
6f5be2f41a Backported fix CORE-5624: using backslash in alias on linux does not work 2017-11-14 19:27:36 +03:00
hvlad
e5d3d703a9 Rename marked() -> isMarked(), operator bool() -> isEof() as Dmitry and Alex suggests. 2017-11-14 14:59:42 +02:00
36abbe24c4 Fixed gcc build 2017-11-14 15:30:17 +03:00