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

50422 Commits

Author SHA1 Message Date
firebirds
45de132742 increment build number 2022-04-05 00:07:59 +00:00
AlexPeshkoff
4153e1a13b Rolled back comment 2022-04-04 19:55:41 +03:00
AlexPeshkoff
9e413dc3e9 Fixed build after backporting fix for #7160: Missing checkout in trace manager when performing user mapping may cause server hang 2022-04-04 19:47:55 +03:00
AlexPeshkoff
8abb672753 Reworked fix for #7160: Missing checkout in trace manager when performing user mapping may cause server hang 2022-04-04 19:41:55 +03:00
AlexPeshkoff
5ffc9265c7 Attempt to fix #7160: Missing checkout in trace manager when performing user mapping may cause server hang 2022-04-04 19:41:55 +03:00
firebirds
8d2c585fb9 increment build number 2022-04-04 00:07:56 +00:00
firebirds
a47f7f4f98 increment build number 2022-03-26 00:09:21 +00:00
Vlad Khorsun
c0188012d1 Adjust debug messages to avoid false failures of some fbt tests. 2022-03-25 19:58:28 +02:00
firebirds
a416d2b3e1 increment build number 2022-03-20 00:07:07 +00:00
asfernandes
175731177f Update tzdata to version 2022a. 2022-03-19 14:34:12 -03:00
firebirds
40b7886605 increment build number 2022-03-18 00:12:32 +00:00
Adriano dos Santos Fernandes
097ad176ac Misc. 2022-03-17 15:31:16 -03:00
Adriano dos Santos Fernandes
86b53e99df Improvement #7093 and fix for #7094 and #7140.
- #7093 - Improve indexed lookup speed of strings when the last
keys characters are part of collated contractions.

- #7094 - Incorrect indexed lookup of strings when the last keys
characters are part of collated contractions and there is
multi-segment insensitive descending index.

