Adriano dos Santos Fernandes
05e39419df
Improvement to the Windows test runner.
2024-11-27 23:08:48 -03:00
Adriano dos Santos Fernandes
64c5082247
Add missing tests to Windows build.
2024-11-27 23:08:20 -03:00
Adriano dos Santos Fernandes
31d8495a1f
Fix buffer overflow using string_view.
2024-11-27 23:07:05 -03:00
Vlad Khorsun
6551af1fcb
Fixed bug #8331 : Crash of fbclient.dll on Windows
2024-11-27 22:41:59 +02:00
GitHub Action
77b95b8729
increment build number
continuous-integration/drone/push Build is passing
2024-11-26 20:18:15 +00:00
dependabot[bot]
f738e815b8
Bump dawidd6/action-download-artifact from 2 to 6 in /.github/workflows ( #8328 )
...
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact ) from 2 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases )
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v2...v6 )
---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 22:05:49 -03:00
GitHub Action
e9584dbc24
increment build number
continuous-integration/drone/push Build is passing
2024-11-25 20:18:10 +00:00
Ilya Eremin
babd741daa
Add AUTO RELEASE TEMP BLOBID transaction option ( #8323 )
...
* Add AUTO RELEASE TEMP BLOBID transaction option
It makes the transaction release temporary ID of user BLOB just after its materialization. It's useful for massive insertions of records with user-defined BLOBs because it eliminates the memory overhead caused by creating and keeping temporary IDs until the transaction ends. This option is used during the database restore.
* Place tokens in the correct sections
* Avoid repeated attempts to start a transaction with options that are not supported by the target server
* Correct AUTO RELEASE TEMP BLOBID description
* Check bad_tpb_form error for more reliable detection of unsupported transaction options
* Do not use unsupported options for transactions of parallel workers performing RestoreRelationTask
2024-11-25 11:32:33 +03:00
GitHub Action
933ac7bf19
increment build number
continuous-integration/drone/push Build is passing
2024-11-17 20:16:20 +00:00
Adriano dos Santos Fernandes
1a4717fa9f
Correction.
2024-11-16 22:07:34 -03:00
GitHub Action
9e2639d211
increment build number
continuous-integration/drone/push Build is passing
2024-11-16 20:15:55 +00:00
Dmitry Yemanov
2797cea142
Add forgotten part of my recent commit for #5654
2024-11-16 21:25:50 +03:00
Dmitry Yemanov
0d72b8097c
Do not consider non-deterministic expressions as invariants in pre-filters ( #7853 )
...
* Do not consider non-deterministic expressions as invariants in pre-filters
* Follow Adriano's suggestion
* Allow deterministic uncorrelated subqueries to be considered as invariants
2024-11-16 17:42:23 +03:00
GitHub Action
49804f3f26
increment build number
continuous-integration/drone/push Build is passing
2024-11-15 20:17:33 +00:00
Dmitry Starodubov
b4d7d0c377
Use a 64bit counter for the records written during the backup ( #8319 )
2024-11-15 19:31:04 +03:00
Dmitry Yemanov
70a60ba816
This should fix #8113 : UNION ALL optimization with constant false condition
2024-11-15 12:44:16 +03:00
GitHub Action
9625bd37f2
increment build number
continuous-integration/drone/push Build is passing
2024-11-14 20:17:31 +00:00
Vlad Khorsun
23455f019e
Add 'SET WIRE_stats' into 'HELP SET' command.
2024-11-14 20:34:53 +02:00
Dmitry Yemanov
26e64e9c08
Cost-based decision between ORDER and SORT plans ( #8316 )
...
* Cost-based decision between ORDER and SORT plans
* Use inline constexpr as suggested by Adriano. Misc style changes.
2024-11-14 21:05:43 +03:00
GitHub Action
65b80501e4
increment build number
continuous-integration/drone/push Build is passing
2024-11-12 20:17:00 +00:00
Dmitry Yemanov
b4a85b61a7
Fixed cardinality mistake for invariant booleans
2024-11-12 19:26:52 +03:00
Vlad Khorsun
01c64fe102
Fixed bug #8315 : Crash at database restore due to failed system call
2024-11-12 13:57:55 +02:00
Vlad Khorsun
df885d5935
Collect network statistics and make it available for the user applications. ( #8310 )
...
* Make Remote provider collect wire statistics.
New info items to query wire stats counters.
* New ISQL commands to show wire statistics.
* Remove requirement to not mix local and remote handled items in the same info request.
* Follow @asfernandes suggestion about class members initialization.
* Make ctor explicit, as @sim1984 suggested
* Put isc_info_end into response buffer despite of its presence in info items.
2024-11-12 13:24:54 +02:00
GitHub Action
8ca2314355
increment build number
continuous-integration/drone/push Build is passing
2024-11-08 20:16:34 +00:00
Artyom Abakumov
52657ab691
Add ALTER PACKAGE BODY
and CRETE OR ALTER PACKAGE BODY
parse rules ( #8309 )
2024-11-08 08:18:11 -03:00
Adriano dos Santos Fernandes
5b815785a7
Fix warning.
2024-11-08 07:20:46 -03:00
Vlad Khorsun
a645790176
Put isc_info_end into response buffer despite of its presence in info items.
2024-11-08 11:48:06 +02:00
GitHub Action
4eefa4b17e
increment build number
continuous-integration/drone/push Build is passing
2024-11-07 20:16:33 +00:00
Vlad Khorsun
ba62d07a1e
Workaround problem with static_assert(false) in gcc/clang compilers
2024-11-07 14:37:51 +02:00
Vlad Khorsun
216fb3e164
Simplify 'Firebird' namespace usage in remote.
2024-11-07 14:28:41 +02:00
Vlad Khorsun
e78b721256
Wire protocol improvement: prefetch blob info and some data when open blob ( #8307 )
...
* Group op_open_blob2, op_info_blob and op_get_segment into single physical packet.
It allows to prefetch and cache blob info and some blob data in single network roundtrip.
Return cached blob info, if present, without remote access.
* No need to reserve space for segment length.
Fixed typo.
Thanks to @dyemanov for comments.
* Add 'const' for parameter declaration, as @AlexPeshkoff suggested
* Use 'if constexpr' as @TreeHunter9 suggested.
Also, avoid hardcoded constants when possible.
2024-11-07 14:21:15 +02:00
Dmitry Yemanov
79583d675b
Rework my fix for #5654 : Could not execute query (select from view with nested view) -- the original solution was too restrictive, causing regressions in plans/performance
2024-11-07 13:03:25 +03:00
GitHub Action
b0c36f09af
increment build number
continuous-integration/drone/push Build is passing
2024-11-04 20:16:47 +00:00
Adriano dos Santos Fernandes
1c3dc43935
Fix #8304 - Wrong results using minvalue/maxvalue in join condition.
2024-11-03 21:30:15 -03:00
GitHub Action
d53f3681ac
increment build number
continuous-integration/drone/push Build is passing
2024-10-30 20:16:56 +00:00
Dmitry Yemanov
e7e9e01fa9
Rework fix for #8290 : Unique scan is incorrectly reported in the explained plan for unique index and IS NULL predicate
2024-10-30 11:00:56 +03:00
Dmitry Yemanov
5ed57cb43b
Fix #8214 : Incorrect result of index list scan for a composite index, the second segment of which is a text field with COLLATE UNICODE_CI
2024-10-30 10:59:20 +03:00
Dmitry Yemanov
bedf271e1f
Fix missing synchronization of the shared monitoring data
2024-10-30 10:58:57 +03:00
GitHub Action
833efbf489
increment build number
continuous-integration/drone/push Build is passing
2024-10-29 20:17:21 +00:00
Dmitry Yemanov
781e5d92f3
Implement #8230 : Ability to obtain PID of server process for current connection without querying mon$ tables
2024-10-29 20:39:30 +03:00
GitHub Action
c4bc9432a4
increment build number
continuous-integration/drone/push Build is passing
2024-10-26 20:15:14 +00:00
Adriano dos Santos Fernandes
8b0270ff9a
Code improvement.
2024-10-25 18:08:43 -03:00
5b455e3b72
Extra initialization ( #8293 )
2024-10-25 18:06:52 -03:00
GitHub Action
3aedb7fc62
increment build number
continuous-integration/drone/push Build is passing
2024-10-25 20:17:15 +00:00
67d8e39e44
Ability to create an inactive index ( #8091 )
...
* Ability to create an inactive index
* Extract inactive indices in dialect 1
2024-10-25 14:35:02 +03:00
GitHub Action
a8f5bdbe1c
increment build number
continuous-integration/drone/push Build is passing
2024-10-24 20:17:16 +00:00
Vlad Khorsun
d2f4cf6fee
Additional patch for #7269 (PR #8170 ):
...
- move more duplicated code into activateIndex,
- cache request that modifies RDB$INDICES.RDB$INDEX_INACTIVE.
2024-10-24 16:02:08 +03:00
Dima
178d83a75e
Fix #7269 : Restore deferred primary key indexes ( #8170 )
...
* fixed restore deferred primary key indexes
Fixed database recovery aborting on the first failure of the first problematic deferred index
gbak (#7269 )
* Extract function activateIndex
Extracted "activateIndex" function to remove duplicate code when restoring the database
2024-10-24 15:55:40 +03:00
Dmitry Yemanov
a1167b4431
Fix #8290 : 'Unique scan' is incorrectly reported in the explained plan for unique index and IS NULL predicate
2024-10-24 14:10:51 +03:00
Dmitry Yemanov
7886c9cd93
Fix #8291 : NULLs should be skipped during index navigation when there's no lower bound and matched conditions are known to ignore NULLs
2024-10-24 14:10:41 +03:00