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

56970 Commits

Author SHA1 Message Date
Dmitry Yemanov
adbbcc064f Fixed crash when IN predicate is delivered into aggregates/unions 2023-09-12 20:33:49 +03:00
Vlad Khorsun
66f6030467 This should fix blockage reported by Ilya Eremin (@ilya071294) privately. 2023-09-12 18:57:33 +03:00
Dmitry Yemanov
daf72b15c6 __func__ is now not only C99 but also a C++11 feature, should be supported by every modern compiler 2023-09-12 11:09:59 +03:00
Dmitry Yemanov
784f7bd8a6 Avoid storing garbage in idx_selectivity 2023-09-12 08:32:50 +03:00
Dmitry Yemanov
022f092877 Reworked my yesterday's commit re. empty tables and indices 2023-09-12 08:32:50 +03:00
GitHub Action
252c5b2b2f increment build number 2023-09-11 20:12:11 +00:00
Dmitry Yemanov
29b269b129 Better selectivity assumption for compound indices on empty tables 2023-09-11 20:19:25 +03:00
Dmitry Yemanov
b3c54800f3 Cost calculation adjustmnets for hash joins 2023-09-11 20:19:25 +03:00
GitHub Action
b31fc0a4d1 increment build number 2023-09-09 20:12:09 +00:00
GitHub Action
58db1331af Misc. 2023-09-09 10:13:24 +00:00
GitHub Action
24bb850a55 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-08 20:13:59 +00:00
AlexPeshkoff
569e05f8d8 Fixed compiling & running firebird under Valgrind control 2023-09-08 18:04:23 +03:00
GitHub Action
ac59a130bc increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-07 20:13:44 +00:00
Dmitry Yemanov
5df6668c7b Allow computable but non-invariant lists to be used for index lookup 2023-09-07 20:55:52 +03:00
AlexPeshkoff
3408f30109 Fixed most annoying bugs in pool<=>valgrind interaction - WIP 2023-09-07 19:40:31 +03:00
AlexPeshkoff
c5df777d12 Misc 2023-09-07 19:40:31 +03:00
Dmitry Yemanov
341b87518f Avoid tracing compilation of system triggers 2023-09-07 14:17:52 +03:00
Vlad Khorsun
fb0c6070c2
Merge pull request #7741 from TreeHunter9/master_wrong_assert_thrown
Fix wrong assert throw on validation
2023-09-07 13:10:59 +03:00
Artyom Ivanov
989612b369 Fix wrong assert throw
It can be thrown by lastUsedPage(), when it trying to fetch incorrect page number of PIP
2023-09-07 12:05:10 +03:00
GitHub Action
df389019a3 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-06 20:13:29 +00:00
Ilya Eremin
4560aad1a8
Merge pull request #7737 from red-soft-ru/5_0_blob_precedence_fixes
Fix cases where the precedence relationship between a record page and a blob page is not set
2023-09-06 16:21:28 +03:00
AlexPeshkoff
8e61e1111d Fixed #7738: Crash on multiple connections/disconnections 2023-09-06 13:40:28 +03:00
Dmitry Yemanov
bdce8b1341 Added missing (forgotten during refactoring) pre-sort before index scans. Fixed crash when all IN values are NULLs. Exclude duplicated IN values from the index scan. 2023-09-05 23:14:57 +03:00
GitHub Action
0e3ddc3c45 increment build number 2023-09-05 20:13:56 +00:00
Dmitry Yemanov
da55f0ab14 Protection from double deallocation of queued buffers, thanks to Vlad. Usually this should not happen, but possible after error thrown during commit (while journal/replica flushing). 2023-09-05 18:35:05 +03:00
Dmitry Yemanov
90ef56ae16 Postfix for replication server in Linux CS 2023-09-05 18:07:46 +03:00
Ilya Eremin
ed3287c70e Fix cases where the precedence relationship between a record page and a blob page is not set
1. While performing the intermediate garbage collection.
2. While modifying a blob field of a record.
2023-09-05 15:07:17 +03:00
AlexPeshkoff
cf6424565b Fixed #7691: 'with caller privileges' has no effect in triggers 2023-09-05 08:35:48 +03:00
Vlad Khorsun
11ffa71b4f
Merge pull request #7735 from FirebirdSQL/work/AttCacheBdb
Per-attachment cache of pointers to the often used page buffers.
2023-09-05 00:48:58 +03:00
GitHub Action
7b5ad00671 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-04 20:12:37 +00:00
Dmitry Yemanov
00c2d10102
Ensure the DDL trigger requests are cached (#7426)
While this commit does not fix all problems with cached triggers, I see no good reason to defer it.
2023-09-04 09:31:07 +03:00
Dmitry Yemanov
0493422c9f
Better processing and optimization if IN <list> predicates (#7707)
* WIP

* Original (circa 2022) implementation of the IN LIST optimization, with some post-fixes and minor adjustments

* Make it possible to optimize IN <list> for middle segments in compund indices

* Avoid modifying the retrieval structure at runtime, it may be shared among concurrent requests

* Simplify the code a little. Better cost calculation. Support both root-based and sibling-based list scans inside the same plan node.

* Removed the unneeded const casts and other changed as suggested by Adriano
2023-09-04 09:13:10 +03:00
Vlad Khorsun
469715dbf9 Misc changes per @dyemanov requests 2023-09-02 12:29:08 +03:00
Vlad Khorsun
b2eb581b2f Per-attachment cache of often used BDB's 2023-09-01 11:15:04 +03:00
GitHub Action
1973d01f39 increment build number 2023-08-31 20:13:52 +00:00
Dmitry Yemanov
b70067fe8d This should fix #7727: Index for integer column cannot be used when INT128/DECFLOAT value is being searched 2023-08-31 19:52:24 +03:00
GitHub Action
983025977a increment build number 2023-08-30 20:13:38 +00:00
loongson
fcc471e420 Add LoongArch support 2023-08-30 11:09:19 +03:00
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
Adriano dos Santos Fernandes
25b76bb26c
Merge pull request #7720 from FirebirdSQL/work/vcpkg-macos
MacOS: build libicu and static libc++ using vcpkg
2023-08-24 22:07:26 -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