- #7140 - Wrong select result in case of special sort character.
2022-03-17 15:31:16 -03:00
Adriano dos Santos Fernandes
48b21c5bdd Add constructor to Array. 2022-03-16 15:05:55 -03:00
firebirds
6d88ff8ae7 increment build number 2022-03-11 00:07:07 +00:00
AlexPeshkoff
196b08a677 Fixed #7141: Services manager breaks long lines into 1023 bytes portions when using isc_info_svc_line in Service::query() 2022-03-10 14:08:04 +03:00
firebirds
d177e27d55 increment build number 2022-03-09 00:08:05 +00:00
Dmitry Yemanov
4544efce1a This should fix #7150: Replication not restarting after network failure. Minor adjustments regarding replication startup errors 2022-03-08 13:33:36 +03:00
firebirds
a31c7d1b55 increment build number 2022-03-05 00:07:32 +00:00
Dmitry Yemanov
a42f7026ce Increment release number 2022-03-04 16:59:06 +03:00
firebirds
c02154bb10 increment build number 2022-03-02 00:07:41 +00:00
AlexPeshkoff
c3208c56b9 Fixed #7139: With multiple trace sessions user may receive trace events related to engine's requests
(cherry picked from commit 9814fd6145)
2022-03-01 18:27:59 +03:00
firebirds
26016b05ee increment build number 2022-03-01 00:06:12 +00:00
AlexPeshkoff
14ca8746e7 Fixed #7138: Problems accessing database, copied from another host.
(cherry picked from commit 44fc1289dd)
2022-02-28 16:43:53 +03:00
firebirds
b24375b3f1 increment build number 2022-02-24 00:06:18 +00:00
Dmitry Yemanov
77013e3fc5 This should fix #7137: Bad plan (HASH instead of JOIN) is chosen for some inner joins 2022-02-23 17:04:13 +03:00
Vlad Khorsun
dab592a853 Fixed build with MSVC 17.1
Assume _MSC_VER will be increased to be >= 2000 when\if VC CRT library get new version number in suffix.
2022-02-23 10:34:57 +02:00
firebirds
be4e2ce065 increment build number 2022-02-23 00:06:12 +00:00
AlexPeshkoff
959bc38402 Improved use of shutdown error codes a little 2022-02-22 20:22:41 +03:00
firebirds
28e32b3a58 increment build number 2022-02-21 00:05:55 +00:00
AlexPeshkoff
480f11dd45 This should fix #7135: Firebird engine randomly fails when delivering mapping clear to other processes 2022-02-20 18:58:26 +03:00
firebirds
4efc13d9a8 increment build number 2022-02-19 00:06:26 +00:00
Vlad Khorsun
f92e08adb5 Fixed bug #7128 : Incorrect error message with isc_sql_interprete() 2022-02-18 15:22:19 +02:00
firebirds
03f9599693 increment build number 2022-02-17 00:06:49 +00:00
Vlad Khorsun
8a973c8c47 This should fix bug #7134 : Firebird 4: Database page errors directly after gbak, which dissappear after some calls of gfix 2022-02-16 22:46:51 +02:00
Aleksei Mochalov
021cab2cc4 Fix #7129 alter package SQL SECURITY option reset 2022-02-16 15:10:55 +03:00
firebirds
5e7bd059a8 increment build number 2022-02-10 00:06:48 +00:00
AlexPeshkoff
816319dca2 Avoid conflicts with previous versions in shared memory, postfix for #7122: Invalid state of mapping cache after replacement of database 2022-02-09 13:52:57 +03:00
firebirds
262d65340f increment build number 2022-02-09 00:06:48 +00:00
AlexPeshkoff
f53c9c120c Postfixes for #7122: Invalid state of mapping cache after replacement of database 2022-02-08 15:44:34 +03:00
Dmitry Yemanov
6382534481 Backported #3357 (Bad execution plan if some stream depends on multiple streams via a function) and its kissing cousin #7118 (Chained JOIN USING across the same column names may be optimized badly) 2022-02-08 14:31:56 +03:00
firebirds
9a3597a040 increment build number 2022-02-04 00:06:17 +00:00
Roman Simakov
026a84f02b Add shift to DDL object type while restoring backup of prior version. In version 5 this constants are going to be refactored. 2022-02-03 15:16:51 +03:00
firebirds
ec5ebafcb4 increment build number 2022-02-02 00:06:38 +00:00
AlexPeshkoff
c7f3433837 Fixed #7122: Invalid state of mapping cache after replacement of database 2022-02-01 19:23:42 +03:00
firebirds
7e14228143 increment build number 2022-02-01 00:06:30 +00:00
AlexPeshkoff
ba78d91338 Fixed 2 assertions in DEV_BUILD reproted by Dmitry, dont affect releases 2022-01-31 16:54:07 +03:00
firebirds
fa8b2a33d4 increment build number 2022-01-30 00:06:45 +00:00
Vlad Khorsun
b793c488cb Fixed bug #7119 : Database statistics service could not find existing table(s) 2022-01-29 12:24:41 +02:00
firebirds
d63b590a2a increment build number 2022-01-29 00:07:02 +00:00
AlexPeshkoff
a01110eb0e Postfix for #7106: Wrong detection of must-be-delimited user names: avoid bugs with single-character locales 2022-01-28 17:33:48 +03:00
Dmitry Yemanov
409bd1487f Fix the remaining part of #4085: RDB information stored inconsistently after a CREATE INDEX 2022-01-28 11:53:23 +03:00
Dmitry Yemanov
5b31d847d4 Remove incorrect assertion 2022-01-28 11:53:23 +03:00
firebirds
cfaf2d3cfb increment build number 2022-01-28 00:06:58 +00:00
AlexPeshkoff
47d1e8305e Fixed #7106: Wrong detection of must-be-delimited user names 2022-01-27 14:36:40 +03:00
Jonathan Frutos
e0452e5860
Add initial MacOS ARM support (#7116)
Co-authored-by: Jonathan Frutos <>
2022-01-26 22:57:19 -03:00
firebirds
41e233cc1a increment build number 2022-01-27 00:06:40 +00:00
Vlad Khorsun
d0c51cf36e Fixed bug #7103 : FB service hangs and can not be stopped after several 'DELETE FROM MON$STATEMENTS' being issued in order to stop ES/EDS which waits record for updating. 2022-01-26 17:06:43 +02:00
Roman Simakov
e39487175b
Fix #7087: Database downgrade via gbak may be broken (#7097)
* Fix #7087: Database downgrade via gbak may be broken

Depricate existing boolean attributes.
Add length in {put/get}_boolean functions.
Add compatibility to read depricated attributes from earlier backups.

* Fix misspellings
2022-01-26 17:29:35 +03:00
firebirds
91f2f23b1b increment build number 2022-01-26 00:06:41 +00:00
AlexPeshkoff
1de83653f0 Fixed #7099: Incomplete op_batch_cs response with TAG_MULTIERROR 2022-01-25 18:22:58 +03:00
Adriano dos Santos Fernandes
aa48149788 Fix #7112 - Avoid unload of plugins in MacOS due to problematic reload of them. 2022-01-24 21:52:13 -03:00
firebirds
2a82cf7e4a increment build number 2022-01-22 00:06:26 +00:00
Adriano dos Santos Fernandes
f7e7fe107b Postfix for #7108 - Firebird does not find an record when adding a foreign key.
Adjust multi-segmented index path.
2022-01-21 07:38:37 -03:00
Adriano dos Santos Fernandes
eec74b78b6 Fix #7108 - Firebird does not find an record when adding a foreign key. 2022-01-20 22:59:53 -03:00
firebirds
48b414ac02 increment build number 2022-01-21 00:06:16 +00:00
firebirds
2acdb13ad7 increment build number 2022-01-05 00:07:15 +00:00
Adriano dos Santos Fernandes
e8121839a8 Refactor request's timestamp handling. 2022-01-03 22:46:01 -03:00
Adriano dos Santos Fernandes
f1f7880012 Improvement #7092 - Improve performance of CURRENT_TIME. 2022-01-03 22:00:55 -03:00
firebirds
a16daa9778 increment build number 2022-01-04 00:05:57 +00:00
Adriano dos Santos Fernandes
442bdd3104 Fix #7090 - Performance degradation with CURRENT_DATE, LOCALTIME and LOCALTIMESTAMP. 2022-01-03 15:35:12 -03:00
firebirds
436fc4a094 increment build number 2022-01-02 00:06:10 +00:00
Dmitry Yemanov
cc6cee0137 Avoid replicating internal DDL statements (just in case they would exist) 2022-01-01 11:49:08 +03:00
firebirds
6bb433f91b increment build number 2022-01-01 00:06:11 +00:00
firebirds
92081647a3 increment build number 2021-12-28 00:06:18 +00:00
Adriano dos Santos Fernandes
bc4107c9c2 Fix MacOS UDR and Legacy_UserManager plugins not working due to not exported entry point. (#7088)
Add FB_DLL_EXPORT to public headers.

Use default visibility also for Linux/Unix (in addition to MacOS) as
user application can also be compiled with -fvisibility=hidden.
2021-12-27 08:29:04 -03:00
firebirds
976648ad80 increment build number 2021-12-23 00:06:10 +00:00
AlexPeshkoff
7776f552c2 Fixed #7080: Executing batch crashes server 2021-12-22 19:55:24 +03:00
firebirds
a8b6e68c16 increment build number 2021-12-22 00:05:59 +00:00
firebirds
844ad1726d increment build number 2021-12-21 00:06:25 +00:00
firebirds
e77263346a increment build number 2021-12-18 00:05:59 +00:00
firebirds
f5038a84ba increment build number 2021-12-17 00:05:35 +00:00
Dmitry Yemanov
ca4b393793 This should fix #7070: Error 'BLOB is not found' while replication converts INSERT into UPDATE for a conflicting record 2021-12-16 21:23:30 +03:00
firebirds
d2837bbe85 increment build number 2021-12-16 00:05:46 +00:00
AlexPeshkoff
ecb86a2804 Fixed #7069: Errors in chacha plugin displayed incorrectly 2021-12-15 15:24:57 +03:00
firebirds
866bb351a9 increment build number 2021-12-15 00:06:10 +00:00
AlexPeshkoff
1bce029f94 Comment out debugging in order not to include conflicting header 2021-12-14 20:16:42 +03:00
AlexPeshkoff
d311ff1639 Fixed #7067: Deadlock when using not initialized security database 2021-12-14 19:52:42 +03:00
firebirds
218de65ca3 increment build number 2021-12-14 00:06:30 +00:00
AlexPeshkoff
730058c949 Postfix for #7065: Connection hangs after delivery of 256 Gb; reworked according to java requirements 2021-12-13 20:05:11 +03:00
AlexPeshkoff
749a78d675 Fixed #7066: Server may send incorrect specific data to client when establishing encrypted connection 2021-12-13 19:49:45 +03:00
firebirds
50fefb365f increment build number 2021-12-13 00:05:49 +00:00
AlexPeshkoff
09f5e7a5a9 Postfix for #7065: Connection hangs after delivery of 2**32 - 1 packets 2021-12-12 20:50:48 +03:00
AlexPeshkoff
1ed42699cc Fixed #7065: Connection hangs after delivery of 2**32 - 1 packets 2021-12-12 20:29:22 +03:00
firebirds
bf5899f74d increment build number 2021-12-11 00:06:23 +00:00
Adriano dos Santos Fernandes
b1019c84c4 Fix #7064 - Linear regression functions aren't implemented correctly. 2021-12-10 17:32:33 -03:00
Roman Simakov
53c85657a1 Add precedence relationship between a big record's head and its tail to avoid corruption in case server crashes 2021-12-10 22:12:12 +03:00
firebirds
2eea516cc4 increment build number 2021-12-10 00:06:00 +00:00
Adriano dos Santos Fernandes
a52e91bf3c Fix #7062 - Creation of expression index does not release its statement correctly. 2021-12-09 10:14:12 -03:00
firebirds
e2b44d7261 increment build number 2021-12-07 00:06:14 +00:00
Dmitry Yemanov
21968543fe Fixed #7056 (Fetching from a scrollable cursor may overwrite user-specified buffer and corrupt memory) and #7057 (Client-side positioned updates work wrongly with scrollable cursors) with a single shot 2021-12-06 08:43:00 +03:00
firebirds
03d93113d1 increment build number 2021-12-04 00:06:12 +00:00
AlexPeshkoff
ea6862e23d Postfix for #7060: Deadlock when execute test for CORE-4337
(cherry picked from commit 3b000d3553)
2021-12-03 17:48:56 +03:00
AlexPeshkoff
1fcc805f0a Fixed #7060: Deadlock when execute test for CORE-4337
(cherry picked from commit f361da98d1)
2021-12-03 16:38:43 +03:00
firebirds
dff8f05dcf increment build number 2021-12-02 00:06:24 +00:00
Dmitry Yemanov
ff048adddb Fixed #7052: Races between transactions on the primary side may cause update conflicts while applying journals to the replica 2021-12-01 12:21:48 +03:00
firebirds
88b52952b5 increment build number 2021-11-28 00:05:56 +00:00
Dmitry Yemanov
27cd9be96e This should fix #7048: Release of user savepoint releases too much 2021-11-27 10:28:26 +03:00
Dmitry Yemanov
1d1e433b58 Better boundary checks, code unification, removed end-of-stream errors when fetching past EOF / beyond BOF (as per SQL spec) 2021-11-27 10:25:30 +03:00
Dmitry Yemanov
9397ebb13d Fixed missing BOF flag, better boundary checks, code unification 2021-11-27 10:06:14 +03:00
firebirds
882b60cdb1 increment build number 2021-11-26 00:05:33 +00:00
Dmitry Yemanov
a3ac77b111 Postfix for #6995: unexpected string truncation error after restore 2021-11-25 09:18:02 +03:00
firebirds
cb07e6d73f increment build number 2021-11-19 00:06:01 +00:00
firebirds
90e70edaa7 increment build number 2021-11-18 00:06:17 +00:00
firebirds
179f365e36 increment build number 2021-11-17 11:32:09 +00:00
firebirds
6504fedb58 increment build number 2021-11-17 00:05:38 +00:00
firebirds
5351f64db3 increment build number 2021-11-16 00:05:43 +00:00
firebirds
b31e7d684b increment build number 2021-11-15 10:51:58 +00:00
Adriano dos Santos Fernandes
04c39ddc43 Adjust for VS 2022 Preview. 2021-11-14 20:56:28 -03:00
Vlad Khorsun
d8fcc75f55 This should fix bug #7044 : Error: Data page N {sequence M} marked as secondary but contains primary record versions in table T 2021-11-14 19:18:59 +02:00
firebirds
3bb80144ec increment build number 2021-11-13 00:05:49 +00:00
AlexPeshkoff
e4ae6ebe5a Fixed #6966: Status vector for ES(<EMPTY_STRING>) is unstable if another execute block with correct statement was executed before. Affects only LINUX builds in Classic mode.
(cherry picked from commit 5b7d0c7a64)
2021-11-12 19:46:57 +03:00
AlexPeshkoff
4708bbf4a7 Fixed #6963: grant references not working
(cherry picked from commit ddca654a13)
2021-11-12 19:46:57 +03:00
firebirds
562de6f7f2 increment build number 2021-11-11 00:06:24 +00:00
AlexPeshkoff
94d69fe56e Fixed #7043: Wrong message when user has no access to /tmp/firebird
(cherry picked from commit 58f76ddf67)
2021-11-10 18:40:30 +03:00
AlexPeshkoff
b5d72efdd5 Fixed my 6-years old but unnoticed bug with circular strings buffer
(cherry picked from commit 79da7e449e)
2021-11-10 18:39:37 +03:00
firebirds
f953f7ce25 increment build number 2021-11-10 00:06:04 +00:00
asfernandes
627e0df6d6 Update tzdata to version 2021a4. 2021-11-09 08:33:04 -03:00
AlexPeshkoff
a16ac21317 Cleanup: avoid deprecated entries in regular calls 2021-11-09 12:49:06 +03:00
firebirds
d8346d268c increment build number 2021-11-09 00:05:50 +00:00
AlexeyMochalov
93cac232fd
Fix #6994 - limits lockfile to 2GB for 4_0 (#7020)
* Fix: limits lockfile to 2GB for 4_0

* Remove redundant status vector copying, add parentheses to multiline IF
2021-11-08 13:47:25 +03:00
firebirds
30d8ce6023 increment build number 2021-11-05 00:05:52 +00:00
Dmitry Yemanov
ebc9508008 Fixed #7033: BlockReader misses sanity checks 2021-11-04 19:06:34 +03:00
firebirds
fc686678b2 increment build number 2021-11-04 00:06:09 +00:00
Dmitry Yemanov
06fca988ba Postfix for #7034 2021-11-03 15:23:41 +03:00
firebirds
4cd691685c increment build number 2021-11-03 00:06:06 +00:00
Dmitry Yemanov
b71711a6ae This should fix #7034: scroll cursor server crash 2021-11-02 17:54:27 +03:00
firebirds
5cdaa666f3 increment build number 2021-10-31 00:05:53 +00:00
Vlad Khorsun
3eb2eb28ed Fixed bug #7031 : gbak -b failed with "invalid transaction handle (expecting explicit transaction start)" 2021-10-30 20:57:42 +03:00
firebirds
b1d19bb07b increment build number 2021-10-30 00:06:16 +00:00
firebirds
004299d267 increment build number 2021-10-28 00:05:50 +00:00
Dmitry Yemanov
025ff02257 Remove the unneeded mutex, as instance is per-attachment 2021-10-27 18:39:11 +03:00
Dmitry Yemanov
7a59414ee4 Reworked bugfix for #6727 to resolve problems with SuperClassic. Some error handling improvements. 2021-10-27 18:39:11 +03:00
Dmitry Yemanov
b43d49dd44 Simplify the code (and remove redundancies) after #6909 2021-10-27 18:39:11 +03:00
firebirds
240f5d0a8e increment build number 2021-10-27 00:05:55 +00:00
github-actions[bot]
629021953c
Update tzdata to version 2021a3. (#7027) 2021-10-26 08:44:07 -03:00
firebirds
2fc12125cd increment build number 2021-10-24 00:05:35 +00:00
Adriano dos Santos Fernandes
2cbcbe8fa9 Fix #7018 - Problems with windows frames. 2021-10-23 11:21:35 -03:00
asfernandes
a2e96bf7eb Update tzdata to version 2021a2. 2021-10-23 10:42:18 -03:00
firebirds
4769947150 increment build number 2021-10-23 00:05:43 +00:00
Vlad Khorsun
e32c15c2fd
Merge pull request #7016 from red-soft-ru/4_0_big_records_fix
Use rhd header for the last record fragment to fix wrong determination of the header size in get_header() function
2021-10-23 00:40:56 +03:00
firebirds
1cd8db2f84 increment build number 2021-10-22 00:06:28 +00:00
Ilya Eremin
89e9b505a0 Use rhd header for the last record fragment to fix wrong determination of the header size in get_header() function 2021-10-21 16:35:44 +03:00
Dmitry Yemanov
be93e25507 Correction, thanks to Dimitry Sibiryakov 2021-10-21 15:23:11 +03:00
firebirds
7674f8937a increment build number 2021-10-21 00:05:52 +00:00
Dmitry Yemanov
dfeae70b96 Protection from attempts to remove system transaction 2021-10-20 21:19:00 +03:00
Dmitry Yemanov
db44c610a8
Merge pull request #7013 from red-soft-ru/4_0_fix_5082
Fix #5082: Exception "too few key columns found for index" raises when attempt to create table with PK and immediatelly drop this PK within the same transaction
2021-10-20 20:36:02 +03:00
Dmitry Yemanov
22684a4eec Bugfix for #7015: Applier may crash if replication block contain no savepoint operations 2021-10-20 20:19:32 +03:00
Ilya Eremin
677eabbe16 Fix #5082: Exception "too few key columns found for index" raises when attempt to create table with PK and immediatelly drop this PK within the same transaction
This commit also fixes #5173 and #3886.
The situation when the record is not found in RDB$INDICES was not handled correctly in create_index DFW.
2021-10-20 15:15:57 +03:00
firebirds
a06490b3b0 increment build number 2021-10-13 00:05:31 +00:00
Dmitry Yemanov
187514cfc2 Restore the old code to avoid returning temporary to the caller 2021-10-12 18:46:46 +03:00
Vlad Khorsun
390420d1d9
Merge pull request #6996 from red-soft-ru/4_0_trace_rotation_fix
Fixes for fbtrace log rotation
2021-10-12 11:11:07 +03:00
firebirds
328eddee62 increment build number 2021-10-12 00:05:54 +00:00
Dmitry Yemanov
763f05aacf This should fix #6995: unexpected string truncation error after restore 2021-10-11 18:31:00 +03:00
Dmitry Yemanov
74d349bfbd Improve error reporting a little 2021-10-11 10:55:50 +03:00
Dmitry Yemanov
1ab4064912 Return NULL (as documented) instead of empty string for non-replica databases 2021-10-11 10:55:50 +03:00
firebirds
6d6969b2e1 increment build number 2021-10-10 00:05:56 +00:00
Roman Simakov
87c171522b Fix #6998: RDB does not have effective user privileges. 2021-10-09 09:24:01 +03:00
Ilya Eremin
300ef0f733 Fixes for fbtrace log rotation
* Fixed accidental overwriting and loss of rotated trace logs at high load

* Fixed race condition on POSIX when 2 or more threads can rotate a trace log file simultaneously

* Simplify generating of a mapped file name in fbtrace. Use "fb_trace_log_mutex" prefix for it.

* Separate fractions from seconds by a dot in names of rotated trace logs

* Add comments on how stat() is used during trace log rotation
2021-10-08 15:37:59 +03:00
firebirds
679d4526d3 increment build number 2021-10-07 00:05:37 +00:00
Dmitry Yemanov
db70dc2c20 Postfix for #6989 (better protection from initialization errors) 2021-10-06 14:11:27 +03:00
firebirds
d934641bd7 increment build number 2021-10-06 00:05:47 +00:00
Dmitry Yemanov
36efbbe8e0 Fixed #6989: Invalid message in replication.log (and possibly crash in the case of synchronous replication) when the target DB has no its replica flag set 2021-10-05 13:20:34 +03:00
firebirds
becf89fd43 increment build number 2021-10-03 00:06:12 +00:00
Dmitry Yemanov
8cbebaea5c Fixed double release of the attachment (postfix for #6886 by Alex) 2021-10-02 20:34:09 +03:00
firebirds
d1f1a16829 increment build number 2021-10-01 00:06:26 +00:00
Adriano dos Santos Fernandes
b008664c9f Fix #6987 - DATEDIFF does not support fractional value for MILLISECOND. 2021-09-30 10:14:16 -03:00
github-actions[bot]
d6739007f7 Update tzdata. (#6988) 2021-09-30 08:49:37 -03:00
firebirds
1cb48e2b32 increment build number 2021-09-30 00:06:26 +00:00
Vlad Khorsun
2f2aace13c Fixed bug #6985: Application could hung when using new Batch API with blobs over XNET 2021-09-29 13:26:42 +03:00
Vlad Khorsun
668bc87183 New built-in function BLOB_APPEND 2021-09-26 17:33:53 +03:00
firebirds
6112786f09 increment build number 2021-09-24 00:06:20 +00:00
Dan Horák
15d910db31 fix build on big endian platforms (#6852)
* fix missing declaration of type_alignments[] for big endian platforms
* add missing definition of lwp for big endian platforms
2021-09-23 16:15:40 +03:00
AlexPeshkoff
8de2b0a107 Postfix for #6978: FB4 build fails on big endian: corrected dwords order in XDR representation of decfloat
(cherry picked from commit 4dcfd02fef)
2021-09-23 15:54:40 +03:00
AlexPeshkoff
1d8b9cbc39 Fix for #6978: FB4 build fails on big endian
(cherry picked from commit cc1950a156)
2021-09-23 15:53:30 +03:00
firebirds
97b3ba94e4 increment build number 2021-09-21 00:06:16 +00:00
Vlad Khorsun
c2b7958048 Avoid not needed dependency. 2021-09-21 02:34:24 +03:00
Vlad Khorsun
a11c7c3bd4 Fixed bug #6976 : Lack of proper clean up after failure to initialize shared memory 2021-09-21 02:32:28 +03:00
Vlad Khorsun
0af839c4e6 Remove commented out code 2021-09-21 02:28:10 +03:00
Vlad Khorsun
56e5a67b9e Fixed bug #6949 : On windows, engine may hung on initialization when another instance with different lock directory is running.
WIP
2021-09-21 02:27:40 +03:00
AlexPeshkoff
48d09ce99a Enhanced control on the size of available batch buffers when restoring database ensures never getting isc_batch_too_big error, related to #6959 2021-09-20 18:46:20 +03:00
AlexPeshkoff
a85eae43e6 Postfix for #6959 - restore failed due to zero buffer size in IBatch 2021-09-20 18:46:19 +03:00
AlexPeshkoff
37b74081b0 Implemented #6959: IBatch::getInfo() 2021-09-20 18:46:19 +03:00
firebirds
bb8608570b increment build number 2021-09-20 00:05:54 +00:00
Vlad Khorsun
54a2d5a394 Ignore ERROR_IO_PENDING in error handler. 2021-09-19 17:21:42 +03:00
firebirds
e87df0ab66 increment build number 2021-09-19 00:05:48 +00:00
Dmitry Yemanov
28677846bd Fixed #6975: Crash or hang while shutting down the replica database if segments are being applied 2021-09-18 18:34:49 +03:00
firebirds
15930309a1 increment build number 2021-09-17 00:06:27 +00:00
Vlad Khorsun
235f7aff0e Correction 2021-09-16 16:52:14 +03:00
James Clarke
da76939d04 add AF_INET_* support for FreeBSD 2021-09-16 14:15:37 +03:00
firebirds
218d4cc86b increment build number 2021-09-16 00:06:24 +00:00
Alex Peshkoff
cb2d8dfb69 Implemented #6954: fb_info_protocol_version support 2021-09-15 18:12:11 +03:00
AlexPeshkoff
735e9b2af4 Postfix for #6886: renamed functions correctly
(cherry picked from commit 8e155c2944)
2021-09-15 17:36:55 +03:00
AlexPeshkoff
80d1fc4837 Postfix for #6886, thanks to Adriano for very useful comments and suggestions
(cherry picked from commit 6a9d2aa3fa)
2021-09-15 17:36:55 +03:00
Vlad Khorsun
ef80bebc55 Follow Alex commit de15522f (Fixed #6886: Different interfaces behavior depending upon source of interface).
This should fix numerous crashes shown by fb-tests.

(cherry picked from commit e5e60d2927)
2021-09-15 17:36:55 +03:00
AlexPeshkoff
11712f8203 Fixed #6886: Differerent interfaces behaviour depending upon source of interface
(cherry picked from commit de15522f32)
2021-09-15 17:36:54 +03:00
Vlad Khorsun
61f2edffc2 Restore engine compatibility with 32-bit WinXP. 2021-09-15 10:41:01 +03:00
firebirds
7984551ed7 increment build number 2021-09-15 00:06:37 +00:00
Vlad Khorsun
1be11ef450 Fixed bug #6968 : On Windows, engine may hung when works with corrupted database and read after the end of file 2021-09-14 23:47:46 +03:00
AlexPeshkoff
6e023c68f3 Better fix for #6967: unix_error() should not throw here 2021-09-14 19:35:57 +03:00
AlexPeshkoff
5e2e20296a Fixed #6967: PIO_read / PIO_write may falsely return success in a case when block was read / written incompletely 2021-09-14 19:11:38 +03:00
firebirds
93c0659cbd increment build number 2021-09-11 00:06:08 +00:00
Vlad Khorsun
dcdf5ac962 Improvement #6957 : Add database creation time to the output of ISQL's command SHOW DATABASE 2021-09-10 12:29:46 +03:00
firebirds
fb7ab8e89c increment build number 2021-09-10 00:05:45 +00:00
Vlad Khorsun
d2169f5737 Fixed bug #6955 : fb_info_creation_timestamp_tz returning corrupted buffer. 2021-09-09 15:44:14 +03:00
firebirds
cae4fcedc3 increment build number 2021-09-09 00:05:56 +00:00
Artyom Abakumov
d15ce7f8ab Fix incorrect behavior when 2 warnings are added to status_vector 2021-09-08 19:19:42 +03:00
firebirds
4de242b397 increment build number 2021-09-08 00:05:45 +00:00
firebirds
07220f2afe increment build number 2021-09-07 00:05:42 +00:00
Dmitry Yemanov
ec2d6f13a4 Fixed permissions and ownership during DDL replication (bug #6856) 2021-09-06 17:52:00 +03:00
Dmitry Yemanov
6a7cb8164c Let the newly created objects to be owner by the effective user rather than session user. This fixes #6934. 2021-09-06 17:51:49 +03:00
Dmitry Yemanov
92a52ae4bf Code simplification (and preparation for the next commits) 2021-09-06 17:51:38 +03:00
Vlad Khorsun
a046ff73ed Fixed my old mistake. Thanks to Mike Kaganski for notifying. 2021-09-06 12:54:56 +03:00
firebirds
21e6c77643 increment build number 2021-09-03 00:06:13 +00:00
AlexPeshkoff
1761b62322 Fixed #6945: Segfault in batch interface when gbak restores DB with a lot of blobs over the wire 2021-09-02 18:05:49 +03:00
firebirds
13b27f3c32 increment build number 2021-09-02 00:06:01 +00:00
AlexPeshkoff
844cc706c1 Fixed #1210: I/O error during "open" operation for file "/tmp/firebird/fb_trace_XXXXXX" 2021-09-01 19:32:35 +03:00
firebirds
10f9186bf4 increment build number 2021-09-01 00:05:44 +00:00
Dmitry Yemanov
e1f9b52c38 This should fix #6935: SQL SECURITY DEFINER has inconsistent behaviour if the object owner is non-privileged 2021-08-31 14:52:08 +03:00
firebirds
c5c1b047f7 increment build number 2021-08-31 00:05:44 +00:00
AlexPeshkoff
6b892235ff Implemented #6929: Add support of PKCS v.1.5 padding to RSA functions, needed for backward compatibility with old systems. 2021-08-30 19:12:26 +03:00
Ilya Eremin
da7e5599d0 Release GTT's pages while dropping it
It prevents a temp file from growing in cases when several GTTs are created, filled with data, and dropped.
2021-08-30 12:32:08 +03:00
firebirds
bcc2b6a833 increment build number 2021-08-28 00:05:38 +00:00
Dmitry Yemanov
fd1fe2901b Fixed target length when dbkey is converted into a string 2021-08-27 12:29:54 +03:00
firebirds
62b438b0f5 increment build number 2021-08-26 00:05:45 +00:00
AlexPeshkoff
1789b297a1 Postfix for #6930 2021-08-25 20:37:57 +03:00
AlexPeshkoff
f1807f3fc0 Fixed #6930: Segfault when calling crypto functions 2021-08-25 18:08:35 +03:00
firebirds
cafabdacf2 increment build number 2021-08-20 00:05:41 +00:00
firebirds
3bd365fd46 increment build number 2021-08-14 00:05:49 +00:00
AlexPeshkoff
3cf018f933 Postfix for #6900: isc_batch_too_big has nothing to do with DSQL errors and SQL code -104 2021-08-13 16:24:46 +03:00
firebirds
1dabb87c30 increment build number 2021-08-13 00:06:25 +00:00
AlexPeshkoff
220a948c98 Fixed #6900: IBatch add method fails silently when a memory limit is exceeded 2021-08-12 15:30:17 +03:00
firebirds
db7eedac63 increment build number 2021-08-12 00:06:02 +00:00
Adriano dos Santos Fernandes
ccda31907d Fix problem in ARMv8 build reported by @romansimakov. 2021-08-11 14:06:31 -03:00
firebirds
f9be36cdda increment build number 2021-08-10 00:05:39 +00:00
hvlad
3dfb43794a Fixed bug #6918 : Service detach is always traced 2021-08-10 00:27:35 +03:00
hvlad
b1d1195256 Added tests for presence of dlinfo() and its options on building host.
Thanks to Alex for patch for configure.ac.
2021-08-09 15:50:46 +03:00
firebirds
9226fcdb12 increment build number 2021-08-09 00:05:22 +00:00
Adriano dos Santos Fernandes
204f02930a Correction for #6913 - thanks to Dmitry. 2021-08-08 20:57:12 -03:00
firebirds
105dba0e0a increment build number 2021-08-08 00:05:24 +00:00