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

57570 Commits

Author SHA1 Message Date
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
Adriano dos Santos Fernandes
6c275d76ca Update some usage of ubuntu-20.04 to 22.04. 2024-02-17 22:26:14 -03:00
Adriano dos Santos Fernandes
bdd4481869 Fix #8009 - Update github actions. 2024-02-17 22:25:44 -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