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

55957 Commits

Author SHA1 Message Date
firebirds
b7e0d36b07 increment build number 2022-04-13 00:06:53 +00:00
Adriano dos Santos Fernandes
b0c69b0d3f Fix #7123 - ISQL does not extract "INCREMENT BY" for IDENTITY column. 2022-04-12 14:41:55 -03:00
Adriano dos Santos Fernandes
7290d40d81 Postfix for #7168 - use same logic of errors/warnings of functions in procedures. 2022-04-12 09:34:51 -03:00
Adriano dos Santos Fernandes
7096f67a31 Fix #7168 - Ignore missing UDR libraries during restore. 2022-04-11 22:51:04 -03:00
firebirds
8fb1e5fca2 increment build number 2022-04-12 00:06:36 +00:00
Adriano dos Santos Fernandes
988e7c2025 Fix #7124 - Inconsistent RDB$USER_PRIVILEGES after dropping identity. 2022-04-11 08:21:23 -03:00
firebirds
03398f85fa increment build number 2022-04-09 00:06:22 +00:00
Dmitry Yemanov
1c3926ab70 Parent conjuncts may be utilized multiple times, so assertion is too much paranoid 2022-04-08 17:04:17 +03:00
Dmitry Yemanov
1a453a4591 Disable the annoying assertion 2022-04-08 17:04:17 +03:00
firebirds
e8f3abbbcc increment build number 2022-04-08 00:07:18 +00:00
Adriano dos Santos Fernandes
96f32c95f6 Fix #7167 - Incorrect transliteration of field names in constraint violation errors. 2022-04-07 14:33:23 -03:00
Adriano dos Santos Fernandes
c7f5662d94 Correction, thanks to Dmitry. 2022-04-07 09:01:57 -03:00
firebirds
1e2493a252 increment build number 2022-04-07 00:06:55 +00:00
Adriano dos Santos Fernandes
63f54f109f Misc. 2022-04-06 14:47:47 -03:00
Ilya Eremin
8bd4a7abca Allow threads which are running purge_attachment() to start new transactions during DB shutdown because it's needed for ON DISCONNECT triggers
Autonomous transactions which are used inside ON DISCONNECT triggers are allowed as well.
2022-04-06 19:44:51 +03:00
Ilya Eremin
1eedc88a15 Comment 2022-04-06 19:44:51 +03:00
Ilya Eremin
ddec610a08 Print ON DISCONNECT trigger exceptions (including cancelling) to trace if log_errors = true 2022-04-06 19:44:51 +03:00
Ilya Eremin
fc85f89be4 Print ON DISCONNECT trigger name with a stack trace to firebird.log when it is cancelled by a timeout
It may help to determine where the trigger is hanging.
2022-04-06 19:44:51 +03:00
Ilya Eremin
040db0e05a Add OnDisconnectTriggerTimeout parameter to firebird.conf 2022-04-06 19:44:51 +03:00
Ilya Eremin
d64868cdcd Execute ON DISCONNECT triggers in the following cases:
1. During database shutdown (gfix -shut full -force 0).
2. An attachment is deleted from MON$ATTACHMENTS by another attachment.
3. An attachment is closed by idle timeout.

ON DISCONNECT triggers will still not be executed during server shutdown.
2022-04-06 19:44:51 +03:00
Adriano dos Santos Fernandes
446d4fa392 Fix problem found by Dmitry where node->getDesc is called after parts of csb is released. 2022-04-06 12:35:51 -03:00
firebirds
10cbd12c0e increment build number 2022-04-05 00:06:33 +00:00
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