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

51899 Commits

Author SHA1 Message Date
Vlad Khorsun
fb83321da3 Fixed bug #8151 : Deadlock happens when run 'List Trace Sessions' service and there are many active trace sessions 2024-06-05 21:42:38 +03:00
Vlad Khorsun
07d09c3252 Fixed bug #8150 : Process could attach to the deleted instance of shared memory
Patch and additional comments by @AlexPeshkoff
2024-06-05 21:34:29 +03:00
Vlad Khorsun
0220cd109c Fixed bug #8149 : The hung or crash could happen when connection fires TRACE_EVENT_DETACH event and new trace session created concurrently 2024-06-05 21:31:35 +03:00
GitHub Action
25f3ebcd10 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-03 20:14:28 +00:00
TreeHunter
174038cbf5
Refactoring of CAST FORMAT (#7881) (#8134)
* Refactoring of CAST FORMAT

Move CAST FORMAT logic to separate file.
Separation of logic into parsing stage and execution stage.
Add more FORMAT validation based on SQL standard.

* Add more unit tests for incorrect FORMAT

* Remove incorrect const specifier

* Fixes after review

Minor code changes.
Move public CVT_FORMAT functions  to CvtFormat.h.
Add new error message if same is used pattern twice in string to datetime conversion.

* Fix indents in comments

* Add new files to windows build

* Remove constexpr specifier from functions that is not real constexpr

Because std::isdigit and std::isalpha are not constexpr.

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2024-06-03 10:43:06 -03:00
GitHub Action
f2d12e403b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-30 20:15:28 +00:00
AlexPeshkoff
ab2c956464 Restored correct permissions 2024-05-30 10:59:38 +03:00
GitHub Action
8e46fd3b9a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-28 20:14:20 +00:00
Dmitry Yemanov
95442bdfff Attempt to avoid hash joining for possible cardinality under-estimations 2024-05-28 12:47:39 +03:00
Dmitry Yemanov
40d0b4150c Fixed #8136: Server crashes with IN (dbkey1, dbkey2, ...) condition 2024-05-28 09:03:39 +03:00
Dmitry Yemanov
a2ed8a7059 Misc 2024-05-28 09:03:39 +03:00
GitHub Action
067039db6b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-27 20:13:32 +00:00
Vlad Khorsun
8956bfb9d2 Correction for #8069.
Note, sequence numbers could be out of physical order of records.
2024-05-27 14:06:40 +03:00
GitHub Action
ecc49e053f increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-24 20:14:20 +00:00
Vlad Khorsun
67a5ca846f
Merge pull request #8129 from FirebirdSQL/work/gh-8120
Simplest fix for bug #8120 : Cast dies with numeric value is out of range error (5.0.1 snapshot)
2024-05-24 16:23:40 +03:00
Vlad Khorsun
44a69d866e Simplest fix for bug #8120 : Cast dies with numeric value is out of range error (5.0.1 snapshot) 2024-05-24 15:27:41 +03:00
Dmitry Starodubov
aa372c92ac
Fixed possible buffer overflow on system privileges lookup during user mapping (#8126) 2024-05-24 14:21:20 +03:00
GitHub Action
9cb1165b8b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-23 20:14:40 +00:00
Alexander Peshkov
7a4bbedf31
Fix for #8077: Error "Too many recursion levels" does not stop execuition of code that uses ON DISCONNECT trigger (PR#8119)
Co-authored-by: Vlad Khorsun <hvlad@users.sourceforge.net>
2024-05-23 12:54:00 +03:00
GitHub Action
995dd02b3a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-21 20:14:50 +00:00
Adriano dos Santos Fernandes
f94343e00e Fix #8123 - Procedure manipulation can lead to wrong dependencies removal. 2024-05-20 22:09:42 -03:00
GitHub Action
bf6c467fdf increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-18 20:14:00 +00:00
GitHub Action
eab064ad72 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-17 20:14:29 +00:00
GitHub Action
8dd6ee2f88 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-16 20:13:32 +00:00
c952682135
Fix debug build failure with assertion in CRT (#8121) 2024-05-16 19:28:09 +03:00
GitHub Action
d3adce137d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-15 20:15:18 +00:00
Dmitry Kovalenko
02ef0c8d43
Fix for issue #8108 [frontported from FB4] (#8118)
Server will use "stable" implementation of UCNV_FROM_U_CALLBACK_STOP function to provide one behaviour for built-in charset and ICU-charset when source unicode-string contains "ignorable" symbols.

It will always produces translation error.

This patch restores a behaviour of FB2.1-FB3 for "ignorable" symbols.

---
ATTENTION: These changes were not tested in a master tree (only in FB4).
2024-05-15 07:52:22 -03:00
Vlad Khorsun
ce2687bb36 Fixed bug #8110 : Firebird 5 crash On Android API level 34 2024-05-15 10:43:10 +03:00
Adriano dos Santos Fernandes
639d1fab9a Fix #8112 - Error isc_read_only_trans (335544361) should report SQLSTATE 25006. 2024-05-14 21:46:58 -03:00
GitHub Action
2e3e0a298b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-14 20:15:31 +00:00
Vlad Khorsun
dd2d281dc7
Merge pull request #8102 from aafemt/issue8101
Fix for #8101 : Firebird crashes if a plugin factory returns nullptr and no error in status
2024-05-14 20:19:02 +03:00
Vlad Khorsun
35a4493449 This should fix bug #8114 : Segfault in connections pool during server shutdown
All checks were successful
continuous-integration/drone Build is passing
2024-05-14 11:41:54 +03:00
GitHub Action
e1ec4f1b6c increment build number
Some checks failed
continuous-integration/drone/push Build is failing
2024-05-08 20:13:31 +00:00
Vlad Khorsun
55aa06ac27 Merge pull request #8106 from FirebirdSQL/work/gh-8105
Fix for #8105:  Master database could miss replication segments on Windows Classic Server
2024-05-08 17:16:15 +03:00
GitHub Action
9d7de0b016 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2024-05-07 20:11:36 +00:00
Adriano dos Santos Fernandes
17b007d14f Fix #8100 - The isc_array_lookup_bounds function returns invalid values for low and high array bounds.
All checks were successful
continuous-integration/drone Build is passing
2024-05-07 08:39:10 -03:00
GitHub Action
154a09a81c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2024-05-06 20:13:21 +00:00
Vlad Khorsun
ffd3ec003c Improvement #8104 : Inefficient evaluation of expressions like rdb$db_key <= ? after mass delete 2024-05-06 15:20:38 +03:00
cf1cddc613 Fix for #8101 2024-05-05 17:29:09 +02:00
GitHub Action
b49d832c67 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-02 20:14:11 +00:00
Vlad Khorsun
70c6d2b00f Make bcb_flags atomic to avoid rare but still possible race condition 2024-05-02 17:05:27 +03:00
Dmitry Yemanov
96dbef9cb3 This should fix #8086: IN predicate with string-type elements is evaluated wrongly against a numeric field 2024-05-02 14:35:25 +03:00
GitHub Action
e62473a83e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-29 20:13:41 +00:00
Vlad Khorsun
ba19922112
Merge pull request #8098 from FirebirdSQL/work/gh-8010
Implement #8010 : Remove gfix -cache option
2024-04-29 16:38:27 +03:00
Vlad Khorsun
85168ea75e Removed usage of deprecated items. 2024-04-29 15:23:21 +03:00
GitHub Action
0bcba47fe3 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-28 20:13:20 +00:00
Vlad Khorsun
c9babd4703 Implement #8010 : Remove gfix -cache option 2024-04-28 14:07:44 +03:00
Vlad Khorsun
00f294fcf1 Implement #8066 : Make protocol schemes case-insensitive. 2024-04-28 13:54:27 +03:00
Vlad Khorsun
e96fc77d50 Fixed bug #8094 : Creation Index Error when restore with parallels workers 2024-04-28 13:04:42 +03:00
GitHub Action
7d2ac8f49d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-24 20:13:53 +00:00
AlexPeshkoff
a8a8779f41 Preliminary fix for #8077. Unfortunately if one turns on connections pool this fix does not help. 2024-04-24 19:33:43 +03:00
GitHub Action
85d98dc886 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-23 20:13:18 +00:00
GitHub Action
485d0a6ad8 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-22 20:13:54 +00:00
GitHub Action
eeed98ac04 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-19 20:12:53 +00:00
Vlad Khorsun
047b059ccc Fixed bug #8089 : AV when attaching database while low of free memory 2024-04-19 22:28:22 +03:00
AlexPeshkoff
66f457e69a Fixed memory statistics in debug build 2024-04-19 20:25:04 +03:00
GitHub Action
f5930a5bca increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-18 20:13:48 +00:00
Vlad Khorsun
6ccfd2469c Addition for bug #8084 : Partial index uniqueness violation.
Note, IndexCondition instances was moved into own scope to avoid "Attempt to evaluate index condition recursively" error.
2024-04-18 18:18:10 +03:00
GitHub Action
84ac9342be increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-17 20:14:00 +00:00
Vlad Khorsun
1d96c10fe9 Fixed bug #8087 : AV when preparing a query with IN list that contains both literals and sub-query 2024-04-17 22:36:09 +03:00
Vlad Khorsun
3726cf1867 Fixed bug #8084 : Partial index uniqueness violation 2024-04-17 22:35:31 +03:00
Vlad Khorsun
cc6fe45010 Fixed bug #8085 : Memory leak when executing a lot of different queries and StatementTimeout > 0 2024-04-17 15:25:55 +03:00
GitHub Action
eba22046f4 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-16 20:13:17 +00:00
Vlad Khorsun
d369e2ec26
Merge pull request #8080 from FirebirdSQL/work/gh-8079
Fix for bug #8079 : Engine could crash when executing some trigger(s) while another attachment modifies them
2024-04-16 11:41:48 +03:00
Vlad Khorsun
4cc3ebe37d Fixe bug #8083 : AV when writting into internal trace log 2024-04-16 11:40:51 +03:00
Adriano dos Santos Fernandes
003b2e0a77 Postfix for #8062 - CREATE IF NOT EXISTS.
Thanks to Pavel Zotov.
2024-04-15 23:20:30 -03:00
GitHub Action
4e80dde604 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-15 20:12:56 +00:00
Dmitry Yemanov
d96d26d0a1 Fixed FW=ON for the newly created database 2024-04-15 16:24:02 +03:00
GitHub Action
525c243390 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-14 23:14:48 +00:00
Adriano dos Santos Fernandes
b6eab891d5
Feature #8062 - CREATE IF NOT EXISTS. (#8072) 2024-04-14 16:32:51 -03:00
GitHub Action
aaf5fafac6 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-12 20:13:11 +00:00
Adriano dos Santos Fernandes
ff9f094895 Fix #8078 - SIMILAR TO with constant pattern using ‘|’, ‘*’, ‘?’ or ‘{0,N}’ doesn't work as expected. 2024-04-11 21:09:10 -03:00
Vlad Khorsun
a580a308c6 Fixed bug #8079 : Engine could crash when executing some trigger(s) while another attachment modifies them 2024-04-11 14:22:47 +03:00
Vlad Khorsun
0a2fb31dae Added assert to show bug #8079 2024-04-11 14:21:40 +03:00
GitHub Action
3496c5d2c7 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-04 20:13:17 +00:00
Dmitry Yemanov
a6bf34109f
Add missing synchronization to cached vectors of known pages (#8069)
* Add missing synchronization to cached vectors of known pages. Thanks to Vlad Khorsun.

* Fixed typo
2024-04-04 17:53:56 +03:00
Adriano dos Santos Fernandes
e93f6ae3f2 Make fix for #8056 not break RDB$BLOB_UTIL with segmented blobs. 2024-04-03 17:59:34 -03:00
GitHub Action
7828f48cd4 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-03 20:14:41 +00:00
Dmitry Yemanov
fa97938fbd Postfix for #7976: False validation error for short unpacked records (this time about short unpacked fragments) 2024-04-03 13:27:38 +03:00
Vlad Khorsun
6eedd0ae1b Fixed bug #7942 : Error: database file appears corrupted after restore from backup (FB5, RC2)
Don't use common SortOwner for sorts with different dbb's.
After #7671 it could contain cached sort buffers from different pools (dbb_permanent) and then release it to the wrong dbb_sort_buffers making possible usage of deallocated memory later.
2024-04-03 10:38:54 +03:00
GitHub Action
6556254e01 increment build number
Some checks failed
continuous-integration/drone/push Build is failing
2024-04-02 20:12:46 +00:00
Adriano dos Santos Fernandes
bd7c6363ea Remove unused test file. 2024-04-02 14:28:53 -03:00
Artyom Abakumov
1b44bcd2ce
PR #8059 postfix: Store temp test file in temp directory (#8065)
Co-authored-by: Artyom Abakumov <artyom.abakumov@red-soft.ru>
2024-04-02 13:20:55 -03:00
Adriano dos Santos Fernandes
73551f357e Fix #8063 - (var)char variables/parameters assignments fail in Stored Procedures with subroutines. 2024-04-02 11:09:54 -03:00
GitHub Action
8a4f6915bc increment build number
Some checks failed
continuous-integration/drone/push Build is failing
2024-04-01 20:13:53 +00:00
Artyom Abakumov
2d8c006140
Implementation of move semantics for Firebird::string (#8059) 2024-04-01 16:39:45 +03:00
Adriano dos Santos Fernandes
f1c4e00cc4
Postfix for #7989 - Improve performance of external (UDR) functions (#8046)
* Postfix for #7989 - Improve performance of external (UDR) functions.

* Extract common functions.

* Fix profiler request time for external functions.

* Change cancellation detection for external functions.

* Move new private code to anonymous namesapce and rename functions.
2024-03-31 21:59:23 -03:00
GitHub Action
ecb3954186 increment build number
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-31 20:13:20 +00:00
Dmitry Yemanov
5b21261b1c A better selectivity estimation for compound index matches in the case of missing statistics 2024-03-31 12:47:50 +03:00
Dmitry Yemanov
b0af516439 This should fix #8058: DDL-Changes in replication does not set the correct grantor 2024-03-31 12:47:50 +03:00
GitHub Action
69d0a38aea increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-25 20:13:49 +00:00
MrTeeett
56e8c6224c
Add multi-character TRIM function (#8015)
* Add multi-character TRIM function

* Follow Adriano's suggestion

Co-authored-by: Adriano dos Santos Fernandes <529415+asfernandes@users.noreply.github.com>

---------

Co-authored-by: Dmitry Yemanov <dyemanov@users.noreply.github.com>
Co-authored-by: Adriano dos Santos Fernandes <529415+asfernandes@users.noreply.github.com>
2024-03-25 19:46:05 +03:00
Dmitry Starodubov
1844491fd9
Fixed #8048: Crash with SIGBUS when there is no free space on the partition with memory-mapped files (#8051)
* Fixed #8048: Crash with SIGBUS when there is no free space on the partition with memory-mapped files

* Postfix for #8048: If "fallocate" is not supported by the filesystem or kernel write zeroes instead of an error
2024-03-25 17:20:46 +03:00
GitHub Action
b1ba8594ee increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-22 20:12:47 +00:00
Vlad Khorsun
ef66a9b4d8
Merge pull request #8057 from FirebirdSQL/work/auto-update-empty-stats
Let optimizer automatically update empty index statistics for relatively small system tables
2024-03-22 10:46:16 +02:00
GitHub Action
bf5ab97a91 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-21 20:13:40 +00:00
Vlad Khorsun
1d9f93aedc Make sure relPages->rel_data_pages gets actual value before using 2024-03-21 18:59:30 +02:00
Vlad Khorsun
4469b6da6d Follow @dyemanov suggestion 2024-03-21 15:07:05 +02:00
Vlad Khorsun
c353de4e0d Fixed bug #8056 : "Too many temporary blobs" with blob_append when select a stored procedue using rows-clause 2024-03-21 12:38:05 +02:00
Vlad Khorsun
f2b281d05b Let optimizer automatically update empty index statistics for relatively small system tables. 2024-03-21 12:16:37 +02:00
GitHub Action
bd00da8262 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-20 20:13:44 +00:00
Dmitry Yemanov
fb994b559c Avoid reading/hashing the inner stream(s) if the leader stream is empty 2024-03-20 12:30:03 +03:00
GitHub Action
24431065b1 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-16 20:12:24 +00:00
Vlad Khorsun
62f4c5a786 Improvement #8042 : Improve conflict resolution on replica when table have both Primary and Unique keys 2024-03-16 13:45:59 +02:00
GitHub Action
eb3a0d3609 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-15 20:15:14 +00:00
Dmitry Yemanov
04b6509cd1 Correction for my latest optimizer bugfix 2024-03-15 16:51:44 +03:00
GitHub Action
bc4842d42e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-14 20:13:44 +00:00
Vlad Khorsun
5d7e79686a Let Applier to shutdown correctly on bug-checked database 2024-03-14 10:28:00 +02:00
Vlad Khorsun
0d35f3c9aa Fixed bug #8040 : Bugcheck 183 (wrong record length) could happen on replica database after UK violation on insert 2024-03-14 10:27:13 +02:00
GitHub Action
16510bb18f increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-13 20:12:39 +00:00
GitHub Action
281e253114 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-12 20:13:17 +00:00
Vlad Khorsun
3931b87474 GlobalRWLock state should remain consistent in the case when fetch() returns false or throws. 2024-03-12 12:57:20 +02:00
GitHub Action
9c9accde69 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-11 20:14:24 +00:00
Dmitry Yemanov
7b23935e49 Better (methinks) inversion choice when the OR condition includes a node which is also matched directly 2024-03-11 10:19:56 +03:00
Dmitry Yemanov
c1fd30a344 Fixed the bug I introduced during optimizer refactoring, thanks to Andrey Kravchenko 2024-03-11 10:19:56 +03:00
Dmitry Yemanov
c5af128afb Attempt to fix #7937: Inner join raises error 'no current record for fetch operation' if a stored procedure depends on some table via input parameter and also has an indexed relationship with another table 2024-03-11 10:19:56 +03:00
Dmitry Yemanov
919f58f5fb Fixed assertion during optimization of mixed list/equality comparisons 2024-03-11 10:19:56 +03:00
Dmitry Yemanov
fda1db72d3 Simplest fix for assertion during attach to a locked database with a missing delta file. 2024-03-11 10:19:56 +03:00
GitHub Action
071d7b9df6 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-10 20:13:19 +00:00
GitHub Action
7c9cab9a01 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-08 20:12:04 +00:00
Vlad Khorsun
90c2421974 Improvement #8030 : wrong cardinality estimation because of empty data pages 2024-03-08 14:38:56 +02:00
GitHub Action
02ccc6e04a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-06 20:12:57 +00:00
AlexPeshkoff
f2c5bb6811 Fixed #8033: Invalid result when string compared with indexed numeric(x,y) field where x > 18 and y != 0 2024-03-06 14:15:36 +03:00
AlexPeshkoff
96ef319bc9 Removed wrong assertion 2024-03-06 14:14:42 +03:00
GitHub Action
b68698e023 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-05 20:12:58 +00:00
AlexPeshkoff
337ca497a0 Postfix for #7997: Unexpected results when comparing integer with string containing value out of range of that integer datatype; fixed overflows that happen when index key is composed 2024-03-05 19:55:22 +03:00
AlexPeshkoff
60fd8db300 Avoid inserting additional cast node in index key calculation tree 2024-03-05 19:55:22 +03:00
GitHub Action
640700f5c5 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-04 20:13:24 +00:00
TreeHunter
a429459b76
Change some aspects of the string-to-date conversion with format to make it more similar to the SQL standard #2388 (#7881)
* Use current TimeStamp for data in stringToDate conversion if it's not specify

Also fix RM pattern and change (A/P)M to (A/P).M.

* Add more tests

* Add TimeStamp validation

Also move duplicated code to functions.

* Add more unit tests for "YY" and "YYY" patterns

* Use Callback for getting current date

It's better because we can mock Callback for unit tests.

* Fix exception and README description

* Add ability to print blr_cast_format

* Put a comment about new BLR in the right place

* Add information about behavior of string to datetime conversion

* Rework old patterns and add new ones

Add A.M, P.M., RR and RRRR patterns.
Rework YY, YYY, HH and HH12 patterns due to new patterns.
Add restriction from SQL standard to format.
Fix incorrect error message for mismatched pattern.
Fix bug with 0 hours in HH12.

* Add more unit tests

* Update doc for cast format

* Allow specification of log_level for BOOST_TESTS in make

* Change enum class to enum in namespace

* Switch from plain enum to constexpr values

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2024-03-04 14:43:14 +03:00
GitHub Action
b40c1e0349 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-29 20:14:31 +00:00
AlexPeshkoff
134af2b82f Fixed #8027: Broken gbak statistics; also small cleanup in svcstart(). 2024-02-29 18:19:47 +03:00
AlexPeshkoff
bff8d2b02d Fixed #8026: Crash LI-V5.0.0.1306 in libEngine13.so 2024-02-29 12:45:28 +03:00
Adriano dos Santos Fernandes
547cb8388b
Improve performance of external (UDR) functions (#7989) 2024-02-28 18:43:16 -03:00
GitHub Action
a50d8ac4c4 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-28 20:13:24 +00:00
Adriano dos Santos Fernandes
5dcc2e1627 Correction. Thanks to Vlad. 2024-02-27 20:40:04 -03:00
GitHub Action
b7d056d0c7 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-27 20:12:54 +00:00
Vlad Khorsun
83e3a06645 Fixed bug #8020 : AV when both function and dependent table are dropped in the same transaction 2024-02-27 20:57:12 +02:00
GitHub Action
de4c4d075d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-18 20:12:55 +00:00
AlexPeshkoff
b826535e86 Fixed #8011: Decfloat error working with int128 in UDR 2024-02-18 14:56:25 +03:00
GitHub Action
7063a7bbff increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-16 20:12:30 +00:00
AlexPeshkoff
69d52d3246 Postfix for #7997: Unexpected results when comparing integer with string containing value out of range of that integer datatype; fixed regression in test core_1274 2024-02-16 12:07:44 +03:00
GitHub Action
7029df2f99 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-14 20:13:10 +00:00
AlexPeshkoff
ac43c84eeb Comment 2024-02-14 18:28:51 +03:00
AlexPeshkoff
0475c32072 Fixed #8006: Int128 datatype not supported in UDR 2024-02-14 17:25:26 +03:00
AlexPeshkoff
11920822e0 Reworked fix for #7997: Unexpected results when comparing integer with string containing value out of range of that integer datatype 2024-02-14 14:10:48 +03:00
GitHub Action
35ecc50863 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-12 20:13:08 +00:00
Vlad Khorsun
af0dd80e2e Fixed bug #8003 : gbak v4 can't backup database in ODS <13 2024-02-12 16:24:49 +02:00
GitHub Action
0d8f6f295c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-11 20:12:51 +00:00
Dmitry Yemanov
0d3e1fe4d1 This should fix #7969: Characters are garbled when replicating fields with type BLOB SUB_TYPE TEXT if the character set of the connection and the field are different 2024-02-11 11:32:16 +03:00
Dmitry Yemanov
e9edafa617
Encapsulate GUID operations (#7990)
* Encaspulate GUID operationse

* Separate core and optional usage of the Guid class, as suggested by Adriano

* Wrap dbb_guid with std::optional, make Guid::fromString() static

* Disallow construction of invalid (uninitialized) guids
2024-02-11 10:24:23 +03:00
GitHub Action
db0997d83f increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-10 20:11:58 +00:00
github-actions[bot]
5e5587028c
Update tzdata to version 2024a. (#7999)
Co-authored-by: asfernandes <asfernandes@users.noreply.github.com>
2024-02-10 13:06:24 -03:00
GitHub Action
862a805f94 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-09 20:12:32 +00:00
AlexPeshkoff
7531251a05 Fixed #7997: Unexpected results when comparing integer with string containing integer value out of bigint range 2024-02-09 20:08:49 +03:00
Dmitry Yemanov
a7323499d1 Better optimization of multi-stream outer joins. This should also fix #7916: Query issue conversion error from string 2024-02-09 18:08:40 +03:00
Dmitry Yemanov
1b4d390b0e Refactored outer joins into a separate class 2024-02-09 18:07:30 +03:00
Dmitry Yemanov
c40fe4e181 Ensure pages are properly released after exception raised during partial index condition check, see #7998 2024-02-09 14:56:58 +03:00
GitHub Action
f4e725f3af increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-08 20:12:31 +00:00
Dmitry Yemanov
f3b17b061d This should fix #7995: Unexpected results after creating partial index 2024-02-08 18:31:10 +03:00
Vlad Khorsun
da3b556341 Addition for #7996
Fixed similar case if file write is failed during backup.
2024-02-08 14:34:28 +02:00
Vlad Khorsun
78eab2dbda This should fix bug #7996 : gbak terminates/crashes when a read error occurs during restore 2024-02-08 14:34:28 +02:00
GitHub Action
082030d7da increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-07 20:12:13 +00:00
AlexPeshkoff
8e639e7e2c Cleaned up never used isc_info_svc_auth_block, thanks to Vlad 2024-02-07 14:13:42 +03:00
GitHub Action
36e4d0d14f increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-05 20:13:34 +00:00
Dmitry Yemanov
cc426c8447 Fixed #7993: Unexpected results when using CASE WHEN with RIGHT JOIN 2024-02-05 19:41:22 +03:00
Dmitry Yemanov
3eb046e2db
Some enhancements for the file open modes (FS cache usage and forced writes) (#7991)
* Early usage of the UseFileSystemCache setting, avoid reopening the file

* Early handling of the FW mode. Avoid reopening (or fcntl-ing) the database file unless really necessary. Automatically inherit FW mode for secondary files from the main database file.

* Fixed the typo breaking the Windows build

* This should fix the MacOS build

* Fixed performance of database creation. Fixed fctnl() usage on POSIX.

* Replaced long parameter lists with a bitmask as suggested by Alex

* Misc
2024-02-05 08:06:12 +03:00
GitHub Action
da67351ad9 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-02 20:12:22 +00:00
Vlad Khorsun
1731d3079d This should fix bug #7992 : Assertion (space > 0) failure during restore 2024-02-02 17:43:01 +02:00
Dmitry Yemanov
8d601425b1
Solution for #7568: Equivalence of boolean condition in partial index (#7987)
* Solution for #7568: Equivalence of boolean condition in partial index

* Follow Adriano's correction

Co-authored-by: Adriano dos Santos Fernandes <529415+asfernandes@users.noreply.github.com>

* Exclude IS [NOT] and IS [NOT] DISTINCT FROM from the optimization

---------

Co-authored-by: Adriano dos Santos Fernandes <529415+asfernandes@users.noreply.github.com>
2024-02-02 13:07:28 +03:00
GitHub Action
6d95df59f0 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-01 20:12:36 +00:00
GitHub Action
e3518a9837 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-31 20:12:33 +00:00
Dmitry Yemanov
c950f7fb7d
Merge pull request #7975 from FirebirdSQL/cleanup-multi-page-header
Get rid of the overflow header pages
2024-01-31 09:14:33 +03:00
GitHub Action
09b624f38d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-30 20:12:20 +00:00
Vlad Khorsun
fe82a29d13
Remove FileSystemCacheSize setting (#7984) 2024-01-29 22:23:26 +02:00
Vlad Khorsun
55fd220006
Remove FileSystemCacheThreshold setting (#7983) 2024-01-29 22:15:53 +02:00
GitHub Action
6cae9e5853 increment build number 2024-01-29 20:13:15 +00:00
Dmitry Kovalenko
06aedb9efb
[GBAK] Correct handling of NULLs in RDB$RETURN_ARGUMENT and RDB$ARGUMENT_POSITION (#7875)
It is a fix for issue #7869
2024-01-29 19:00:40 +03:00
Dmitry Yemanov
4cd3b0e47a
Cleanup RelaxedAliasChecking configuration setting (#7982) 2024-01-29 18:05:05 +03:00
Dmitry Yemanov
987d6ac1e3 Make TIP cache initialization atomic. This fixes possible crash due to recursive access to the TIP cache during its initialization, when the shared memory is not yet initialized but dbb_tpc_cache is already created. 2024-01-29 18:02:36 +03:00
Vlad Khorsun
58b96e8400 Fixed typo - let correctly check value of ParallelWorkers setting against value of MaxParallelWorkers 2024-01-29 13:22:38 +02:00
Dmitry Yemanov
582263a435 Rename the unused field as suggested by Dimitry Sibiryakov 2024-01-29 11:05:16 +03:00
GitHub Action
7cda489685 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-28 20:11:55 +00:00
AlexPeshkoff
481863e632 Fixed #7979: Hang when database with disconnect trigger using MON$ tables is shutting down 2024-01-28 12:26:01 +03:00
GitHub Action
44fb32200c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-26 20:13:12 +00:00
Dmitry Yemanov
edffdf380f Remove incorrect assertion 2024-01-26 08:11:09 +03:00
Dmitry Yemanov
e9662f69d3 This should fix #7976: False validation error for short unpacked records 2024-01-26 08:10:54 +03:00
GitHub Action
99779f65e5 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-25 20:13:04 +00:00
AlexPeshkoff
8295aeb26c Postfix for #7917: Hang in a case of error when sweep thread is attaching to database; avoid segfault when sweep thread is closing on error 2024-01-25 19:35:13 +03:00
AlexPeshkoff
6d947803e2 Postfix for #7951: Make it possible to handle attach errors in key holder plugin; more error handling issues 2024-01-25 11:40:49 +03:00
GitHub Action
f91e3337b1 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-24 20:14:10 +00:00
AlexPeshkoff
1b431bc8db Postfix for #7951: Make it possible to handle attach errors in key holder plugin, fixed lost warnings 2024-01-24 13:12:34 +03:00
Dmitry Yemanov
fd135f41e8 Hopefully, this should fix the remaining issues with invariants vs views (see #7863) 2024-01-24 09:22:53 +03:00
GitHub Action
8bb32bb0d7 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-23 20:14:14 +00:00
84b17da25b
Fix for #7823 (#7936) 2024-01-23 17:29:35 +03:00
Dmitry Yemanov
f6cbb0db2f Cleanup and refactoring (clumplets related) inside pag.cpp 2024-01-23 13:12:59 +03:00
Dmitry Yemanov
817ee2664c Get rid of the overflow header pages 2024-01-23 10:40:08 +03:00
GitHub Action
2906dad653 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-22 20:13:46 +00:00
Vlad Khorsun
1dbcb94044 Fixed bug #7974 : Restore of wide table can fail with "adjusting an invalid decompression length from <N> to <M>"
Commented out wrong assert.
2024-01-22 18:38:46 +02:00
TreeHunter
bcc53d43c8
Fixed bug #7962: Remove system functions from isql SHOW FUNC output (#7972)
--------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2024-01-22 17:59:46 +03:00
11dec10f9f
Fix both parts of #7924 (#7940)
* Fix both parts of #7924

* STL-compatible empty() method used

* Get back to isEmpty()
2024-01-22 17:41:36 +03:00