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

48112 Commits

Author SHA1 Message Date
AlexPeshkoff
6bc775c4ab Related to CORE-5830 and auto pointers changes, suggested by Vlad 2018-05-22 19:34:52 +03:00
AlexPeshkoff
01b108858a Backported fix for CORE-5830: Encryption Interface crashing Firebird process when working on big db file (6.7GB) 2018-05-22 17:37:44 +03:00
AlexPeshkoff
a04ef3d73b Backported AutoPtr<> enhancements from HEAD 2018-05-22 17:37:44 +03:00
firebirds
51537e4b0f increment build number 2018-05-19 00:03:42 +00:00
Dmitry Yemanov
8bd8c1176a Fixed inconsistency in request/transaction state after error 2018-05-18 12:02:53 +03:00
firebirds
a2a91ccdd6 increment build number 2018-05-18 00:03:33 +00:00
AlexPeshkoff
0316c5271e Backported CORE-5829: gsec does not release user manager plugin 2018-05-17 17:40:21 +03:00
firebirds
ec78730c1c increment build number 2018-05-11 00:03:35 +00:00
AlexPeshkoff
9686b3a689 Backported CORE-5822: Wrong error returned to client when WireCrypt=Disabled is used 2018-05-10 16:00:02 +03:00
firebirds
ceda2bd05a increment build number 2018-05-10 00:03:24 +00:00
hvlad
8c1e31fe49 Fixed bug CORE-5819 : Attachment might not gone after it was DELETEd FROM MON$ATTACHMENTS 2018-05-09 12:53:47 +03:00
firebirds
e8279d22f7 increment build number 2018-05-08 00:03:29 +00:00
firebirds
2127a5ea5a increment build number 2018-05-05 00:03:34 +00:00
AlexPeshkoff
845fb384fc Backported CORE-5815: Server hangs for 60/120 seconds if client exits during database encryption key transfer callback 2018-05-04 21:15:40 +03:00
firebirds
3eb72d5ebb increment build number 2018-05-04 00:03:26 +00:00
hvlad
10c4b46c5e This fixed deadlock on Windows when one thread unload some plugin(s) (due to shutdown, for ex.) and another thread run threadDetach() 2018-05-03 13:17:35 +03:00
firebirds
fd78aaaf6b increment build number 2018-04-28 00:03:42 +00:00
hvlad
114e4fdf3c Another addition to the my recent patch (AV related with EDS) 2018-04-27 16:42:54 +03:00
hvlad
52da531861 Addition to the my recent patch (AV related with EDS) 2018-04-27 16:26:41 +03:00
firebirds
932ab9bf0a increment build number 2018-04-27 00:03:37 +00:00
hvlad
a9c97ce80c Allows to correctly free JTransaction after bugcheck 2018-04-26 22:37:41 +03:00
hvlad
bf54a6083c Fixed AV's at EDS subsystem
- pure virtual call from Manager::shutdown()
- garbage m_jrdTran pointer at Transaction::detachFromJrdTran()

