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

51359 Commits

Author SHA1 Message Date
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
GitHub Action
d839d637ae increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-28 20:14:43 +00:00
Adriano dos Santos Fernandes
ff0e49eef9 Leave message - as asked by Mark.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-28 08:12:54 -03:00
Adriano dos Santos Fernandes
5c18bcd067 Leave message - as asked by Mark.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-28 07:44:29 -03:00
Adriano dos Santos Fernandes
844631b0ee Fix #7638 - OVERRIDING USER VALUE should be allowed for GENERATED ALWAYS AS IDENTITY.
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-06-27 22:59:42 -03:00
GitHub Action
912e2e18e2 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-27 20:15:57 +00:00
Dmitry Yemanov
421a73ae4b Fixed #7651: Unable to find savepoint in insert with nested query and returning clause. Fixed also regression for #5613 regarding UPDATE OR INSERT.
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-06-27 10:12:43 +03:00
Adriano dos Santos Fernandes
00bb8e4581 Improvement #7652 - Make the profiler store aggregated requests by default, with option for detailed store.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-26 22:53:23 -03:00
Adriano dos Santos Fernandes
cfffebf92e Estimate and amortize in the profiler the time spent getting performance counters.
Also make some ProfilerManager code inline.
2023-06-26 22:50:29 -03:00
Adriano dos Santos Fernandes
3c0fb038e6 Add class PerformanceStopWatch. 2023-06-26 22:50:29 -03:00
Adriano dos Santos Fernandes
dddfcf49fe
Fix #7649 - Switch Linux performance counter timer to CLOCK_MONOTONIC_RAW. (#7650) 2023-06-26 22:45:37 -03:00
GitHub Action
54ca5e45d5 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-26 20:15:50 +00:00
AlexPeshkoff
f811bcc770 Fixed #7475: 'SHOW SYSTEM' command: provide list of functions belonging to system packages
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-26 20:53:16 +03:00
GitHub Action
6a2c443a35 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-23 20:15:07 +00:00
AlexPeshkoff
19db9a1cf1 Fixed #7647: Regression: Error in isc_array_lookup_bounds
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-23 16:52:22 +03:00
GitHub Action
8f37269e32 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-21 20:13:46 +00:00
AlexPeshkoff
15b0b297dc Postfix for #7046: Make ability to add comment to mapping ('COMMENT ON MAPPING ... IS ...'); show and extract comments on mappings in isql
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-21 19:22:20 +03:00
AlexPeshkoff
c099638639 Implemented #7642: Getting the current DECFLOAT ROUND/TRAPS settings 2023-06-21 17:18:32 +03:00
GitHub Action
50fc1339a6 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-20 20:14:07 +00:00
Adriano dos Santos Fernandes
9d3a83f284
Fix wrong profiler measurements due to overflow. (#7641)
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-19 20:53:22 -03:00
GitHub Action
659abbd5ce increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-19 20:13:16 +00:00
GitHub Action
6d0332b6b3 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-18 20:13:06 +00:00
Vlad Khorsun
01c227855a @aafemt suggestion : removed obsolete code, more clear error handling.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-18 15:12:02 +03:00
GitHub Action
b868d9eb53 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-17 20:12:55 +00:00
Vlad Khorsun
c1c13cdb37 Improvement #7637 : Run as application not specifying switch -a
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-17 16:59:08 +03:00
Vlad Khorsun
19564b3a5e
Merge pull request #7635 from FirebirdSQL/work/gh_7634
Improvement #7634 : Include Performance Cores only in default affinity mask
2023-06-17 16:55:40 +03:00
GitHub Action
a6d0fc1edd increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-16 20:13:56 +00:00
Vlad Khorsun
84a70c8646 "usual requirement for WinAPI" that documented nowhere. 2023-06-16 18:28:17 +03:00
Vlad Khorsun
a36c804a6c
Merge pull request #7628 from red-soft-ru/5_0_dp_numbers_cache_fix
All checks were successful
continuous-integration/drone/push Build is passing
Fix #7627: The size of the database with big records becomes bigger after backup/restore
2023-06-16 14:02:35 +03:00
Vlad Khorsun
d41cc85523 Improvement #7634 : Include Performance Cores only in default affinity mask 2023-06-16 13:24:00 +03:00
GitHub Action
990cf01c7a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-15 20:13:29 +00:00
Ilya Eremin
47a65547d7 Fix #7627: The size of the database with big records becomes bigger after backup/restore
The problem appears when bulk inserts are used (currently during restore). Without the fix the primary data page is released if it has the dpg_large flag, and the new record is inserted on the next empty page. As a result, each primary page has only one record. Generally the fix solves an issue where per-relation cache of data page numbers is not working for tables with big records.
2023-06-14 13:08:09 +03:00
GitHub Action
ead783f1cd increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 20:13:28 +00:00
Alexander Peshkov
d868e7ea78
Fixed #7579: Cannot nbackup a firebird 3.0 database in firebird 4.0 service with engine12 setup in Providers
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 18:16:37 +03:00
GitHub Action
cb52a49f8f increment build number
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-06-06 20:13:56 +00:00
Dmitry Yemanov
c578481d80 Fixed #7605: Disallow replication of RDB
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-06 09:09:33 +03:00
GitHub Action
d9dd0fecf5 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-03 20:13:37 +00:00
Adriano dos Santos Fernandes
94a1c8e464 Frontport fix for #7611 - Can't backup/restore database from v3 to v4 with SEC$USER_NAME field longer than 10 characters.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-02 22:34:48 -03:00
GitHub Action
3b027975bc increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-01 20:13:10 +00:00
AlexPeshkoff
3b9d57bf56 Reworked fix for #7599: Conversion of text with '\0' to DECFLOAT without errors; ensure better backward compatibility
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-01 18:44:16 +03:00
GitHub Action
d09a0d2c4b increment build number
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-31 20:13:46 +00:00
Adriano dos Santos Fernandes
a10297ad84 Warning: remove variable not read.
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-30 20:57:26 -03:00
Adriano dos Santos Fernandes
7765cd03c9 Fix #7610 - Uninitialized/random value assigned to RDB$ROLES -> RDB$SYSTEM PRIVILEGES when restoring from FB3 backup. 2023-05-30 20:49:23 -03:00
GitHub Action
a19a38f19e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-30 20:13:53 +00:00
AlexPeshkoff
fa6f9196f9 Fixed #7599: Conversion of text with '\0' to DECFLOAT without errors
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-30 19:45:26 +03:00
Adriano dos Santos Fernandes
30b7852c76 Fix #7604 - PSQL functions do not convert the output BLOB to the character set defined at creation. 2023-05-30 07:49:04 -03:00
GitHub Action
244a515159 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-29 20:13:41 +00:00
AlexPeshkoff
dfd67ab010 changes in generated file 2023-05-29 19:53:06 +03:00
GitHub Action
5ed9d76d29 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-23 20:13:39 +00:00
Vlad Khorsun
3852326ed5 Fixed bug #7598 : DDL statements hang when the compiled statements cache is enabled
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-23 16:16:05 +03:00
GitHub Action
67112c60ab increment build number 2023-05-22 20:13:29 +00:00
Adriano dos Santos Fernandes
89b667bf1e Revert "Fix #7592 - RPAD works incorectly in a connection with the charset NONE."
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 6e631a869d.
2023-05-21 21:01:23 -03:00
GitHub Action
03ba520c88 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-20 20:12:43 +00:00
Adriano dos Santos Fernandes
6e631a869d Fix #7592 - RPAD works incorectly in a connection with the charset NONE.
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-20 15:39:59 -03:00
GitHub Action
e81b590348 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-18 20:13:44 +00:00
Adriano dos Santos Fernandes
e43bfdd94d Change PLG$PROF_RECORD_SOURCES.ACCESS_PATH to VARCHAR(255) as documented. Thanks to Mark.
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-17 22:03:34 -03:00
GitHub Action
953c9f1edf increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-17 20:13:37 +00:00
AlexPeshkoff
6707c7c2cc POSIX-only fix for #7582: Missing isc_info_end in Firebird.pas. Appropriate fix for windows build is needed.
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-17 19:10:49 +03:00
Vlad Khorsun
5a57e1af23 Merge branch 'master' of https://github.com/FirebirdSQL/firebird
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-16 23:25:40 +03:00
Vlad Khorsun
ef04a35eee Missing part of partial index support in parallel index creation code.
It fixed crushes at parallel restore when partial indices present.
2023-05-16 23:24:40 +03:00
Vlad Khorsun
27ac59bb9b This should fix bug #7554 : Firebird 5 partial index creation causes server hang up 2023-05-16 23:22:24 +03:00
GitHub Action
1e1dcbfc02 increment build number 2023-05-16 20:13:14 +00:00
Adriano dos Santos Fernandes
8e039e8b8a Fix #7574 - Derived table syntax allows dangling AS.
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-16 07:54:47 -03:00
GitHub Action
172b3edb3a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-14 20:12:59 +00:00
dimitr
812640048d Fixed regression surfaced by test bugs.core_3881_test
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-14 09:50:57 +03:00
GitHub Action
f615e0e26d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-13 20:12:44 +00:00
dimitr
cd83cf9da0 Better (fingers crossed) sharing of the index expression between IndexKey's
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-13 12:08:44 +03:00
GitHub Action
49b56fb2f4 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-12 20:12:49 +00:00
dimitr
d67380f27a Use lazy initialization for expression request, as any possible errors must be handled inside compose() and returned using proper error codes. This allows to release resources (e.g. page latches) properly.
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-12 14:31:05 +03:00
GitHub Action
2238d368e0 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-11 20:13:08 +00:00
dimitr
70cffb00b6 Yet another postfix
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-11 13:42:20 +03:00
dimitr
6e58bd721c Fixed index expression recursion errors after my recent changes
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-11 11:31:24 +03:00
GitHub Action
6b051ee65e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-10 20:17:41 +00:00
Adriano dos Santos Fernandes
639565f915
Fix #7569 - Multi-level order by and offset/fetch ignored on parenthesized query expressions. (#7571)
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-09 20:59:37 -03:00
GitHub Action
6862324f9d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-09 20:15:36 +00:00
Mark Rotteveel
85bbdf3301 #7576 Allow nested parenthesized joined table
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-09 16:22:14 +02:00
Dmitry Yemanov
f581f37dc8
Optimize creation of expression and partial indices (#7559)
* Refactor index condition/expression evaluation into classes. Speed up (appr. 10x) creation and validation time for conditional indices.

* Simplified NULL handling when index keys are composed

* Refactor index key creation (from record). Optimize evaluation of index expressions.

* Adjustments after Vlad's review

* Remove redundant variables
2023-05-09 17:11:04 +03:00
GitHub Action
bc7b17cc1e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-08 20:13:05 +00:00
GitHub Action
3b407eaa8d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-06 20:13:11 +00:00
Adriano dos Santos Fernandes
fec506f4de
Feature #5959 - Add support for QUARTER to EXTRACT, FIRST_DAY and LAST_DAY [CORE5693] (#7564)
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-06 13:16:03 -03:00
GitHub Action
efb56ceb10 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-05 20:13:30 +00:00
GitHub Action
71b5cb5626 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-04 20:13:28 +00:00
Adriano dos Santos Fernandes
39fb998078 Fix #7562 - Profiler elapsed times are incorrect in Windows.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
continuous-integration/drone/promote/package Build is passing
2023-05-03 22:38:57 -03:00
GitHub Action
0ede796f5c increment build number
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is passing
continuous-integration/drone/promote/packaging Build is passing
2023-04-28 20:13:36 +00:00
AlexPeshkoff
bcd99808b7 Debugging enhancement - always copy shared file images to core dump
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-04-28 18:20:41 +03:00
Vlad Khorsun
82087d7670 Fixed wrong usage of deferred packets when current protocol doesn't supports its (XNET, for example).
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-04-28 01:08:04 +03:00
GitHub Action
3b6e1f6527 increment build number
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-04-27 20:14:07 +00:00
Adriano dos Santos Fernandes
e05d8f7d15 Fix #7553 - Firebird 5 profiler error with subselects.
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-04-26 20:03:14 -03:00
GitHub Action
5205d16b9f increment build number
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-04-26 20:12:45 +00:00
AlexPeshkoff
3018b8127e Fix for #7556: FB Classic can hang when attempts to attach DB while it is starting to encrypt/decrypt
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-04-26 20:43:25 +03:00
Dmitry Yemanov
237cd56637 Ensure the positioned update/delete sees the actual version of record after refetch-based sorting
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-04-26 11:26:10 +03:00
GitHub Action
0fdfc3c123 increment build number 2023-04-24 20:13:57 +00:00
AlexPeshkoff
0609bc20d9 Fix for #7555: Invalid configuration for random fresh created database may be used after drop of another one with alias in databases.conf 2023-04-24 20:09:18 +03:00
GitHub Action
013393bea3 increment build number 2023-04-22 20:13:30 +00:00
TreeHunter
043392e601
Reduce output of the SHOW GRANTS command (#7506)
* Reduce output of the SHOW GRANTS command

* Even further reduce the output of the SHOW GRANTS command

* Correct WITH GRANT OPTION check

* Remove redundant string initialisation

* Use FB_NELEM instead of manual calculating length of the array

---------

Co-authored-by: Artem Ivanov <artyom.ivanov@red-soft.ru>
2023-04-22 21:14:20 +03:00
GitHub Action
4c4ff3d1d3 increment build number 2023-04-21 23:09:31 +00:00
Vlad Khorsun
182653f1e3 Avoid release of already released object.
This is missed part of older commit e5e60d292.
2023-04-21 13:51:55 +03:00
GitHub Action
8833087e93 increment build number 2023-04-20 23:09:37 +00:00
Dmitry Yemanov
7a3f6d7ad8 Please Dimitry Sibiryakov re. hardcoded strings 2023-04-20 16:25:32 +03:00
Dmitry Yemanov
9527ad2406 Implemented #7001: ISQL showing publication status 2023-04-20 14:39:45 +03:00
Dmitry Yemanov
f6c9b5dde4 Minimalist fix for #6260: allow replication using the global settings only 2023-04-20 10:04:55 +03:00
Dmitry Yemanov
59af7267b1 Implement #7425: Add REPLICA MODE to the output of the isql SHOW DATABASE command 2023-04-20 10:04:40 +03:00
Dmitry Yemanov
5af209a952 Avoid random generation of field IDs, respect the user-specified order instead 2023-04-20 10:03:25 +03:00
GitHub Action
61a6a7ef0f increment build number 2023-04-19 23:10:28 +00:00
Adriano dos Santos Fernandes
37d81dcc7d Remove warnings. 2023-04-18 22:51:18 -03:00
GitHub Action
e37e682655 increment build number 2023-04-18 23:09:43 +00:00
Adriano dos Santos Fernandes
50755f1ed9 Add test for Compressor class. 2023-04-17 23:01:21 -03:00
Adriano dos Santos Fernandes
a526db63a8 Remove warnings. 2023-04-17 21:14:29 -03:00
Adriano dos Santos Fernandes
bfe818e220 Fix #7548 - SET BIND OF TIMESTAMP WITH TIME ZONE TO CHAR is not working with UTF8 connection charset. (#7549) 2023-04-17 21:05:47 -03:00
GitHub Action
c6aa34288b increment build number 2023-04-16 23:08:55 +00:00
Vlad Khorsun
c94d96b308 Improvement #7550 : Add support for -parallel in combination with gfix -icu 2023-04-16 18:26:02 +03:00
GitHub Action
6804a6a39f increment build number 2023-04-13 23:09:20 +00:00
AlexPeshkoff
0e67aa86b8 Fix for #7545: Server crash on some LockMemSize values 2023-04-13 17:40:50 +03:00
Vlad Khorsun
88a434dacc Frontported improvement #7494 : Firebird performance issue - non necessary index reads.
Also, fixed unregistered bug when scan of multi-segmented descending index with partial match and greater-than condition could miss some records.
2023-04-13 13:05:27 +03:00
GitHub Action
dd4c28ffcf increment build number 2023-04-12 23:09:08 +00:00
GitHub Action
0bbae51e1b increment build number 2023-04-10 23:08:59 +00:00
Vlad Khorsun
eef85b851e Regenerated file 2023-04-10 14:34:22 +03:00
Vlad Khorsun
f4361bb670 Restore local variable usage. 2023-04-10 14:23:36 +03:00
Vlad Khorsun
308579c2f7 Improvement #7542 : Compiler warnings raise when build cloop generated Firebird.pas in RAD Studio 11.3
Also, fixed AV in FbException.catchException()
2023-04-10 12:36:53 +03:00
GitHub Action
d547e930c5 increment build number 2023-04-06 23:09:38 +00:00
Vlad Khorsun
7ec5944aed Fixed bug #7535 : High CPU usage connect to Firebird 3 database using Firebird 4 Classic and SuperClassic service 2023-04-06 13:07:45 +03:00
GitHub Action
eeb7cd4b6d increment build number 2023-04-04 23:08:58 +00:00
Vlad Khorsun
b40a960e0e Put monitoring blobs into temporary page space 2023-04-04 18:39:16 +03:00
Vlad Khorsun
60ff0b6e0c Improvement #7539 : RDB$GET/SET_CONTEXT(): enclosing in apostrophes or double quotes of a missed namespace/variable will made output more readable 2023-04-04 11:18:07 +03:00
GitHub Action
b5b47552b8 increment build number 2023-04-03 23:09:20 +00:00
Vlad Khorsun
7b0b01235b Cleanup. 2023-04-03 16:38:02 +03:00
Vlad Khorsun
333be4bfd4 Change error by warning in the case when isc_dpb_parallel_workers value is not at valid range.
gbak's restore now shows warnings after create database.
2023-04-03 16:37:42 +03:00
Vlad Khorsun
24d5c85a93 Fixed my mistake, thanks to Dimitry Sibiryakov 2023-04-03 15:52:36 +03:00
Vlad Khorsun
f346319ea5 Fixed bug #7537 : Wrong name in error message when unknown namespace is passed into RDB$SET_CONTEXT() 2023-04-03 13:10:21 +03:00