Dmitry Yemanov
6cb8eacb9a
Fixed index navigation in inner joins.
2022-04-04 10:44:53 +03:00
Dmitry Yemanov
bb77ba2644
Code simplification
2022-04-04 10:44:53 +03:00
firebirds
2d0ffb75f3
increment build number
2022-04-04 00:06:43 +00:00
Vlad Khorsun
0a4e1f2229
Fixed #7161 : Update zlib to 1.2.12
2022-04-03 15:05:29 +03:00
Dmitry Yemanov
d2adb6e3d2
This should fix crashes surfaced by my yesterday's commit
2022-04-03 10:13:02 +03:00
firebirds
2e8bfcb1b0
increment build number
2022-04-03 00:06:43 +00:00
Dmitry Yemanov
4e813e0e37
Fixed regression in outer joins
2022-04-02 14:48:37 +03:00
Dmitry Yemanov
747d2ed2c2
Fixed #7164 : Multi-way hash/merge joins are impossible for expression-based keys
2022-04-02 11:40:16 +03:00
Dmitry Yemanov
f179eb489e
Make plans consistent between debug and release builds
2022-04-02 11:40:16 +03:00
Dmitry Yemanov
f023ba9957
Enable merge joins. Attempted a cost-based choice between hash and merge joins.
2022-04-02 11:40:16 +03:00
firebirds
e4a7614aeb
increment build number
2022-04-02 00:07:13 +00:00
Dmitry Yemanov
5c93044184
Fixed cardinality for full outer joins
2022-04-01 15:54:36 +03:00
Dmitry Yemanov
aa13dff750
Invert flags order to match generateRetrieval()
2022-04-01 15:54:36 +03:00
Dmitry Yemanov
7ee34987dc
Next round of optimizer refactoring. Make sure booleans delivered to the inner RSEs and utilized there are not evaluated multiple times.
2022-04-01 15:54:36 +03:00
firebirds
8e23bb7c13
increment build number
2022-04-01 00:07:31 +00:00
Dmitry Yemanov
12fc195093
Code simplification
2022-03-31 19:29:12 +03:00
Dmitry Yemanov
f57eb26b62
This should fix regressions caused by my prior commit(s).
2022-03-31 19:29:12 +03:00
Dmitry Yemanov
d662da7593
Misc debugging improvements
2022-03-31 19:29:12 +03:00
firebirds
e62e4c2e0d
increment build number
2022-03-31 00:06:42 +00:00
Dmitry Yemanov
ae1c85f8f8
Minor refactoring. Reworked fix for #3218 (Optimizer fails applying stream-local predicates before merging), now it covers both cases mentioned in the ticket.
2022-03-30 10:56:15 +03:00
Dmitry Yemanov
343c1f97df
Adjustments for cardinality estimations. Minor optimizer refactoring.
2022-03-30 10:56:15 +03:00
Dmitry Yemanov
c234434894
Initial estimation of rivers cardinality. Adjustments will follow.
2022-03-30 10:56:15 +03:00
firebirds
6708318ba1
increment build number
2022-03-30 00:06:45 +00:00
AlexPeshkoff
6209413992
Reworked fix for #7160 : Missing checkout in trace manager when performing user mapping may cause server hang
2022-03-29 16:50:50 +03:00
AlexPeshkoff
902bbaec8d
Attempt to fix #7160 : Missing checkout in trace manager when performing user mapping may cause server hang
2022-03-29 15:18:49 +03:00
firebirds
96abd02998
increment build number
2022-03-28 00:06:27 +00:00
Vlad Khorsun
59403d7fef
Adjust debug messages to avoid false failures of some fbt tests.
2022-03-27 14:16:16 +03:00
firebirds
348bb77fc0
increment build number
2022-03-25 00:07:26 +00:00
AlexPeshkoff
dd17c5585c
Use correct way to count updated records in management plugin
2022-03-24 20:36:16 +03:00
Adriano dos Santos Fernandes
6214b12028
Fix issue reported by Pavel Zotov:
...
recreate table test (id int primary key)!
commit!
execute block as
begin
execute statement 'drop table test';
in autonomous transaction do
execute statement ( 'insert into test values ( ? ) ') (1);
end!
commit!
Output on 5.0.0.426 (built: 18.03.2022):
========
========
(no errors, expected)
Output on 5.0.0.435 (built: 19.03.2022):
========
Statement failed, SQLSTATE = 42000
unsuccessful metadata update
-object TABLE "TEST" is in use
========
2022-03-24 08:55:07 -03:00
firebirds
5251444ef3
increment build number
2022-03-20 00:05:57 +00:00
Adriano dos Santos Fernandes
35da8f4553
Remove deprecated GitHub Actions Windows 2016 environment.
2022-03-19 15:04:02 -03:00
asfernandes
78ef42d38a
Update tzdata to version 2022a.
2022-03-19 14:33:29 -03:00
firebirds
463605e093
increment build number
2022-03-19 00:06:41 +00:00
Adriano dos Santos Fernandes
652ebe49ff
PoolAllocator: fix VS 2017 build.
2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
4c9fffd9b9
Compiled statement cache.
2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
0ecf1d71d5
Misc.
2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
c677ac8b5b
Added copy constructor to SortedObjectsArray.
2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
f4bc127704
Add class DoublyLinkedList.
...
It internally uses std::list with PoolAllocator.
2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
4bf1b80865
Add stl-compatible allocator classes: PoolAllocator and std::allocator_traits specialization.
2022-03-18 08:17:35 -03:00
firebirds
bc26fb72fe
increment build number
2022-03-18 00:11:20 +00:00
Adriano dos Santos Fernandes
71200308bb
Misc.
2022-03-17 16:29:49 -03:00
Adriano dos Santos Fernandes
171cb7eebc
Improvement #7093 and fix for #7094 and #7140 .
...
- #7093 - Improve indexed lookup speed of strings when the last
keys characters are part of collated contractions.
- #7094 - Incorrect indexed lookup of strings when the last keys
characters are part of collated contractions and there is
multi-segment insensitive descending index.
- #7140 - Wrong select result in case of special sort character.
2022-03-17 16:29:49 -03:00
Adriano dos Santos Fernandes
b64bbba179
Add constructor to Array.
2022-03-17 15:33:27 -03:00
firebirds
faf2523be0
increment build number
2022-03-11 00:05:57 +00:00
Dmitry Yemanov
48f8bd4a9d
This should fix #7150 : Replication not restarting after network failure. Minor adjustments regarding replication startup errors
2022-03-10 06:29:07 +03:00
firebirds
68bcf9abd5
increment build number
2022-03-08 00:06:17 +00:00
Adriano dos Santos Fernandes
98ba60e763
Correction for my last commit, thanks to Vlad.
2022-03-07 09:51:23 -03:00
Adriano dos Santos Fernandes
af6a227a71
Do not checkCancelState twice when there is no contention in thread_db::reschedule().
...
Remove unused variable 'dbb'.
2022-03-07 09:20:37 -03:00
firebirds
167f13cbcc
increment build number
2022-03-07 00:06:06 +00:00