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
Vlad Khorsun
c9aa55344a
Move declarations to the appropriate place
2024-10-24 13:28:32 +03:00
Vlad Khorsun
33b4036fa0
Fixed bug #8292 : run_all PDB fails with "Error calling COPY_XTRA"
2024-10-24 13:27:22 +03:00
GitHub Action
6bfd79fb51
increment build number
continuous-integration/drone/push Build is passing
2024-10-22 20:17:08 +00:00
Artyom Abakumov
6cc3442f8d
Improve vscode settings for debugging ( #8289 )
...
* Improve settings for temp files in vs code
Mark temporary files as readable instead of excluding them
Seems like variables does not work with glob pattern, keep only the relative glob pattern
* Open epp files as C++
* Exclude temp files from search
Co-authored-by: Adriano dos Santos Fernandes <529415+asfernandes@users.noreply.github.com>
---------
Co-authored-by: Artyom Abakumov <artyom.abakumov@red-soft.ru>
Co-authored-by: Adriano dos Santos Fernandes <529415+asfernandes@users.noreply.github.com>
2024-10-22 07:01:25 -03:00
Adriano dos Santos Fernandes
1e33151edc
Fix GCC 14.2 warnings.
2024-10-21 22:34:34 -03:00
GitHub Action
be5650bc04
increment build number
continuous-integration/drone/push Build is passing
2024-10-21 20:17:12 +00:00
Adriano dos Santos Fernandes
aceb5a6948
Fix #8288 - GPRE generated code is incompatible with GCC 14.2.
2024-10-20 22:34:25 -03:00
GitHub Action
6214b9d582
increment build number
continuous-integration/drone/push Build is passing
2024-10-19 20:16:14 +00:00
Artyom Abakumov
025906cf1a
Update the libcxx (llvm project) to version 19.1.1 ( #8285 )
2024-10-19 16:09:49 -03:00
GitHub Action
591a76107c
increment build number
continuous-integration/drone/push Build is passing
2024-10-18 20:16:21 +00:00
Adriano dos Santos Fernandes
042ce98d45
Merge pull request #8286 from FirebirdSQL/work/boost-update
...
Update boost to version 1.86.0
2024-10-17 21:09:53 +00:00
GitHub Action
cf5a420e33
increment build number
continuous-integration/drone/push Build is passing
2024-10-17 20:17:05 +00:00