It could happen when InternalConnection was not destroyed within its bound Jrd::Attachment by some extra-ordinal reason (such as bugcheck).
2018-04-26 22:36:28 +03:00
firebirds
dcbf991887 increment build number 2018-04-24 00:04:27 +00:00
Roman Simakov
6019498bd7 Partial backport of CORE-5804: Multiple error in REVOKE operator.
Fixed revoking grant option for field permissions.
2018-04-23 16:46:26 +03:00
hvlad
77c2c58d7e Fixed bug CORE-5436 : [FB3 SC] Server hangs (under load test) 2018-04-23 10:01:39 +03:00
firebirds
f59acfa237 increment build number 2018-04-22 00:04:25 +00:00
hvlad
ee92f30f09 Avoid recursive locking of plugins list mutex. This fixed deadlock at PluginSet::next. 2018-04-22 00:31:55 +03:00
firebirds
b26306977f increment build number 2018-04-21 00:04:58 +00:00
hvlad
5071801b9a Replace nullptr by NULL to please our POSIX build 2018-04-21 00:05:20 +03:00
hvlad
4fbff371fd Fixed rare deadlock when one thread is finishing, loaded modules run threadDetach() while another thread loaded some new module.
The deadlock is with windows loader lock and plugin's list mutex.
2018-04-20 23:46:00 +03:00
hvlad
5b166c21f4 Fixed leak of ThreadSync instance when module (for. ex. engine) is unloaded before worker threads gone. 2018-04-20 23:41:46 +03:00
Dmitry Starodubov
c916203cb6 Backported check for access rights to BLOBs. It should fix CORE-5801. (#158) 2018-04-20 12:08:22 +03:00
firebirds
d9e86c7f17 increment build number 2018-04-20 00:04:41 +00:00
hvlad
a2a55ad3a1 Fixed small memory leak 2018-04-19 14:25:14 +03:00
firebirds
c444ab6d8a increment build number 2018-04-19 00:04:37 +00:00
AlexPeshkoff
b5ad1ec5cf Backported CORE-5796: gstat may produce faulty report about presence of some none-encrypted pages in database 2018-04-18 19:52:15 +03:00
firebirds
7e42941523 increment build number 2018-04-17 00:04:39 +00:00
AlexPeshkoff
aaf37e6189 Postfix for CORE-5791. Sorry to snapshot builds users - had to change ODS minor once again. If someone was using snapshots with ODS 12.1 please backup with old snapshot code and restore using current one. 2018-04-16 20:50:07 +03:00
firebirds
0cca4eb973 increment build number 2018-04-16 00:04:27 +00:00
Dmitry Yemanov
2033c759ee Misc 2018-04-15 09:53:40 +03:00
firebirds
a435481721 increment build number 2018-04-14 00:09:08 +00:00
Dmitry Yemanov
0f670c1c2a More complete solution for early monitoring initialization 2018-04-13 10:21:18 +03:00
firebirds
da91d0fb25 increment build number 2018-04-13 00:04:56 +00:00
hvlad
ad0580e7d1 Create MonitoringData early to avoid races later.
It fixed leakage of MonitoringData instance (and few related handles) when many connections created simultaneously.
See also CORE-5702.
2018-04-12 23:24:31 +03:00
firebirds
78e98757cb increment build number 2018-04-12 00:05:03 +00:00
AlexPeshkoff
a8e1ff3fcd Fixed CORE-5791: ODS for windows builds and linux-x64 (on the one side) and linux-x86 (on the other side) does not match 2018-04-11 20:20:40 +03:00
firebirds
d5dd6ab380 increment build number 2018-04-11 00:05:01 +00:00
hvlad
840d6afec8 Fixed my error (case when eol follows immediately after '--') 2018-04-10 17:26:52 +03:00
firebirds
41c74ef650 increment build number 2018-04-10 00:05:02 +00:00
Roman Simakov
b3ae27c7d7 Update generated file 2018-04-09 17:38:54 +03:00
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
hvlad
ebdf7b07c8 Improvement CORE-5660 : Make flash of big number of dirty pages faster 2017-11-14 13:23:32 +02:00
7a1f070d28 Backported fix for CORE-5629: gstat output does not include datetime of analysis 2017-11-14 14:18:43 +03:00
firebirds
0df8f47ebf increment build number 2017-11-14 00:06:07 +00:00
hvlad
e7601f4b89 Backported from master:
- Refactoring: make class Printer ready for usage not only in btr.cpp
- Reimplement broken blob filter for rdb$format
2017-11-14 01:13:25 +02:00
dcdef1bf1e Bacported fix for CORE-5630: Can't create the shadow file 2017-11-13 19:35:19 +03:00
bd0d93a1f9 Postfix for CORE-5650: added check for missing function as suggested by Adriano 2017-11-13 13:04:45 +03:00
firebirds
b17b2a73e6 increment build number 2017-11-10 00:05:47 +00:00
87d4be976b Fixed invalid name of boolean datatype in public header 2017-11-09 16:15:24 +03:00
firebirds
9ddea2cc60 increment build number 2017-11-08 00:05:24 +00:00
Roman Simakov
5d92c2358f Simplified TCP_NODELAY setting by the same way for all platforms 2017-11-07 15:35:27 +03:00
firebirds
b0bef8fa8b increment build number 2017-11-04 00:05:39 +00:00
Roman Simakov
9fdbd21caf CORE-5653: Very slow restore from gbak containing a huge small blobs via classic. I set TCP_NODELAY for listen socket in Linux always sinse other sockets inherit it. 2017-11-03 15:12:24 +03:00
firebirds
21211e4351 increment build number 2017-11-03 00:05:26 +00:00
firebirds
278eb578ba increment build number 2017-11-02 00:05:28 +00:00
931dc588d5 Backported fix for CORE-5651: Problem migrating users to V3.0 2017-11-01 14:33:14 +03:00
Ilya Eremin
b5a80a4e11 Clear tdbb_status_vector after unsuccessful conversion to UTF8 in trace (#123)
* Clear tdbb_status_vector after unsuccessful conversion to UTF8 in trace

In this case dirty status vector can cause errors during statement execution.

* Error function parameter is added to convertToUTF8 function to avoid modifying of tdbb_status_vector in trace
2017-11-01 13:20:14 +03:00
firebirds
e7d2c5de3e increment build number 2017-11-01 00:13:01 +00:00
hvlad
533b78ac10 This should fix bug CORE-5615 : Firebird 3 crashing randomly 2017-10-31 20:34:19 +02:00
hvlad
8f893fda73 Backport fix for bug CORE-5600 : Invalid blob id when add a new blob column of type text and update another field 2017-10-31 19:41:53 +02:00
hvlad
a760da1a14 Fixed Windows build 2017-10-31 19:39:50 +02:00
f5a37fda5b Backported fix for CORE-5643: Message "Operating system call munmap failed. Error code 12" can appear in firebird.log under heavy load 2017-10-31 19:04:00 +03:00
f2bbea1669 Fixed build with gcc 5.4 2017-10-31 19:04:00 +03:00
firebirds
6b80c22ac5 increment build number 2017-10-28 00:03:59 +00:00
Adriano dos Santos Fernandes
4226f7cb4b Fixed CORE-5645 - Wrong transaction can be passed to external engine. 2017-10-27 14:29:30 +00:00
firebirds
b6b61218b2 increment build number 2017-10-26 00:03:51 +00:00
8738264de2 Backported fix for CORE-5650: Segfault when procedure dropped on classic server 2017-10-25 16:18:48 +03:00
firebirds
819a36effb increment build number 2017-10-25 00:03:55 +00:00
4020537995 Backported fix for CORE-5649: isc_add_user / isc_modify_user produce unusable user record 2017-10-24 17:14:51 +03:00
hvlad
0d0c9ccfda Improvement CORE-5648 : Avoid serialization of isc_attach_database calls issued by EXECUTE STATEMENT implementation 2017-10-24 13:07:38 +03:00
firebirds
3ff941d4f3 increment build number 2017-10-17 00:03:40 +00:00
Adriano dos Santos Fernandes
f505b607c4 Fixed CORE-5638 - Wrong result with index on case-insensitive collation using NUMERIC-SORT. 2017-10-16 13:43:29 +00:00
firebirds
0798efc35e increment build number 2017-10-14 00:11:35 +00:00
firebirds
03a195cb5b increment build number 2017-10-13 00:04:08 +00:00
denis.logashov
98607316e5 Fixed CORE-5618 - Part of the pages of the second level blobs is not released when deleting relations 2017-09-28 17:10:16 +03:00
firebirds
d0a190a16a increment build number 2017-09-21 00:03:46 +00:00
e5754b11cb Backported fix for CORE-5610: Provide info about database (or alias) which was in use during "Error during sweep: connection shutdown" 2017-09-20 13:19:00 +03:00
firebirds
24db5cd29e increment build number 2017-09-17 00:05:55 +00:00
hvlad
9825b04c2a Improvement CORE-5614 : Physical backup merge stage could run too long, especially with huge page cache 2017-09-16 11:18:34 +03:00
hvlad
bb5a3b06df Fixed bug CORE-5613 : SuperServer could hung when changing physical backup state under high load 2017-09-16 11:16:23 +03:00
firebirds
7a8c2b7cc9 increment build number 2017-09-06 00:05:25 +00:00
698145b542 Fixed CORE-5605: Incorrect check for existing MAP in a case when pre-FB3 security database is used 2017-09-05 15:13:51 +03:00
firebirds
7d468d7a3d increment build number 2017-09-05 00:05:38 +00:00
Ilya Eremin
c1d02073ac Fixed conversion of parameters to UTF8 in trace: reading string length depending on descriptor type (#107) 2017-09-04 17:43:31 +03:00
hvlad
e2c8f221cc Fixed regression CORE-5062 : slow changes on domain 2017-09-04 15:30:26 +03:00
firebirds
4b0057054b increment build number 2017-08-31 00:05:28 +00:00
606980923d Simplify code as suggested by Dmitry 2017-08-30 14:02:33 +03:00
firebirds
a7c40e38a4 increment build number 2017-08-17 00:05:36 +00:00
50e9f8cf0d Postfix for CORE-5536: services were broken due to incorrect remote info processing 2017-08-16 14:51:04 +03:00
firebirds
84d742a90c increment build number 2017-08-16 00:05:49 +00:00
83e1342979 Partially backported CORE-5536: Connections compressed/encrypted in Attachment::getInfo() tags 2017-08-15 16:46:19 +03:00
firebirds
45fe3014f6 increment build number 2017-08-03 00:05:20 +00:00
31ce125788 Backported fix for CORE-5591: Engine hangs soon after some errors during transaction start 2017-08-02 15:05:38 +03:00
firebirds
12708fe237 increment build number 2017-08-02 00:05:16 +00:00
6fab8fdb94 Committed updated pascal interfaces 2017-08-01 18:22:08 +03:00
firebirds
92b66a3a32 increment build number 2017-07-26 00:05:28 +00:00
Ilya Eremin
cdaab7f30a Excess conversion of sql statement to UTF8 is removed from fbtrace (#101) 2017-07-25 12:36:22 +03:00
firebirds
e69e1bcff0 increment build number 2017-07-25 00:05:20 +00:00
Adriano dos Santos Fernandes
830372f0b9 Another try to fix CORE-5570 - Negative infinity (double) shown incorrectly without sign in isql - without breaking MSVC build. 2017-07-24 15:17:00 +00:00
firebirds
6af61deaf9 increment build number 2017-07-22 00:05:40 +00:00
Adriano dos Santos Fernandes
1b670aeeca Revert "Fixed CORE-5570 - Negative infinity (double) shown incorrectly without sign in isql." - not compiling in MSVC.
This reverts commit 63080abc1e.
2017-07-21 19:29:06 +00:00
firebirds
23fb106cbe increment build number 2017-07-20 00:05:12 +00:00
Ilya Eremin
cf558fa11b Conversion of statements, procedures and functions parameters (CHAR and VARCHAR) to UTF8 in trace log (#95)
* Conversion of statements, procedures and functions parameters (CHAR and VARCHAR) to UTF8 in trace log

* cloop interface version check is added for getTextUTF8 function
2017-07-19 17:42:34 +03:00
17d1771830 Backported fix for CORE-5588: DbInfo interface is not passed to ancillary instances of plugin 2017-07-19 17:22:47 +03:00
firebirds
55f0659d58 increment build number 2017-07-19 00:04:50 +00:00
Adriano dos Santos Fernandes
63080abc1e Fixed CORE-5570 - Negative infinity (double) shown incorrectly without sign in isql. 2017-07-18 18:25:17 +00:00
16ea677411 Find icu libs within the framework 2017-07-18 13:18:04 +02:00
firebirds
eda27b866c increment build number 2017-07-18 00:05:09 +00:00
Adriano dos Santos Fernandes
b2112be29e Backport fix for CORE-5580 - Signature of packaged functions is not checked for mismatch with [NOT] DETERMINISTIC attribute. 2017-07-17 18:14:56 +00:00
firebirds
c5448a3fdf increment build number 2017-07-15 00:05:55 +00:00
hvlad
661df1b429 Fixed bug CORE-5579 : request synchronization error in the GBAK utility (restore) 2017-07-14 14:43:33 +03:00
firebirds
d069d1f95b increment build number 2017-07-13 00:07:39 +00:00
e736863215 Get rid of extraneous warnings when packaging firebird for MacOS install 2017-07-11 14:22:06 +02:00
firebirds
0d8e1e35d8 increment build number 2017-07-07 00:02:32 +00:00
Adriano dos Santos Fernandes
8c26a203a4 Fix MSVC10 build. 2017-07-06 15:15:42 +00:00
firebirds
abf76e188b increment build number 2017-07-05 00:03:09 +00:00
firebirds
e473a9602c increment build number 2017-07-04 00:07:30 +00:00
Roman Simakov
00e5a9f87f Fixed CORE-5576: Bugcheck on queries containing WITH LOCK clause.
Thanks to Vlad for the help in resolving.
2017-07-03 22:31:23 +03:00
firebirds
91e1237bd0 increment build number 2017-07-01 00:03:00 +00:00
faf9ead0a3 Add inet6 protocol support for MacOS 2017-06-30 13:16:35 +02:00
55c37c411e Bring MacOSX mod_loader upto date with posix mod_loader 2017-06-30 13:16:35 +02:00
firebirds
04b4509143 increment build number 2017-06-30 00:03:38 +00:00
firebirds
64b6e4932b increment build number 2017-06-19 00:21:19 +00:00
Adriano dos Santos Fernandes
23a9a5dbb3 Fixed CORE-5569 - ISQL incorrectly pads UNICODE_FSS/UTF8 columns when they use a collation. 2017-06-17 23:07:57 -03:00
firebirds
6caf9efe65 increment build number 2017-06-14 00:06:12 +00:00
hvlad
98b9259ba5 Comment 2017-06-13 18:50:30 +03:00
hvlad
72ffc87247 Improvement CORE-4913 : Database backup using Nbackup is getting slow when directed to NAS over SMB protocol 2017-06-13 17:12:12 +03:00
firebirds
56cab2943e increment build number 2017-06-13 00:03:02 +00:00
Adriano dos Santos Fernandes
9364fac171 Fixed CORE-5567 - Direct system table modifications are not completely prohibited. 2017-06-12 19:57:06 -03:00
Dmitry Yemanov
48d6f37c1a Workaround for CORE-5566: Server crashes while restoring backup if the shadow file already exists 2017-06-12 11:20:42 +03:00
firebirds
8334dea7fb increment build number 2017-06-12 00:04:16 +00:00
Dmitry Yemanov
c04a6ea7bf CORE-5543: Restore of pre ODS 11.1 database can leave RDB null 2017-06-11 20:22:14 +03:00
firebirds
41cbe8388a increment build number 2017-06-09 00:10:13 +00:00
b80624c412 Backported fix for CORE-5562: Firebird crashes when UDF gets loaded and unloaded frequently 2017-06-08 12:44:08 +03:00
firebirds
c71974ea19 increment build number 2017-05-31 00:02:35 +00:00
Adriano dos Santos Fernandes
db9e541d82 Misc. 2017-05-30 08:07:37 -03:00
hvlad
c74e931fa2 Fixed bug CORE-5555 : 3.0 error handling for SELECT WITH LOCK breaks compatibility with 2.5 2017-05-30 13:22:21 +03:00
firebirds
db22b1c994 increment build number 2017-05-30 00:02:47 +00:00
Adriano dos Santos Fernandes
9277af30bf Fixed CORE-5550 - Computed decimal field in a view has wrong RDB$FIELD_PRECISION. 2017-05-29 16:40:37 +00:00
firebirds
1d7a85fb78 increment build number 2017-05-29 00:02:37 +00:00
c3b6121224 Backported fix for CORE-5553: Database cannot be encrypted if DatabaseAccess is set to None 2017-05-28 15:44:32 +03:00
firebirds
ed8a32cc29 increment build number 2017-05-24 00:02:49 +00:00
Adriano dos Santos Fernandes
a721bba5a2 Fixed CORE-5526 and CORE-5527.
CORE-5526: External routines receives parameters with incorrect length or datatype.
CORE-5527: External routines does not receive default values for they output parameters.
2017-05-23 15:22:01 +00:00
firebirds
0e4986b941 increment build number 2017-05-23 00:02:37 +00:00
5c4b4fc42a Backported fix for CORE-5549: Errors building / running FB on non-SSE enabled HW 2017-05-22 18:02:39 +03:00
firebirds
250d90586a increment build number 2017-05-20 00:02:28 +00:00
Adriano dos Santos Fernandes
82637116c1 Fixed CORE-5542 - Database-level triggers related to TRANSACTION events (i.e. start, commit and rollback) do not take in account their POSITION index (when more than one trigger for the same event type is defined). 2017-05-19 17:19:09 +00:00
firebirds
300c2c4ce6 increment build number 2017-05-18 00:02:25 +00:00
firebirds
358306b1c8 increment build number 2017-05-17 00:02:26 +00:00
hvlad
8474689760 Make all internal connections to the security database use embedded provider only.
It should fix bug CORE-5540 : Every other execution of embedded isql slow.
2017-05-17 00:04:59 +03:00
firebirds
7c164aae11 increment build number 2017-05-16 00:02:30 +00:00
Adriano dos Santos Fernandes
48a96247e0 Fixed CORE-5535 - Garbage value in RDB$FIELD_SUB_TYPE in RDB$FUNCTION_ARGUMENTS after altering function. 2017-05-15 15:48:34 +00:00
firebirds
361482b316 increment build number 2017-05-11 00:02:27 +00:00
Adriano dos Santos Fernandes
208f24f222 Fixed CORE-5533 - Crash on 3.0 and 4.0 when DB contains database-level trigger. 2017-05-10 15:46:29 +00:00
92d37c8efe Backported fix for CORE-5517: Classic server periodically raise "Global mapping memory overflow" and need to be restarted to accept new connections 2017-05-10 16:49:24 +03:00
hvlad
e71fcbbabe This should fix bug CORE-2853 : page 14194, page type 5 lock conversion denied (215) 2017-05-10 12:04:38 +03:00
firebirds
f7afcd4be5 increment build number 2017-05-06 00:02:27 +00:00
hvlad
ef0002030a Missed piece in 64-bit transaction numbers support 2017-05-05 16:36:09 +03:00
firebirds
d84b58386d increment build number 2017-04-29 00:02:41 +00:00
hvlad
6c5a2aec29 Fixed bug CORE-5528 : internal Firebird consistency check (limbo impossible (184), file: vio.cpp line: 2379) 2017-04-28 11:28:47 +03:00
firebirds
40b535707d increment build number 2017-04-17 00:03:00 +00:00
hvlad
e1825923e5 This should fix bug CORE-5516 : Firebird service crashes when stopping 2017-04-17 01:39:54 +03:00
firebirds
b93c58c36c increment build number 2017-04-14 00:02:48 +00:00
hvlad
c2d3266fce Backport fix for race condition when two different events could use same instance of unused Rvnt.
Details at fb-devel, thread "Concurrency bugs in posting events?" by Mark Rotteveel.
Thanks to Adriano for discovering issue.
2017-04-14 00:17:17 +03:00
firebirds
40a7c45b27 increment build number 2017-04-05 00:02:27 +00:00
hvlad
889f749c17 Fixed bug CORE-5416 : FB does not release memory after load tests 2017-04-04 19:15:55 +03:00
hvlad
f35044a28b Fixed memory leak in fbintl 2017-04-04 19:15:38 +03:00
firebirds
192dc207e8 increment build number 2017-03-30 00:02:26 +00:00
Paul Reeves
c8c7c3a44d Small change to allow isql to pipe output 2017-03-29 16:32:02 +02:00
firebirds
6269acdad6 increment build number 2017-03-28 00:02:25 +00:00
Roman Simakov
c96ebb1b4c Small correction suggested by Vlad 2017-03-27 13:39:29 +03:00
Roman Simakov
c466005826 Fixed CORE-5510: 3+ versions may send status vector with more then 20 items to old clients and cause disconnect 2017-03-27 11:00:51 +03:00
firebirds
9aa7160166 increment build number 2017-03-27 00:02:24 +00:00
Dmitry Yemanov
96bae0e333 Bump the version number 2017-03-26 12:05:57 +03:00
firebirds
d1437a0ad9 increment build number 2017-03-22 00:02:26 +00:00
hvlad
8b8544eec2 A bit changed fix for bug CORE-5415, now it includes current tx (Next) too 2017-03-21 14:16:57 +02:00
hvlad
2cda03212a Fixed bug CORE-5415 : [security3.fdb] wrong page type page 22 is of wrong type (expected pointer, found index root) 2017-03-21 13:04:48 +02:00
firebirds
cf679e1b8f increment build number 2017-03-19 00:02:29 +00:00
hvlad
f23ed3f623 Fixed Windows build. Alex, please check 2017-03-18 09:25:40 +03:00
firebirds
83651d8ffd increment build number 2017-03-18 00:02:26 +00:00
Dmitry Yemanov
046fb37a2d Partial fix for CORE-5489: Bad performance for NULLs filtering inside a navigational index scan. More generic solution will be committed to master. 2017-03-17 14:51:28 +03:00
Dmitry Yemanov
eef8ef82ca Make lock key prints a bit more user-friendly 2017-03-17 14:51:28 +03:00
firebirds
079f0e603a increment build number 2017-03-17 00:02:26 +00:00
51accdaa70 Better parameter name in CORE-5472 2017-03-16 13:07:23 +03:00
2fdb281759 Backported fix for CORE-5472: Problems with dbcrypt key transfer 2017-03-16 12:17:17 +03:00
firebirds
6acbc9048d increment build number 2017-03-15 00:02:40 +00:00
hvlad
55df9ac0aa Fixed bug CORE-5498 : Cannot create connection for DB Events 2017-03-14 18:40:55 +02:00
Dmitry Yemanov
3e15291a8c Yet another attempt to address CORE-5456 / CORE-5457 properly. This time sub-routines should be fixed too. 2017-03-14 13:10:47 +03:00
firebirds
cba6f4d99f increment build number 2017-03-11 00:02:40 +00:00
3e5ac85546 Backported fix for CORE-5501: Unclear gstat's diagnostic when damaged page in DB file appears encrypted 2017-03-10 17:09:32 +03:00
firebirds
d8fd4b9fda increment build number 2017-03-07 00:02:42 +00:00
8d95d7c975 Backported fix for CORE-5496: Creating SRP SYSDBA with explicit admin (-admin yes in gsec or grant admin role in create user) creates two SYSDBA accounts 2017-03-06 13:11:47 +03:00
firebirds
42bc7b0517 increment build number 2017-02-16 00:02:41 +00:00
Ilya Eremin
b1da08709f Backported from master: More clear implementation of write error handling in gbak (#82) 2017-02-15 18:02:29 +04:00
455a0a5d89 Backported fix for CORE-5458: Connections fail due to dead NFS mount points 2017-02-15 16:46:08 +03:00
308dba5cb4 Backported fix for CORE-5484: Database on NFS share is unavailable when accessed using mount point path 2017-02-15 16:45:00 +03:00
firebirds
aa2512a2be increment build number 2017-02-14 00:02:43 +00:00
Dmitry Yemanov
ffff0e8546 Temporary fix for CORE-5481, a more complete solution is being developed. 2017-02-13 08:22:24 +03:00
Dmitry Yemanov
cebbbf542b Rework CORE-5456 / CORE-5457 by reverting back to the v2.5 logic. Previous attempts succeeded only partially. 2017-02-13 08:22:24 +03:00
firebirds
44b1398c2e increment build number 2017-02-10 00:02:37 +00:00
Ilya Eremin
e70c5fee4f Hiding password in fbtracemgr arguments from ps (#80) 2017-02-09 15:47:34 +04:00
firebirds
74c4028421 increment build number 2017-02-09 00:02:43 +00:00
hvlad
370572b2dd Backport improvements
CORE-5475 : Provide ability to filter out info and warnings from trace log, and
CORE-4486 : Trace: provide filter to INCLUDE / EXCLUDE errors by their mnemonical names
2017-02-08 13:38:02 +02:00
firebirds
e222ceaf25 increment build number 2017-02-08 00:02:43 +00:00
Adriano dos Santos Fernandes
24d998285d Fixed CORE-5447 - EXECUTE STATEMENT with a statement with "Unexpected end of command" error is reported with wrong column number. 2017-02-07 14:49:47 +00:00
firebirds
10a3d24fa8 increment build number 2017-02-07 00:02:43 +00:00
hvlad
17256cb34c Fixed VC10 build 2017-02-06 23:25:57 +02:00
56e9a73c16 Backported fix for CORE-5474: 'Restrict UDF' is not effective, because fbudf.so is dynamically linked against libc 2017-02-06 19:50:03 +03:00
firebirds
9b2f8d27ca increment build number 2017-02-04 00:02:45 +00:00
hvlad
118b578a0d Backport fix for bug CORE-5477 : Trace duplicates asci_char(13) in its output (Windows only) 2017-02-04 01:25:54 +02:00
hvlad
7e9d7dcc86 Fixed bug CORE-5470 : Trace INCLUDE_FILTER with [[:WHITESPACE:]]+ does not work when statement contains newline is issued 2017-02-03 18:32:39 +02:00
firebirds
d3e5649cfa increment build number 2017-02-03 00:02:38 +00:00
913b312a07 Backported fix for CORE-5472 2017-02-02 17:34:56 +03:00
hvlad
1a075b8d5a Fixed bug CORE-5448 : FB3 - crash (consistency check) when creating view on table which has column with character set none, database default charset is utf8, and utf8 default collation is 'unicode' 2017-02-02 13:33:31 +02:00
firebirds
7a83352a1d increment build number 2017-01-31 00:02:21 +00:00
firebirds
079dafd348 increment build number 2017-01-29 00:02:21 +00:00
Dmitry Yemanov
cbe9ac071f Preserve the alias after the relation/procedure node copying 2017-01-28 11:49:03 +03:00
firebirds
1d5ec591f6 increment build number 2017-01-28 00:02:21 +00:00
Dmitry Yemanov
37e2aa350b Reworked bugfix for CORE-5456. Now it addresses CORE-5457 as well. 2017-01-27 11:31:29 +03:00
firebirds
d8f0968ae6 increment build number 2017-01-26 00:02:19 +00:00
hvlad
a051c78dd1 Improvement CORE-5434 : Read-only transactions in SuperServer could avoid immediate write of Header and TIP pages after change 2017-01-25 21:39:16 +02:00
firebirds
8217ad40d9 increment build number 2017-01-21 00:02:24 +00:00
Dmitry Yemanov
e8dd0b1aec Bugfix CORE-5456: Migrating Firebird 2.5.2 to 3.0.1 gbak restore crashes at the end always 2017-01-20 09:11:19 +03:00
firebirds
6102a813e3 increment build number 2017-01-20 00:02:24 +00:00
hvlad
0fab1a8559 Fixed bug CORE-5464 : AV in fbclient when reading blob stored in incompatible encoding 2017-01-20 00:43:48 +02:00
hvlad
ddd5d0437d Make validation detect and fix data page error when DP marked as secondary contains primary record version(s).
See CORE-5459.
So far i can't reproduce the corruption thus ticket is not resolved.
2017-01-20 00:29:26 +02:00
firebirds
94818ef4f0 increment build number 2017-01-17 00:02:23 +00:00
7e2d7d12c9 Removed unused variable - thanks to Adriano 2017-01-16 11:35:32 +03:00
firebirds
b073db2e89 increment build number 2017-01-16 00:02:32 +00:00
hvlad
b8fdca00d2 Fixed Windows build 2017-01-15 12:17:27 +02:00
firebirds
946d5b2fad increment build number 2017-01-14 00:02:31 +00:00
e806efd3e3 Better names - suggested by Dmitry and Vlad 2017-01-13 14:57:01 +03:00
40f782ae3e Backported fix for CORE-5452: Segfault when engine's dynamic library is unloaded right after closing worker threads (GC and/or cache writer) 2017-01-13 14:29:54 +03:00
c112d5db1d Backported fix for CORE-5368: Regression: client application is hang (in same cases trow an access violation in Engine12.dll) on selecting from multiple threads using 1 embedded connection 2017-01-13 13:00:40 +03:00
firebirds
dbbc66a245 increment build number 2017-01-10 00:03:18 +00:00
ef2fbabf1e Backported implementation of CORE-5442: Enhance control upon ability to share database crypt key between attachments in SS 2017-01-09 20:28:48 +03:00
firebirds
7d5daaf763 increment build number 2017-01-08 00:02:31 +00:00
Dmitry Yemanov
50d3041cf1 This check does not seem actual anymore, addresses CORE-1095 and CORE-3530 2017-01-07 15:46:22 +03:00
firebirds
d8153a8891 increment build number 2017-01-07 00:02:34 +00:00
hvlad
90a46fa3a8 Correction for recent patch for CORE-5422.
I was a bit wrong - DPM_fetch should not change rpb_prior
2017-01-06 16:27:32 +02:00
hvlad
0eb85afa8e Fixed bug CORE-5422 : Decompression overran buffer after rollback 2017-01-06 11:59:42 +02:00
firebirds
320681bc56 increment build number 2017-01-06 00:02:31 +00:00
Dmitry Yemanov
3ca0d677c8 Bugfix CORE-5414: Error restoring on FB 3.0 from FB 2.5: bugcheck 221 (cannot remap) 2017-01-05 21:31:35 +03:00
firebirds
1fbe5be37e increment build number 2017-01-05 00:02:35 +00:00
Dmitry Yemanov
abc072ad4e Bugfix CORE-5435: Badly selective index could be used for extra filtering even if selective index is used for sorting 2017-01-04 22:32:48 +03:00
Dmitry Yemanov
5dca3df3d9 Fixed CORE-5421: Performance degradation in FB 3.0.2 compared to FB 2.5.7. 2017-01-04 19:48:20 +03:00
firebirds
81da9d8df1 increment build number 2016-12-31 00:02:36 +00:00
hvlad
f8d39e0bf9 Improvement CORE-4563 : Add support for Windows 8/2012 fast/low-latency "TCP Loopback Fast Path" functionality 2016-12-30 02:19:22 +02:00
hvlad
80096303bc Merge branch 'B3_0_Release' of https://github.com/FirebirdSQL/firebird into B3_0_Release 2016-12-30 02:11:52 +02:00
hvlad
52d9a05a0f Backport from master:
Optimized hash function for lock manager and hash join
Notes:
- lock print extension is not backported
- Alex, please review linux build. I did not include changes in builds/posix/make.rules here as i'm not sure it is required
2016-12-30 02:11:24 +02:00
firebirds
89af0cd248 increment build number 2016-12-30 00:02:33 +00:00
hvlad
8ca97fb718 Backport from master:
Remove not necessary sync points - dbb_threads_sync and dbb_lck_sync
2016-12-30 01:50:49 +02:00
firebirds
1232b23824 increment build number 2016-12-29 00:02:32 +00:00
c0f352409a Backported fix for CORE-5425: Server hangs under load test 2016-12-28 11:20:53 +03:00
firebirds
34e91702d3 increment build number 2016-12-28 00:02:31 +00:00
firebirds
fab2cdae75 increment build number 2016-12-26 00:02:35 +00:00
0ca6c0dc2f Backported fix for CORE-5428: Rare segfault when preparing request working with a table with triggers 2016-12-25 18:08:30 +03:00
1d27cdbabd Warning 2016-12-25 17:27:13 +03:00
firebirds
39af593a74 increment build number 2016-12-12 00:02:32 +00:00
hvlad
51cb2c91b2 Fixed bug CORE-5417 : Engine could hang up if auto-sweep is starting while database is shutting down 2016-12-11 22:26:34 +02:00
firebirds
e2234cedc2 increment build number 2016-12-06 00:02:31 +00:00
Dmitry Yemanov
49d7996e02 Attempt to fix CORE-5392: BUCHECK 179(decompression overran buffer) or unexpected lock conflict may happen during record version backout. 2016-12-05 14:48:41 +03:00
firebirds
89c4acb3ce increment build number 2016-12-02 00:02:32 +00:00
Adriano dos Santos Fernandes
48d43a88fe Fixed CORE-5410 - Dependencies are not stored when using some type of contructions in subroutines. 2016-12-01 12:55:01 -02:00
firebirds
8b3c6b40f7 increment build number 2016-11-25 00:02:24 +00:00
Dmitry Yemanov
24e7e1b6ee Second attempt, this time MSVC10 complains 2016-11-24 11:41:16 +03:00
Dmitry Yemanov
acf9fbee1b Avoid warnings in pre-c++11 compiler modes (gcc) 2016-11-24 11:02:55 +03:00
firebirds
a2d0fae543 increment build number 2016-11-23 00:02:31 +00:00
hvlad
d5d9e74df9 Merge branch 'dp_numbers_cache' into B3_0_Release 2016-11-22 12:45:17 +02:00
firebirds
eb6f808ce9 increment build number 2016-11-22 00:02:35 +00:00
firebirds
35fc60dcc3 increment build number 2016-11-18 00:02:34 +00:00
hvlad
be8a09d510 Fixed bug CORE-5350 : Assert in CachedMasterInterface::set 2016-11-17 13:12:40 +02:00
hvlad
0e0d70998e Clear dp numbers cache before re-use RelationPages in next GTT instance 2016-11-16 13:33:41 +02:00
hvlad
ca3c9b7893 Use relation pool for data page phys numbers map.
It makes impossible to use batch allocation of RelationPages instances for GTT's but it is not important until metadata cache is not shared.
2016-11-10 16:29:31 +02:00
Dmitry Yemanov
c14bb65ce0 Revert back old change that's not actual anymore but causing undesired side-effects in CS under concurrent load. 2016-11-10 12:58:18 +03:00
firebirds
6a32ca767e increment build number 2016-11-09 00:02:30 +00:00
Dmitry Yemanov
b4448a931f Bugfix CORE-5382: Incorrect processing (truncation) of SQL statement with length 10MB+1. 2016-11-08 13:24:28 +03:00
hvlad
1ca870b88c Respect large scans in new code path 2016-11-08 12:17:14 +02:00
Dmitry Yemanov
0e77b3e9dd Attempt to fix CORE-5393: Bad optimization of some operations with views containing subqueries. 2016-11-08 10:59:36 +03:00
firebirds
bd045430c6 increment build number 2016-11-05 00:02:30 +00:00
firebirds
ca94d51737 increment build number 2016-11-04 00:02:29 +00:00
Adriano dos Santos Fernandes
d1fe9675c0 Fixed CORE-5390 - ISQL crashes corrupting memory when statement length is greater than 10 MB. 2016-11-03 13:36:00 -02:00
firebirds
e5b7190e22 increment build number 2016-10-29 00:02:27 +00:00
Adriano dos Santos Fernandes
ea4e605130 Fixed CORE-5383 - Dependencies in package not recognised. 2016-10-28 15:19:17 -02:00
Popa Marius Adrian
fbbb31e8f6 create android x86/arm64/x86_64 scripts and ports (#59)
* add android.arm64 cross file

* add android arm64 makefile

* Deprecated in android-2x

* Add Android x86_64 cross and makefile

* Add Android x86 32bit makefile and cross
2016-10-28 14:38:43 +03:00
firebirds
64714f510c increment build number 2016-10-28 00:02:26 +00:00
8f0a70d1fb Backported fix for CORE-5384: Plugin manager fails to provide appropriate config information when name of configuration file is set in plugins.conf 2016-10-27 18:02:43 +03:00
firebirds
ad5f5ba2f4 increment build number 2016-10-26 00:02:31 +00:00
Dmitry Yemanov
5f6f5a3c0f Bugfix CORE-5381: Regression: could not execute query (select from view
with nested view).
2016-10-25 17:16:17 +03:00
firebirds
5f4f15360d increment build number 2016-10-25 00:02:29 +00:00
hvlad
2825af99a5 Fixed bug CORE-5257 : Enable nested keys in plugin configuration
Alex, please review
2016-10-24 23:19:00 +03:00
hvlad
8d5b1ff46e Introduced small per-relation cache of physical numbers of data pages.
It allows to reduce number of pointer page fetches and improves performance.
2016-10-24 01:09:08 +03:00
firebirds
c2812e739c increment build number 2016-10-20 00:02:29 +00:00
Adriano dos Santos Fernandes
21978036d5 Fixed CORE-1894 - Circular dependencies between computed fields crashs the engine. 2016-10-19 13:26:04 -02:00
firebirds
0aa921866a increment build number 2016-10-18 00:02:29 +00:00
f80121892b Fixed CORE-5379: Regression service API for isc_spb_sts_table 2016-10-17 19:19:39 +03:00
Adriano dos Santos Fernandes
13fd2f78b8 Fixed CORE-5314 - UDFs declared with large varchars take excessive time to execute. 2016-10-17 13:06:44 -02:00
firebirds
60c2339da2 increment build number 2016-10-15 00:02:33 +00:00
aafemt
926e226f92 Boolean datatype in gpre C++ module 2016-10-14 19:15:18 +03:00
John Paul Adrian Glaubitz
bd35281a05 Add platform support for Linux/m68k for the 3.0 branch (#52)
* Add generic platform support for Linux/m68k

* Include sem_t when determining values for FB_ALIGNMENT and FB_DOUBLE_ALIGN

On m68k, 'long long' is 16-bit aligned while 'sem_t' is 32-bit aligned
and we must therefore include 'sem_t' when determining the values for
FB_ALIGNMENT and FB_DOUBLE_ALIGN. Otherwise, the futex system call
will fail on these systems.

* Make sure that the version scripts include _IO_stdin_used on Linux

The GNU C library supports two ABIs for libio, one is the pre-2.1
ABI and the other is the current one. In order to determine which
ABI is to be used, the C library checks whether the _IO_stdin_used
symbol is exported by the executable. In case the symbol is present,
the new ABI is assumed, if the symbol is missing, the old ABI is
assumed. Thus, if an application is linked against a modern version
of glibc, it must export the _IO_stdin_used symbol as otherwise the
executable can crash or provoke other unexpected behavior on some
architectures like PowerPC or MIPS because the C library is using
the old ABI in this case.
2016-10-14 13:12:21 +03:00
firebirds
ff939ee04f increment build number 2016-10-13 00:02:32 +00:00
d3dd8f7c92 Backported fix for CORE-5359: MessageMetadata's getScale returns int and MetadataBuilder's setScale want unsigned 2016-10-12 17:48:01 +03:00
0971eebb8f Backported implementation of CORE-5374: Make database name available to crypt plugin 2016-10-12 15:24:03 +03:00
firebirds
27ff10f31d increment build number 2016-10-12 00:02:27 +00:00
Dmitry Yemanov
daf89f0892 Bump the version number 2016-10-11 08:49:10 +03:00
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