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

51655 Commits

Author SHA1 Message Date
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
GitHub Action
541d4fe9da increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-20 20:12:47 +00:00
Adriano dos Santos Fernandes
8224df0278 Postfix for #7566 - Allow DEFAULT keyword in argument list.
When parameter has no default, use domain's default for TYPE OF or NULL.
2024-01-20 16:29:04 -03:00
GitHub Action
676b3be5f8 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-17 20:13:49 +00:00
Adriano dos Santos Fernandes
8399037ffd Fix constexpr in header, thanks to aafemt. 2024-01-16 23:02:15 -03:00
GitHub Action
1f63001e43 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-16 20:14:17 +00:00
Adriano dos Santos Fernandes
2eb7a19608 Fix constants. 2024-01-15 21:36:34 -03:00
GitHub Action
3a7741f3cc increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-15 20:13:27 +00:00
AlexPeshkoff
e75923b641 Cleanup: avoid repeated literal strings 2024-01-15 18:21:15 +03:00
AlexPeshkoff
837c9eef62 Fixed #7950: Unable to restore database when .fbk was created on host with other ICU 2024-01-15 18:09:13 +03:00
GitHub Action
f6e6eeef17 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-14 20:13:09 +00:00
Adriano dos Santos Fernandes
52a13993dd Fix #7958 - Unrecognized C++ exception (master only regression). 2024-01-14 16:26:49 -03:00
GitHub Action
dd0014242a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-13 20:12:52 +00:00
Adriano dos Santos Fernandes
74976b6d8f Postfix for #7586 (procedure output named arguments).
Thanks to Pavel Zotov.
2024-01-12 23:07:32 -03:00
GitHub Action
2305463691 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-12 20:13:49 +00:00
github-actions[bot]
2903368185
Update tzdata to version 2023d. (#7956)
Co-authored-by: asfernandes <asfernandes@users.noreply.github.com>
2024-01-12 08:47:27 -03:00
AlexPeshkoff
b4a956ddfe Removed debugging traps 2024-01-12 11:01:46 +03:00
GitHub Action
dfd3cb37ee increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-11 20:13:51 +00:00
AlexPeshkoff
0b43e3d5dd Restored accidentialy committed file 2024-01-11 20:11:29 +03:00
AlexPeshkoff
8aacea411b Cleanup: moved INTL objects, defined in common, from namespace Jrd to namespace Firebird 2024-01-11 20:00:14 +03:00
AlexPeshkoff
c2238907a7 Implemented #7951: Make it possible to handle attach errors in key holder plugin. 2024-01-11 13:45:04 +03:00
GitHub Action
ee2d227d8c increment build number
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-10 20:14:05 +00:00
Adriano dos Santos Fernandes
252a675c2a Postfix for #4203 - thanks to Pavel Zotov. 2024-01-09 20:05:36 -03:00
GitHub Action
597b267641 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-09 20:14:04 +00:00
Adriano dos Santos Fernandes
a04784d502 Postfix for #4203 - thanks to Pavel Zotov. 2024-01-09 08:57:42 -03:00
GitHub Action
4aa19eaee9 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-08 20:13:34 +00:00
Adriano dos Santos Fernandes
d29e9cecb8 Corrections and documentation improvements to #4203 - DROP [IF EXISTS]. 2024-01-08 08:33:39 -03:00
GitHub Action
ac5c7ae0c6 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-07 20:12:53 +00:00
Adriano dos Santos Fernandes
77ee904255
Feature #4203 - DROP [IF EXISTS] (#7946) 2024-01-07 11:30:33 -03:00
GitHub Action
2f444071a1 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-05 20:13:37 +00:00
AlexPeshkoff
1d1e3a5170 Postfix for #7917: Hang in a case of error when sweep thread is attaching to database; fixed CS case. 2024-01-05 19:37:59 +03:00
GitHub Action
e62ec5cf47 increment build number 2023-12-26 20:13:11 +00:00
Adriano dos Santos Fernandes
67cab52b9d Add move constructor as copy elision is not obrigatory in C++14. (#7854) 2023-12-26 07:12:43 -03:00
GitHub Action
fa5854bbc8 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-22 20:13:13 +00:00
Vlad Khorsun
c6b1d707a8 Correct non-Windows branch of code.
It should fix failed test functional/replication/test_invalid_msg_if_target_db_has_no_replica_flag
2023-12-22 09:32:40 +02:00
GitHub Action
778e7c122b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-21 20:13:09 +00:00
Vlad Khorsun
cc629222ad
Fixed bug #7873 : Wrong memory buffer alignment and IO buffer size when working in direct IO mode (#7890)
* Fixed bug #7873 : Wrong memory buffer alignment and IO buffer size when working in direct IO mode

* Use alignas() per Adriano suggestion

* Remove unused variable
2023-12-21 13:47:58 +02:00
Vlad Khorsun
fb93439e91
Merge pull request #7919 from FirebirdSQL/work/gh_7896
Fixed bug #7896 : replication.log remains empty (and without any error in firebird.log)
2023-12-21 13:23:50 +02:00
Vlad Khorsun
6a06fe5b7a Update COMMON_FILE_PREFIX 2023-12-21 13:16:41 +02:00
GitHub Action
f3fca285dd increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-20 20:13:37 +00:00
Vlad Khorsun
d5b682f5da Fixed bug #7927 : Some default values is set incorrectly for SC\CS architectures 2023-12-20 10:19:53 +02:00
Adriano dos Santos Fernandes
305c40a05b Fix #7931 - Incorrect variable usage using UPDATE OR INSERT. 2023-12-19 22:53:57 -03:00
GitHub Action
78ff27df5e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-19 20:12:01 +00:00
Vlad Khorsun
c1a02ae75c
Merge pull request #7920 from FirebirdSQL/work/gh_7899
FIxed bug #7899 : Inconsistent state of master-detail occurs after RE-connect + 'SET AUTODDL OFF' + 'drop <FK>' which is ROLLED BACK
2023-12-19 18:15:38 +02:00
Vlad Khorsun
2feea10463 Improvement #7928 : Make TempCacheLimit setting to be per-database, (not per-attachment) for SuperClassic. 2023-12-19 18:05:57 +02:00