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

55926 Commits

Author SHA1 Message Date
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
Roman Simakov
dd174d1fe4 Reserve some constants for features Red Soft are going to merge into Firebird from RedDatabase. It keeps compatibility. 2022-03-06 20:08:10 +03:00
firebirds
be357e2d95 increment build number 2022-03-05 00:06:20 +00:00
Adriano dos Santos Fernandes
917dcd36c3 Simplify Statement::verifyAccess for internal statements. 2022-03-04 17:53:15 -03:00
Adriano dos Santos Fernandes
f1c79bde15 Unset req_in_use in EXE_release. 2022-03-04 17:53:15 -03:00
Adriano dos Santos Fernandes
b9c30aa9fa Make DeclareLocalTableNode::execute truncate the table if it already had data from a previous execution. 2022-03-04 14:54:09 -03:00
firebirds
3f55221fda increment build number 2022-03-04 00:06:19 +00:00
AlexPeshkoff
adc816bfc5 Fixed #7141: Services manager breaks long lines into 1023 bytes portions when using isc_info_svc_line in Service::query() 2022-03-03 20:07:42 +03:00
firebirds
d77baae3a3 increment build number 2022-03-02 00:06:32 +00:00
AlexPeshkoff
9814fd6145 Fixed #7139: With multiple trace sessions user may receive trace events related to engine's requests 2022-03-01 18:14:57 +03:00