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

51287 Commits

Author SHA1 Message Date
GitHub Action
54b1c5a698 increment build number 2023-08-29 20:14:27 +00:00
AlexPeshkoff
c60633166c Fix for #7730: Server ignores the size of VARCHAR when performing SET BIND ... TO VARCHAR(N) 2023-08-29 19:20:37 +03:00
AlexPeshkoff
c51f969eb4 Fix for #7729: "SET BIND OF TS WITH TZ TO VARCHAR(128)" uses the date format of dialect 1 2023-08-29 19:19:31 +03:00
AlexPeshkoff
886fe7219b Fix for #7731: Display length of timestamp with timezone is wrong in dialect 1 2023-08-29 19:18:08 +03:00
GitHub Action
81da322277 increment build number 2023-08-28 20:13:31 +00:00
AlexPeshkoff
f049b6fb7e Fixed #7723: Wrong error message on login if the user doesn't exist and WireCrypt is disabled 2023-08-28 17:11:01 +03:00
GitHub Action
84ebf4ab1c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-25 20:13:48 +00:00
AlexPeshkoff
75b2e10eee Patch for GHSA-6fv8-8rwr-9692 2023-08-25 17:25:36 +03:00
Adriano dos Santos Fernandes
6428990818 Fix warnings. 2023-08-25 08:24:05 -03:00
Vlad Khorsun
a5131e63ee Fixed bug #7713
stability of implicit cursor could be broken, if cursor's select expression is based
on view with sub-query in select list, or
on table with sub-query in computed field.
2023-08-25 10:51:12 +03:00
GitHub Action
9f46d8359f increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-24 20:13:57 +00:00
GitHub Action
9dbb5f1158 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-23 20:12:16 +00:00
AlexPeshkoff
18258a9651 Fixed posix build to ensure regeneration of cloop-generated files after "make clean". Regenerated .pas file is also here. 2023-08-23 19:42:20 +03:00
AlexPeshkoff
5432699f28 Comment 2023-08-23 12:37:27 +03:00
GitHub Action
2b428a24c3 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-17 20:13:24 +00:00
Dmitry Yemanov
fe96706c45 Misc adjustments re. hash joins (mostly cardinality/cost related) 2023-08-17 20:58:13 +03:00
Dmitry Yemanov
37762dcf5f Warnings 2023-08-17 15:16:19 +03:00
Vlad Khorsun
a41b6109d4 Fixed bug #7710 : Expression index - more than one null value cause attempt to store duplicate value error - FB5.0 beta 2 2023-08-17 10:59:50 +03:00
GitHub Action
1560b52a9c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-15 20:13:50 +00:00
Dmitry Yemanov
e276c222aa
Add COMPILE trace events for procedures/functions/triggers (#7466)
* Add COMPILE trace events for procedures/functions/triggers

* Fixed missing elapsed time for COMPILE_TRIGGER events
2023-08-15 12:34:20 +03:00
GitHub Action
45c9bf12c1 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-11 20:13:15 +00:00
Alexandr Zhdanov
167d28f188 Added sha3 support for the built-in function CRYPT_HASH()
Added support for sha3_224, sha3_256, sha3_384, sha3_512 for the built-in
CRYPT_HASH() function
2023-08-11 12:35:37 +03:00
GitHub Action
f7987ad071 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-10 20:13:22 +00:00
AlexPeshkoff
93a8c44416 Generated files 2023-08-10 13:39:59 +03:00
GitHub Action
4c73f35ddf increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-09 20:13:59 +00:00
AlexPeshkoff
c1e58febd4 Fixed #7703: Requests leak in AutoCacheRequest 2023-08-09 19:38:37 +03:00
GitHub Action
137e997ad3 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-08 20:13:42 +00:00
GitHub Action
feb96d5a0b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-07 20:13:27 +00:00
Ilya Eremin
ad4addd279
Merge pull request #7694 from red-soft-ru/fb_5_0_index_validation_fix
Fix false positives of "missing entries for record X" error during index validation when a deleted record version is committed and has a backversion
2023-08-07 10:55:05 +03:00
GitHub Action
24a4dd72e6 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-04 20:12:52 +00:00
Adriano dos Santos Fernandes
86274ccca0 Fix regression in master #7698 - The legacy plan with window functions is broken. 2023-08-04 08:38:07 -03:00
Vlad Khorsun
f4c22d3dc8
Merge pull request #7693 from FirebirdSQL/work/7692
Improvement #7692 : Make trace config parser resolve symlinks in database file path in trace configuration
2023-08-04 11:52:18 +03:00
Adriano dos Santos Fernandes
f628e52bb5 Fix #7696 - select from external procedure validates output parameters even when fetch method returns false. 2023-08-03 22:19:23 -03:00
AlexPeshkoff
ab3d45b695 Do not take into an account value, returned by expandDatabaseName() 2023-08-03 14:31:57 +03:00
Ilya Eremin
e3d3d15921 Fix false positives of "missing entries for record X" error during index validation when a deleted record version is committed and has a backversion
The existence of an index entry is not required for such version chain because it is all garbage since a transaction is committed. To reproduce the false positive, the server should be stopped just after the chain is garbage-collected and an index page is written to disk.
2023-08-02 17:31:43 +03:00
Vlad Khorsun
bc0b679f43 Improvement #7692 : Make trace config parser resolve symlinks in database file path in trace configuration 2023-08-02 17:24:55 +03:00
GitHub Action
04928a467a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-31 20:13:35 +00:00
Dmitry Yemanov
ed6fa2de21 Fixed cardinality estimation for multi-stream hash/merge joins
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-31 10:55:43 +03:00
GitHub Action
dd72a7e5e2 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-30 20:12:23 +00:00
Dmitry Yemanov
8ef5b98381 Fixed cardinality for hash joins
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-30 16:35:43 +03:00
Vlad Khorsun
73cef0918f Fixed bug in SharedMemoryBase::eventWait() : time() doesn't returns sub-seconds and can't be used here.
All checks were successful
continuous-integration/drone/push Build is passing
Thanks to @dyemanov for adjustments.
2023-07-30 15:22:32 +03:00
Vlad Khorsun
a0c639b1fe Fixed bug #7661 : FB3 CS rejects new connections 2023-07-30 15:22:20 +03:00
Adriano dos Santos Fernandes
670d3513ca Improvement #7688 - Profiler should not miss query's top-level access paths nodes.
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-29 23:51:15 -03:00
GitHub Action
3586017cc9 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-28 20:13:15 +00:00
Adriano dos Santos Fernandes
c86bd3d4f4 Improvement #7687 - Add LEVEL column to PLG$PROF_RECORD_SOURCES and PLG$PROF_RECORD_SOURCE_STATS_VIEW.
All checks were successful
continuous-integration/drone/push Build is passing
Also avoid start collect profiling data for a record source not from its initial node.
2023-07-28 07:17:02 -03:00
Vlad Khorsun
2b5f7a466c Braces 2023-07-28 10:21:06 +03:00
Vlad Khorsun
fc8b659b19 Let gbak in verbose mode print used number of parallel workers (if set) 2023-07-27 10:06:31 +03:00
Vlad Khorsun
9ca1372206 Implement feature #7682 : Firebird 5 - use ParallelWorkers setting from firebird.conf as default for all parallelised operations 2023-07-27 09:36:08 +03:00
GitHub Action
7b130a479d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-26 20:13:03 +00:00
Adriano dos Santos Fernandes
b3199f9f01 Fix RDB$PROFILER messages.
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-26 08:02:11 -03:00
Adriano dos Santos Fernandes
affddfa9c5 Change windowed query's plans so they match nodes as present in the profiler. 2023-07-26 08:02:11 -03:00
Adriano dos Santos Fernandes
29b1d829b4 Rename methods related to cursor/recsrc ids, removing "profile" from them. 2023-07-26 08:02:11 -03:00
Adriano dos Santos Fernandes
736fa42963 Improvement #7685 - Add overload FbVarChar::set function for non null-terminated string. 2023-07-26 08:02:11 -03:00
GitHub Action
61dc200c0b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-24 20:13:16 +00:00
Adriano dos Santos Fernandes
059402d857 Fix #7683 - rdb$time_zone_util.transitions returns an infinite resultset.
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-24 08:18:11 -03:00
Dmitry Yemanov
aa164fb32c Ensure system tables have proper format. The DFW handler is usually skipped for system tables, unless dfw_update_format is posted explicitly.
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-21 20:22:37 +03:00
Dmitry Yemanov
ae7bee2664 Use fixed format for timing. Make the verbose logging a bit less verbose. 2023-07-21 20:17:53 +03:00
Dmitry Yemanov
d7e0d49b86 Avoid the 4GB shmem limit overflow causing a crash 2023-07-21 20:16:28 +03:00
GitHub Action
e6685c7b25 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-20 20:13:43 +00:00
Ilya Eremin
ad49221de4
Merge pull request #7233 from red-soft-ru/master_gbak_restore_flush_fix
All checks were successful
continuous-integration/drone/push Build is passing
Postfix for #5385 (CORE-5101): Fix slow database restore when Classic server mode is used
2023-07-20 11:55:05 +03:00
Ilya Eremin
3a147d7367
Merge pull request #7662 from red-soft-ru/5_0_prepare_update_fixes
Fix performance issues in prepare_update()
2023-07-20 11:53:56 +03:00
Adriano dos Santos Fernandes
a39c5e26f6
Correction - thanks to Dmitry Kovalenko
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 21:39:11 -03:00
GitHub Action
eda93d835a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-19 20:13:37 +00:00
GitHub Action
7c91fcbe5d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-13 20:15:16 +00:00
Dmitry Yemanov
35f97293e1 Fixed assertion in debug build
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-13 13:52:12 +03:00
Dmitry Yemanov
3bba515b60 Fixed the build
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-13 11:07:10 +03:00
Dmitry Yemanov
9aaeab2d4b Frontported fix for #7673: Make async replication reliable on Linux CS (replica side)
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-13 10:02:04 +03:00
Dmitry Yemanov
631b039c1e Postfix for index expression caching, this fixes #7676: Attempt to evaluate index expression recursively 2023-07-13 10:02:04 +03:00
GitHub Action
911b1f3cb0 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-12 20:15:11 +00:00
Vlad Khorsun
cbcfdaebd7
Merge pull request #286 from red-soft-ru/fb4_trace_warning
All checks were successful
continuous-integration/drone/push Build is passing
Remove outdated warning about trace record limit
2023-07-12 10:16:24 +03:00
GitHub Action
40a33811e0 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-11 20:14:55 +00:00
Vlad Khorsun
85716f78cd
Merge pull request #7671 from FirebirdSQL/work/SortBlocksCache
All checks were successful
continuous-integration/drone/push Build is passing
Cache sort blocks by the sort owners to avoid contention in shared cache of sorts blocks.
2023-07-11 01:20:58 +03:00
Vlad Khorsun
2db7aeb49f Follow @dyemanov suggestions. 2023-07-11 00:06:17 +03:00
GitHub Action
8e31b5dfd0 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-10 20:15:09 +00:00
Vlad Khorsun
8b91db34fd Correction.
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-09 23:55:13 +03:00
GitHub Action
24789e6472 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-09 20:14:20 +00:00
Vlad Khorsun
2704ff23f8 Don't wait too long for exclusive attachment. In most cases 10-20 ms is enough.
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-09 14:30:37 +03:00
Vlad Khorsun
1a02d775d6 Cache sort blocks by the sort owners to avoid contention at shared dbb cache. 2023-07-09 13:54:44 +03:00
GitHub Action
c32aa67aff increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-08 20:14:10 +00:00
Adriano dos Santos Fernandes
00ad2af2fa Fix #7670 - Cursor name can duplicate parameter and variable names in procedures and functions.
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-08 14:39:47 -03:00
Ilya Eremin
072ba4ad62 Better approach to update DBB_shutdown_* flags 2023-07-07 17:31:37 +03:00
Dmitry Starodubov
d10d43ecde Print warnings occurred during commit
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-07 15:23:14 +03:00
Vlad Khorsun
6d46a67bc7
Merge pull request #7666 from red-soft-ru/5_0_drop_table_fix
All checks were successful
continuous-integration/drone/push Build is passing
Fix #7664: DROP TABLE executed for a table with big records may lead to "wrong page type" or "end of file" error
2023-07-07 14:22:01 +03:00
Ilya Eremin
d31acc2342 More strict check of orphan data pages when deleting big record fragments 2023-07-07 13:02:43 +03:00
Dmitry Yemanov
44c2d55564 Fixed #7665: Wrong result ordering in LEFT JOIN query
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-07 12:24:25 +03:00
Ilya Eremin
2508339ea5 If rpb_incomplete flag is cleared, clear rpb_large flag as well 2023-07-07 10:45:20 +03:00
Ilya Eremin
b44a4a9497 Fix a bug where DROP TABLE executed for a table with big records may lead to "wrong page type" or "end of file" error
The reason is that rhd_large flag can be set while rhd_incomplete flag is not set. It happens when a record which has 2 or more fragments is updated to a smaller record which fits on one page.
2023-07-07 10:44:59 +03:00
Vlad Khorsun
f04751bc69
Merge pull request #7660 from red-soft-ru/release_broken_trace_plugin
All checks were successful
continuous-integration/drone/push Build is passing
Add missing release of broken trace plugin
2023-07-07 09:24:08 +03:00
GitHub Action
6d3dacb779 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-06 20:15:03 +00:00
AlexPeshkoff
aecbdd6c21 Fixed #7626: Segfault when new attachment is done to shutting down database
All checks were successful
continuous-integration/drone/push Build is passing
(cherry picked from commit 6749faa584)
2023-07-06 13:38:47 +03:00
Ilya Eremin
b5bd480487 Fix an issue where the temporary record is inserted twice in prepare_update() when the record which is being updated has 3 or more fragments 2023-07-06 10:54:32 +03:00
Ilya Eremin
2f8c486b59 Do not clear rpb_not_packed flag in unpack() because it breaks flags comparison in prepare_update() which causes the temporary record to be inserted twice 2023-07-06 10:54:24 +03:00
Artyom Abakumov
d748dafb27 Release broken trace plugin before removing 2023-07-05 12:17:49 +03:00
GitHub Action
370b9dd23b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-04 20:15:50 +00:00
AlexPeshkoff
857f09ece9 Cleanup - thanks to Mark
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-04 19:06:33 +03:00
GitHub Action
bd0ffc5f52 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-30 20:14:53 +00:00
AlexPeshkoff
1422aa9c1c Fixed #7658: Segfault when closing database in valgrind-enabled build
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-30 20:30:22 +03:00
Dmitry Starodubov
d5862b4fe0
Fix crash on assert or memory corruption when too long username is used for authentication
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-30 17:42:57 +03:00
GitHub Action
681364f13e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-29 20:14:32 +00:00
AlexPeshkoff
45a1856254 Avoid abort in detach() due to exception in dtor - noticed once when running tests, could not reproduce it myself
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-29 14:40:33 +03:00