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

51975 Commits

Author SHA1 Message Date
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
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
GitHub Action
65f0e8b4f1 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-18 20:13:23 +00:00
Dmitry Yemanov
d957b16294 Slightly reworked my yesterday's fix for #7921 2023-12-18 14:07:45 +03:00
GitHub Action
60663a3535 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-17 20:12:43 +00:00
Dmitry Yemanov
7888fdfdc4 Fixed #7921: FB5 uses PK for ordered plan even if less count of fields matching index exists 2023-12-17 11:14:42 +03:00
GitHub Action
81c9902a53 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-14 20:13:54 +00:00
Dmitry Yemanov
f647dfd757 More realistic cardinality adjustments for unmatchable booleans, this should also fix #7904: FB5 bad plan for query 2023-12-14 17:25:30 +03:00
Dmitry Yemanov
655eb5a390 Fixed debug printer code 2023-12-14 17:25:30 +03:00
Vlad Khorsun
24e3d46e82 FIxed bug #7899 :
Inconsistent state of master-detail occurs after RE-connect + 'SET AUTODDL OFF' + 'drop <FK>' which is ROLLED BACK
2023-12-14 11:23:41 +02:00
GitHub Action
a0db4283e1 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-13 20:13:29 +00:00
Adriano dos Santos Fernandes
69e2501d58 Allow to configure Firebird in posix using relative directories with options --with-fb*. (#7918)
Relative directories will be interpreted based in the runtime root prefix.
2023-12-13 07:19:01 -03:00
GitHub Action
4520f2e9c7 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-12 20:13:52 +00:00
AlexPeshkoff
166063ecf0 Fixed #7917: Hang in a case of error when sweep thread is attaching to database.
(cherry picked from commit d348ded807)
2023-12-12 18:35:06 +03:00
GitHub Action
f454eea58a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-11 20:14:12 +00:00
Vlad Khorsun
0a5a4f30b4 Fixed bug #7896 : replication.log remains empty (and without any error in firebird.log) 2023-12-11 14:25:53 +02:00
Jiri Cincura ↹
ec8f26931d Update info about quotes in fbtrace.conf 2023-12-11 11:45:26 +03:00
GitHub Action
423476b90c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-06 20:13:48 +00:00
Dmitry Yemanov
65bf32542c Fixed #7908: Unexpected results when the join condition contains the OR predicate 2023-12-06 08:22:51 +03:00
GitHub Action
12c4eb870d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-05 20:13:44 +00:00
AlexPeshkoff
ce01f13f07 Cleaned up unused 8-byte alignment. Implemented #7891: Make memory pool detect double free of a block when DEBUG_GDS_ALLOC is used. 2023-12-05 19:05:53 +03:00
AlexPeshkoff
3dc03ddb50 Fixed #7809: Crash "Fatal lock manager error: Process disappeared in LockManager::acquire_shmem"
(cherry picked from commit 3dba22bda0)
2023-12-05 10:11:31 +03:00
GitHub Action
bd40df2110 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-04 20:13:09 +00:00
AlexPeshkoff
4056a5e870 Fixed #7905: Segfault during TPC initialization
(cherry picked from commit 103373302d)
2023-12-04 18:00:52 +03:00
GitHub Action
aa786f3cde increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-03 20:12:50 +00:00
Dmitry Yemanov
898bf01575 Fixed #7903: Unexpected Results when Using CASE-WHEN with LEFT JOIN 2023-12-03 18:50:47 +03:00
GitHub Action
cc8cb88f6e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-02 20:12:34 +00:00
Adriano dos Santos Fernandes
c9e6493a5e Warning. 2023-12-02 15:01:47 -03:00
Adriano dos Santos Fernandes
ccdc281dc5 Task #7900 - Remove compatibility options MaxIdentifierByteLength and MaxIdentifierCharLength. 2023-12-02 15:00:58 -03:00
Adriano dos Santos Fernandes
a7168913cc Misc - thanks Dmitry Kovalenko. 2023-12-02 14:53:36 -03:00
GitHub Action
a7500042a2 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-01 20:13:45 +00:00
Vlad Khorsun
e98e1dc11b Task #7897 : Remove obsolete setting ClearGTTAtRetaining 2023-12-01 15:59:49 +02:00
Vlad Khorsun
e4900f972e Fixed error due to refactoring in commit 37b23f193b.
Shown by failed test for core-5222.
2023-12-01 12:12:37 +02:00
GitHub Action
df7aa6f7e7 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-30 20:13:33 +00:00
AlexPeshkoff
1dda7bf7f7 Postfix for #7885: Unstable error messages in services due to races related with service status vector; restore gbak error diagnostics 2023-11-30 17:32:28 +03:00
AlexPeshkoff
183a4c3197 Follow DS suggestion to use explicit deletion of unneeded functions 2023-11-30 17:32:28 +03:00
GitHub Action
a410b0fc53 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-29 20:13:38 +00:00
AlexPeshkoff
8cd9c65eac Postfix for #7885: Unstable error messages in services due to races related with service status vector; fixed AV in utility case 2023-11-29 20:19:37 +03:00
AlexPeshkoff
304d60ec4b Fixed #7885: Unstable error messages in services due to races related with service status vector 2023-11-29 18:21:00 +03:00
Danuul3
cf4d9d98f2
The ability to retrieve the total number of pages in the database, the (#7888)
number of pages in use, and the number of free pages via the
GET_CONTEXT.

Co-authored-by: Daniil <daniil@localhost.localdomain>
2023-11-29 16:49:54 +03:00
Adriano dos Santos Fernandes
12f5664e4b Fix #7886 - ISQL sets return code to 1 for script that is called via IN command even if this script completes OK.
Problem caused by presence of tail comments in the callee.
2023-11-28 22:27:49 -03:00
GitHub Action
e303504f22 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-28 20:13:48 +00:00
Dmitry Yemanov
9be21496f5 Postfix for my prior commit from 05-Sep-2023 2023-11-28 17:24:48 +03:00
Adriano dos Santos Fernandes
38b636f901
Misc. 2023-11-27 21:12:50 -03:00
GitHub Action
61526ccc5e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-27 20:13:04 +00:00
Dmitry Yemanov
b8c6fd3405 This should fix #7879: Unexpected results when using natural right join 2023-11-27 16:09:48 +03:00
GitHub Action
ab3723448b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-25 20:12:26 +00:00
Adriano dos Santos Fernandes
e44d09411d Improve display of blr_in_list. 2023-11-25 15:51:08 -03:00
Adriano dos Santos Fernandes
f5e81c6854 Postfix for #7810 - thanks to Vlad. 2023-11-25 15:17:12 -03:00
Adriano dos Santos Fernandes
c39e9377c6 Postfix for #7810 - allow empty statements. 2023-11-25 15:08:08 -03:00
Vlad Khorsun
8789caf2b1 Fixed bug #7860 : Crash potentially caused by BETWEEN Operator 2023-11-25 00:42:00 +02:00
GitHub Action
aa2486293d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-24 20:13:01 +00:00
Vlad Khorsun
5b240c4916
Merge pull request #7872 from FirebirdSQL/work/gh-7810-2
Additional fixes for #7810 (Improve SKIP LOCKED implementation)
2023-11-24 19:51:19 +02:00
e23f0306b4
Allow collation to be a part of data type (#7748) 2023-11-24 19:27:02 +03:00
Artyom Smirnov
a263a19a49
If stdin is FILE_TYPE_PIPE then we should treat it as non-interactive (#187) 2023-11-24 08:12:11 -03:00
Adriano dos Santos Fernandes
4c83384b9a Missing or wrong messages for #7868 - thanks to Pavel Zotov. 2023-11-24 07:38:41 -03:00
Adriano dos Santos Fernandes
a56e9c7a55 Postfixes for #7868 - thanks to Pavel Zotov. 2023-11-24 07:11:24 -03:00
Vlad Khorsun
173f32be09 Follow @asfernandes suggestion 2023-11-24 10:58:15 +02:00
Adriano dos Santos Fernandes
5d5e1567be Corrections for Windows build. (#7868) 2023-11-23 18:55:13 -03:00
GitHub Action
8cd33f85be increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-23 20:13:07 +00:00
Vlad Khorsun
69f8afd178 Fixed DELETE RETURNING handling, update documentation for SKIP LOCKED.
Revert the old way of BLR generation for DELETE RETURNING when SKIP LOCKED is not specified.
2023-11-23 18:55:41 +02:00
Adriano dos Santos Fernandes
f3205ff81d
Feature SET AUTOTERM in ISQL. (#7868) 2023-11-23 08:48:39 -03:00
TreeHunter
c7f88f1b9c
Fix time "shift" with time zone by converting it to UTC in CAST FORMAT #2388 (#7835)
* Convert time with time zone to UTC

Also return an exception that was "lost" in previous commits

* Fix incorrect timezone conversion

Also change behavior of "YY" and "YYY" the way it is done in the standard conversion.

* Convert tm year to real year for calculations in "YY" pattern

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2023-11-23 08:23:31 -03:00
GitHub Action
4f142b7818 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-22 20:13:16 +00:00
Ilya Eremin
425372d774 Fix an error on DPM_fetch() in delete_version_chain() when rpb with rpb_page == 0 is passed
It's possible to get rpb_page == 0 from VIO_intermediate_gc via staying_chain_rpb. This case happens there when the staying record stack has 1 item at the moment this rpb is created.
This fixes #7867.
2023-11-22 15:59:04 +03:00
Adriano dos Santos Fernandes
520d348bc9
Fix #7854 - Performance issue with time zones. (#7859) 2023-11-21 20:08:17 -03:00
GitHub Action
ddd3f3a1ac increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-21 20:12:32 +00:00
Dmitry Kovalenko
791817ea01 The backup/restore of int128-arrays. (#7847)
It is a fix for issue #7846.
2023-11-21 11:02:51 +03:00
Dmitry Yemanov
bd7b2a0466 Misc adjustments to avoid warnings 2023-11-21 11:02:45 +03:00
GitHub Action
530252282d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-20 20:13:40 +00:00
Vlad Khorsun
37b23f193b
Improve SKIP LOCKED implementation (#7811)
* Cleanup

* SKIP LOCKED re-implemented

* Fixed handling of returning clause by EraseNode, perhaps more complex solution required.
Correct (simplify) "skip locked" handling in VIO_chase.

* Follow @dyemanov suggestion
2023-11-20 19:47:04 +02:00
Dmitry Kovalenko
c5d7c72b91 [GBAK, Restore] The skip of att_functionarg_field_precision is corrected (#7852)
This commit fixes the issue #7851.
2023-11-20 18:38:43 +03:00
b495b3f174
Allow to create database with different owner (#7718)
* Allow to create database with different owner via API

* Support for OWNER clause in executeCreateDatabase()

* squash! Support for OWNER clause in executeCreateDatabase()

Fix rebase error
2023-11-20 18:02:59 +03:00
GitHub Action
a0ff6b90a3 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-17 20:13:47 +00:00
david ruty
ab6aced057 correction metaData 2023-11-17 13:06:32 +03:00
GitHub Action
b1c747ce0a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-16 20:13:40 +00:00
Vlad Khorsun
2031bd9b50 Missed 'break' 2023-11-16 13:36:17 +02:00
Adriano dos Santos Fernandes
d465d81ee8 Update src/dsql/parse-conflicts.txt 2023-11-15 21:01:22 -03:00
GitHub Action
b1b93c115e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-15 20:13:43 +00:00
GitHub Action
4c7e801fd7 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-14 20:12:22 +00:00
Vlad Khorsun
1eadaea21c
Merge pull request #7842 from FirebirdSQL/work/gh-7839
Fixed bug #7839 : Potential bug in BETWEEN Operator
2023-11-14 17:52:27 +02:00
Adriano dos Santos Fernandes
fc9c84b998 Fix #7844 - Removing first column with SET WIDTH crashes ISQL. 2023-11-13 22:44:40 -03:00
GitHub Action
851c59bf90 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-13 20:11:28 +00:00
Vlad Khorsun
c95aaca16a Fixed bug #7839 : Potential bug in BETWEEN Operator 2023-11-13 10:16:28 +02:00
Dmitry Yemanov
9ed5a4e010 Postfix for PR #7807 2023-11-13 08:36:14 +03:00
GitHub Action
a4b4fe4571 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-11 20:12:06 +00:00
Adriano dos Santos Fernandes
c93f83dfcc
Misc. 2023-11-11 14:26:18 -03:00
Dmitry Kovalenko
f60493c43b Fix #7831. Wrong parameter type for SCALAR_ARRAY argument. (#7836)
* METD_get_function respects FUN_scalar_array to build correct DSC of arguments.

It resolves the issue #7831 and forces a server to use SQL_ARRAY datatype for scalar_array-parameters.

* The code style has been corrected. I'm sorry.
2023-11-11 13:45:08 +03:00
Dmitry Yemanov
9e3f040600 Simplified the security definer detection 2023-11-11 11:45:00 +03:00
Dmitry Yemanov
b20924c339 Simplified Jrd::Trigger a little 2023-11-11 11:45:00 +03:00
Dmitry Yemanov
4cf95dead4 Misc 2023-11-11 11:45:00 +03:00
Dmitry Yemanov
0dc792ea9e Post-fix for #7817, this time avoiding one more OOM case. While being there, simpilfy after-exception cleanup too. 2023-11-11 11:45:00 +03:00
Alexander Zhdanov
ecc0fecff4 triState namespace fix 2023-11-10 13:54:08 +03:00
Alexandr
93c1b1f815
Merge branch 'master' into master 2023-11-10 13:12:38 +03:00
GitHub Action
3ed407515b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-09 20:14:23 +00:00
Dmitry Yemanov
ca6f63261c Add missing namespace 2023-11-09 09:15:37 +03:00
Dmitry Yemanov
a30cb9566d Reworked PR #7426. This fixes the crash during second invocation of external trigger. Using a temporary vector is a bad idea because it owns the trigger object but external triggers store a back pointer to Jrd::Trigger, thus implying it being persistent. 2023-11-09 08:34:22 +03:00
Adriano dos Santos Fernandes
32f7dfaf71 Fix #7832 - Crash on "... RETURNING *" without INTO in PSQL. 2023-11-08 22:08:38 -03:00
GitHub Action
a276255435 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-31 20:13:38 +00:00
Dmitry Yemanov
749bcc05cc This should fix #7817: Memory leak is possible for UDF array arguments 2023-10-31 11:05:16 +03:00
GitHub Action
5e0cfe3985 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-30 20:13:39 +00:00
Vlad Khorsun
044fbcb703 Removed not needed conversion, as noted by @aafemt 2023-10-30 14:16:41 +02:00
Alexander Zhdanov
b77464537a refactoring rules for partial alters 2023-10-30 13:33:58 +03:00
Vlad Khorsun
7a858e240e Implement #7818 : Extend rdb$get_context('SYSTEM', '***') with other info from MON$ATTACHMENT 2023-10-29 23:25:58 +02:00
GitHub Action
d3ff3c7dd5 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-29 20:12:43 +00:00
Vlad Khorsun
dcb7692890 Post-fix for #7814, fixed regression found by QA test for CORE-3625 (#3977) 2023-10-29 14:40:17 +02:00
GitHub Action
6919bd67c5 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-28 20:12:34 +00:00
AlexPeshkoff
570e59db38 Fixed #7812: Service backup does not work in multiple engines configuration
(cherry picked from commit 28c386cb49)
2023-10-28 20:39:33 +03:00
Adriano dos Santos Fernandes
9591891e90
Fix typo. 2023-10-27 22:52:16 -03:00
Adriano dos Santos Fernandes
a946247ffe
Fix indentation. 2023-10-27 22:50:54 -03:00
GitHub Action
96235f842c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-27 20:13:40 +00:00
Vlad Khorsun
25da3089b3 Warnings. 2023-10-27 22:34:24 +03:00
Vlad Khorsun
d9274e1bbd Fixed regression #7770 : restore takes 25% more time vs 4.0.0 2023-10-27 22:34:05 +03:00
Dmitry Yemanov
efeaa73a02 Undo some of my prior changes (still WIP). Slightly nicer debug output. 2023-10-27 21:19:50 +03:00
Dmitry Yemanov
09ae711a4e Fixed #7804: The partial index is not involved when filtering conditions through OR 2023-10-27 21:19:29 +03:00
Dmitry Yemanov
a6d322f1b2 Fixed #7800: Default publication status is not preserved after backup/restore 2023-10-27 21:17:26 +03:00
Alexander Zhdanov
695082ece7 added the ability to change sql security option in alter package 2023-10-26 00:39:41 +03:00
Alexander Zhdanov
5b620936e2 added the ability to change sql security opt in alter procedure 2023-10-25 19:27:43 +03:00
GitHub Action
858d5b0c0d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-24 20:14:07 +00:00
Vlad Khorsun
81d2d8ed36 Fixed bug #7779 : Firebird 4.0.3 is constantly crashing with the same symptoms (fbclient.dll) 2023-10-24 18:27:02 +03:00
TreeHunter
897ac0c650
Add FORMAT clause to convert datetime types to string and vice versa #2388 (#7629)
* Add FORMAT clause to convert datetime types to string and vice versa

* Add tests for FORMAT clause

* Fixes after review

* Change TZD to TZR

* Change inline variables back to static

* Add README documentation

* Add ability to use " in raw string and ...

Use session timezone if timezone is not specified.
Add ability to use + sign in timezone offset.
Add truncating string exception.

* Move util methods from BOOST_AUTO_TEST_SUITE

* Switch back to inline variables

* Consider charset in the format string

* Add ability to write patterns without separators

* Use printf to add extra zeros

Also add extra zeros to the year patterns.

* Replace template exception with a plain function

* Clean code after review

* Fix bug with TZH:TZM when TZH is 0

* Add TZR to STRING to DATE

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2023-10-24 07:01:58 -03:00
GitHub Action
1fe1abd366 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-23 20:12:50 +00:00
Vlad Khorsun
f3f231a0a3 Improvement #7814 : Don't update database-level statistics on every page cache operation. 2023-10-23 20:16:01 +03:00
GitHub Action
8124b14e7c increment build number
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-10-18 20:14:16 +00:00
AlexPeshkoff
359d4b89b3 Fixed build after changes in AutoPtr 2023-10-18 11:47:21 +03:00
AlexPeshkoff
5453f7c4d6 Restored constness propagation in AutoPtr on Adriano's request 2023-10-18 11:47:21 +03:00
GitHub Action
e3de2679a6 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-17 20:14:08 +00:00
Dmitry Yemanov
72ee7d2613 This should fix regression introduced for #6674 (aka CORE-6440) 2023-10-17 13:01:30 +03:00
Alexander Zhdanov
9b823e6996 Add ability to change sql security option in alter function 2023-10-16 21:41:41 +03:00
GitHub Action
3b5e64db97 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-14 20:12:41 +00:00
Dmitry Yemanov
96db102a29 Modern way of avoiding the compiler-default implementation 2023-10-14 19:13:27 +03:00
Dmitry Yemanov
1d51ee19a5 Revert "Minor optimization for NOT IN with nulls inside the list: do not evaluate the remaining items after the first NULL is found"
This reverts commit c7d825b6d8.
2023-10-14 19:04:38 +03:00
GitHub Action
8e458c7bd0 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-13 20:14:08 +00:00
Dmitry Yemanov
09792018d6 Fixed crash/hang due to compiler implementation of the assignment operator. StatusVector class in its current implementation is not intended for copying. 2023-10-13 18:10:13 +03:00
Dmitry Yemanov
c7d825b6d8 Minor optimization for NOT IN with nulls inside the list: do not evaluate the remaining items after the first NULL is found 2023-10-13 10:13:13 +03:00
Dmitry Yemanov
40445aa881 Fixed #7795: NOT IN <list> returns incorrect result if NULLs are present inside the value list 2023-10-13 10:11:14 +03:00
GitHub Action
8e68a6e6a9 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-11 20:13:42 +00:00
GitHub Action
d12aea3c7e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-10 20:12:34 +00:00
GitHub Action
4412d7dd3d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-09 20:12:23 +00:00
AlexPeshkoff
27e3dc7649 Fixed #7762: Crash on "Operating system call pthread_mutex_destroy failed. Error code 16" in log
(cherry picked from commit 7adea662ff)
2023-10-09 16:01:01 +03:00
GitHub Action
baa7156862 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-08 20:12:54 +00:00
Dmitry Yemanov
b5511b9ad2 This should fix the regression for functions inside package header declarations. 2023-10-08 16:23:51 +03:00
GitHub Action
d9b5cca4a0 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-06 20:13:40 +00:00
Alexandr
5327ed835c
Added the ability to change deterministic option (#7758)
* Added the ability to change deterministic option
Added the ability to change deterministic opt without specifiying the entire body of the function.
Extended "ALTER FUNCTION" syntax:
ALTER FUNCTION <name> DETERMINISTIC;
ALTER FUNCTION <name> NOT DETERMINISTIC;

* added const qualifier to flag, removed nested if/else

* added doc

---------

Co-authored-by: Alexander Zhdanov <alexander.zhdanov@red-soft.ru>
2023-10-06 16:44:43 +03:00
effb648813 Fix #7786 and SHOW output for text BLOBs domains 2023-10-06 13:51:26 +03:00
GitHub Action
f3e0fe3d52 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-05 20:13:38 +00:00
AlexPeshkoff
e7e4a776ed Minor security measure - avoid sending of authentication block over the wire (from ExtDS) 2023-10-05 15:59:54 +03:00
GitHub Action
1ae29802be increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-04 20:13:46 +00:00
0e5ea8f0d2 Suppress show default collation of it match charset name 2023-10-04 16:08:14 +03:00
Adriano dos Santos Fernandes
bc6d274e86 Fix #7777 - Firebird v6 cannot restore backup from prior versions when UDF is used. 2023-10-04 07:59:02 -03:00
Vlad Khorsun
585447eaf3 Avoid parsing same metadata for every message when executing batch statement.
While it is not direct fix for #7770 (restore takes 25% more time vs 4.0.0), it should improve performance in this case too.
2023-10-04 00:19:00 +03:00
GitHub Action
5a8e4c3fff increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-03 20:14:12 +00:00
Adriano dos Santos Fernandes
056daddfb8 Fix regression (bugs/gh_7466_plans_tracking_test.py), thanks to Pavel Zotov. 2023-10-03 06:54:24 -03:00
8dbdc2ae3f Separate charset output: full for SHOW and minimal for EXTRACT 2023-10-03 11:13:27 +03:00
GitHub Action
212a573b27 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-01 20:12:31 +00:00
Vlad Khorsun
b857630cb5 Fixed bug #7772 : Blob corruption in FB4.0.3 (embedded) 2023-10-01 10:54:49 +03:00
GitHub Action
ae166a2185 increment build number 2023-09-30 20:12:26 +00:00
Adriano dos Santos Fernandes
4070fe8c0d Prepare ISQL to have unit tests. 2023-09-29 19:01:35 -03:00
GitHub Action
b9ae5aa643 increment build number 2023-09-29 20:13:52 +00:00
GitHub Action
64f0567b6d increment build number 2023-09-28 20:12:56 +00:00
Adriano dos Santos Fernandes
8d20dd3389 Correction. 2023-09-27 21:51:03 -03:00
Adriano dos Santos Fernandes
067bf81355 Fix #7759 - Routine calling overhead increased by factor 6 vs Firebird 4.0.0. 2023-09-27 21:10:58 -03:00
Adriano dos Santos Fernandes
12f77b6eca Correction. 2023-09-27 21:06:27 -03:00
GitHub Action
5ee81a4eb0 increment build number 2023-09-27 20:13:50 +00:00
7ad5b197f6 this should fix QA tests core_4418 and core_6044 2023-09-27 13:28:56 +03:00
GitHub Action
8aad7f2bfa increment build number 2023-09-26 20:14:18 +00:00
Dmitry Yemanov
3065440386 This should fix #7760: Parameters inside the IN list may cause a string truncation error 2023-09-26 14:00:19 +03:00
Adriano dos Santos Fernandes
7e6238549f Fix #7761 - Regression when displaying line number of errors in ISQL scripts. 2023-09-25 21:29:06 -03:00
GitHub Action
e54f609371 increment build number 2023-09-25 20:13:46 +00:00
Adriano dos Santos Fernandes
200b62bb71 Fix regression after feature #7675 (EXPLAIN statement/procedure). 2023-09-25 07:52:29 -03:00
GitHub Action
d5a1b225d7 increment build number 2023-09-24 20:12:36 +00:00
72f55f2160 Fix character set and collation output for character sets with altered default collation 2023-09-24 19:45:52 +03:00
Dmitry Yemanov
7c822e41f9 Raise minor ODS number for v6 2023-09-24 19:02:43 +03:00
GitHub Action
0c52bda237 increment build number 2023-09-23 20:12:15 +00:00
GitHub Action
2a905605dd increment build number 2023-09-21 20:12:47 +00:00
AlexPeshkoff
4cca101298 Fixed #7745: Error restoring database which has system domains in user table with BLOBs using embedded connection
(cherry picked from commit 1d02248f81)
2023-09-21 19:29:57 +03:00
Adriano dos Santos Fernandes
1bc6e5c370 Fix problem with plan segments larger than 64K in RDB$SQL. 2023-09-21 08:40:48 -03:00
Adriano dos Santos Fernandes
dd317cc4c7 Fix problem with statements and plan segments larger than 64K in the profiler plugin. 2023-09-21 08:38:47 -03:00
GitHub Action
78f2097ffa increment build number 2023-09-19 20:13:30 +00:00
Adriano dos Santos Fernandes
b6248f6453 Feature #7587 - CALL statement. 2023-09-19 07:29:03 -03:00
Adriano dos Santos Fernandes
d5069c7464 Add public method ensureCapacity to Array. 2023-09-19 07:19:25 -03:00
Adriano dos Santos Fernandes
412b29e1f0 Correction for double report of isc_param_no_default_not_specified. 2023-09-19 07:19:25 -03:00