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

38537 Commits

Author SHA1 Message Date
GitHub Action
dd0014242a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-13 20:12:52 +00:00
Adriano dos Santos Fernandes
74976b6d8f Postfix for #7586 (procedure output named arguments).
Thanks to Pavel Zotov.
2024-01-12 23:07:32 -03:00
GitHub Action
2305463691 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-12 20:13:49 +00:00
AlexPeshkoff
b4a956ddfe Removed debugging traps 2024-01-12 11:01:46 +03:00
GitHub Action
dfd3cb37ee increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-11 20:13:51 +00:00
AlexPeshkoff
8aacea411b Cleanup: moved INTL objects, defined in common, from namespace Jrd to namespace Firebird 2024-01-11 20:00:14 +03:00
GitHub Action
ee2d227d8c increment build number
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-10 20:14:05 +00:00
GitHub Action
597b267641 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-09 20:14:04 +00:00
GitHub Action
4aa19eaee9 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-08 20:13:34 +00:00
GitHub Action
ac5c7ae0c6 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-07 20:12:53 +00:00
GitHub Action
2f444071a1 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-05 20:13:37 +00:00
AlexPeshkoff
1d1e3a5170 Postfix for #7917: Hang in a case of error when sweep thread is attaching to database; fixed CS case. 2024-01-05 19:37:59 +03:00
GitHub Action
e62ec5cf47 increment build number 2023-12-26 20:13:11 +00:00
GitHub Action
fa5854bbc8 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-22 20:13:13 +00:00
Vlad Khorsun
c6b1d707a8 Correct non-Windows branch of code.
It should fix failed test functional/replication/test_invalid_msg_if_target_db_has_no_replica_flag
2023-12-22 09:32:40 +02:00
GitHub Action
778e7c122b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-21 20:13:09 +00:00
Vlad Khorsun
cc629222ad
Fixed bug #7873 : Wrong memory buffer alignment and IO buffer size when working in direct IO mode (#7890)
* Fixed bug #7873 : Wrong memory buffer alignment and IO buffer size when working in direct IO mode

* Use alignas() per Adriano suggestion

* Remove unused variable
2023-12-21 13:47:58 +02:00
Vlad Khorsun
fb93439e91
Merge pull request #7919 from FirebirdSQL/work/gh_7896
Fixed bug #7896 : replication.log remains empty (and without any error in firebird.log)
2023-12-21 13:23:50 +02:00
GitHub Action
f3fca285dd increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-20 20:13:37 +00:00
GitHub Action
78ff27df5e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-19 20:12:01 +00:00
Vlad Khorsun
c1a02ae75c
Merge pull request #7920 from FirebirdSQL/work/gh_7899
FIxed bug #7899 : Inconsistent state of master-detail occurs after RE-connect + 'SET AUTODDL OFF' + 'drop <FK>' which is ROLLED BACK
2023-12-19 18:15:38 +02:00
Vlad Khorsun
2feea10463 Improvement #7928 : Make TempCacheLimit setting to be per-database, (not per-attachment) for SuperClassic. 2023-12-19 18:05:57 +02:00
GitHub Action
65f0e8b4f1 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-18 20:13:23 +00:00
Dmitry Yemanov
d957b16294 Slightly reworked my yesterday's fix for #7921 2023-12-18 14:07:45 +03:00
GitHub Action
60663a3535 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-17 20:12:43 +00:00
Dmitry Yemanov
7888fdfdc4 Fixed #7921: FB5 uses PK for ordered plan even if less count of fields matching index exists 2023-12-17 11:14:42 +03:00
GitHub Action
81c9902a53 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-14 20:13:54 +00:00
Dmitry Yemanov
f647dfd757 More realistic cardinality adjustments for unmatchable booleans, this should also fix #7904: FB5 bad plan for query 2023-12-14 17:25:30 +03:00
Dmitry Yemanov
655eb5a390 Fixed debug printer code 2023-12-14 17:25:30 +03:00
Vlad Khorsun
24e3d46e82 FIxed bug #7899 :
Inconsistent state of master-detail occurs after RE-connect + 'SET AUTODDL OFF' + 'drop <FK>' which is ROLLED BACK
2023-12-14 11:23:41 +02:00
GitHub Action
a0db4283e1 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-13 20:13:29 +00:00
GitHub Action
4520f2e9c7 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-12 20:13:52 +00:00
AlexPeshkoff
166063ecf0 Fixed #7917: Hang in a case of error when sweep thread is attaching to database.
(cherry picked from commit d348ded807)
2023-12-12 18:35:06 +03:00
GitHub Action
f454eea58a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-11 20:14:12 +00:00
Vlad Khorsun
0a5a4f30b4 Fixed bug #7896 : replication.log remains empty (and without any error in firebird.log) 2023-12-11 14:25:53 +02:00
GitHub Action
423476b90c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-06 20:13:48 +00:00
Dmitry Yemanov
65bf32542c Fixed #7908: Unexpected results when the join condition contains the OR predicate 2023-12-06 08:22:51 +03:00
GitHub Action
12c4eb870d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-05 20:13:44 +00:00
GitHub Action
bd40df2110 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-04 20:13:09 +00:00
AlexPeshkoff
4056a5e870 Fixed #7905: Segfault during TPC initialization
(cherry picked from commit 103373302d)
2023-12-04 18:00:52 +03:00
GitHub Action
aa786f3cde increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-03 20:12:50 +00:00
GitHub Action
cc8cb88f6e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-02 20:12:34 +00:00
Adriano dos Santos Fernandes
c9e6493a5e Warning. 2023-12-02 15:01:47 -03:00
Adriano dos Santos Fernandes
ccdc281dc5 Task #7900 - Remove compatibility options MaxIdentifierByteLength and MaxIdentifierCharLength. 2023-12-02 15:00:58 -03:00
Adriano dos Santos Fernandes
a7168913cc Misc - thanks Dmitry Kovalenko. 2023-12-02 14:53:36 -03:00
GitHub Action
a7500042a2 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-01 20:13:45 +00:00
Vlad Khorsun
e98e1dc11b Task #7897 : Remove obsolete setting ClearGTTAtRetaining 2023-12-01 15:59:49 +02:00
Vlad Khorsun
e4900f972e Fixed error due to refactoring in commit 37b23f193b.
Shown by failed test for core-5222.
2023-12-01 12:12:37 +02:00
GitHub Action
df7aa6f7e7 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-30 20:13:33 +00:00
GitHub Action
a410b0fc53 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-29 20:13:38 +00:00
AlexPeshkoff
304d60ec4b Fixed #7885: Unstable error messages in services due to races related with service status vector 2023-11-29 18:21:00 +03:00
Danuul3
cf4d9d98f2
The ability to retrieve the total number of pages in the database, the (#7888)
number of pages in use, and the number of free pages via the
GET_CONTEXT.

Co-authored-by: Daniil <daniil@localhost.localdomain>
2023-11-29 16:49:54 +03:00
GitHub Action
e303504f22 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-28 20:13:48 +00:00
Dmitry Yemanov
9be21496f5 Postfix for my prior commit from 05-Sep-2023 2023-11-28 17:24:48 +03:00
GitHub Action
61526ccc5e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-27 20:13:04 +00:00
GitHub Action
ab3723448b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-25 20:12:26 +00:00
Vlad Khorsun
8789caf2b1 Fixed bug #7860 : Crash potentially caused by BETWEEN Operator 2023-11-25 00:42:00 +02:00
GitHub Action
aa2486293d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-24 20:13:01 +00:00
Vlad Khorsun
5b240c4916
Merge pull request #7872 from FirebirdSQL/work/gh-7810-2
Additional fixes for #7810 (Improve SKIP LOCKED implementation)
2023-11-24 19:51:19 +02:00
GitHub Action
8cd33f85be increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-23 20:13:07 +00:00
Vlad Khorsun
69f8afd178 Fixed DELETE RETURNING handling, update documentation for SKIP LOCKED.
Revert the old way of BLR generation for DELETE RETURNING when SKIP LOCKED is not specified.
2023-11-23 18:55:41 +02:00
GitHub Action
4f142b7818 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-22 20:13:16 +00:00
Ilya Eremin
425372d774 Fix an error on DPM_fetch() in delete_version_chain() when rpb with rpb_page == 0 is passed
It's possible to get rpb_page == 0 from VIO_intermediate_gc via staying_chain_rpb. This case happens there when the staying record stack has 1 item at the moment this rpb is created.
This fixes #7867.
2023-11-22 15:59:04 +03:00
GitHub Action
ddd3f3a1ac increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-21 20:12:32 +00:00
Dmitry Yemanov
bd7b2a0466 Misc adjustments to avoid warnings 2023-11-21 11:02:45 +03:00
GitHub Action
530252282d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-20 20:13:40 +00:00
Vlad Khorsun
37b23f193b
Improve SKIP LOCKED implementation (#7811)
* Cleanup

* SKIP LOCKED re-implemented

* Fixed handling of returning clause by EraseNode, perhaps more complex solution required.
Correct (simplify) "skip locked" handling in VIO_chase.

* Follow @dyemanov suggestion
2023-11-20 19:47:04 +02:00
b495b3f174
Allow to create database with different owner (#7718)
* Allow to create database with different owner via API

* Support for OWNER clause in executeCreateDatabase()

* squash! Support for OWNER clause in executeCreateDatabase()

Fix rebase error
2023-11-20 18:02:59 +03:00
GitHub Action
a0ff6b90a3 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-17 20:13:47 +00:00
GitHub Action
b1c747ce0a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-16 20:13:40 +00:00
GitHub Action
b1b93c115e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-15 20:13:43 +00:00
GitHub Action
4c7e801fd7 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-14 20:12:22 +00:00
GitHub Action
851c59bf90 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-13 20:11:28 +00:00
GitHub Action
a4b4fe4571 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-11 20:12:06 +00:00
Dmitry Yemanov
9e3f040600 Simplified the security definer detection 2023-11-11 11:45:00 +03:00
Dmitry Yemanov
b20924c339 Simplified Jrd::Trigger a little 2023-11-11 11:45:00 +03:00
Dmitry Yemanov
4cf95dead4 Misc 2023-11-11 11:45:00 +03:00
Dmitry Yemanov
0dc792ea9e Post-fix for #7817, this time avoiding one more OOM case. While being there, simpilfy after-exception cleanup too. 2023-11-11 11:45:00 +03:00
Alexandr
93c1b1f815
Merge branch 'master' into master 2023-11-10 13:12:38 +03:00
GitHub Action
3ed407515b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-09 20:14:23 +00:00
Dmitry Yemanov
ca6f63261c Add missing namespace 2023-11-09 09:15:37 +03:00
Dmitry Yemanov
a30cb9566d Reworked PR #7426. This fixes the crash during second invocation of external trigger. Using a temporary vector is a bad idea because it owns the trigger object but external triggers store a back pointer to Jrd::Trigger, thus implying it being persistent. 2023-11-09 08:34:22 +03:00
GitHub Action
a276255435 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-31 20:13:38 +00:00
Dmitry Yemanov
749bcc05cc This should fix #7817: Memory leak is possible for UDF array arguments 2023-10-31 11:05:16 +03:00
GitHub Action
5e0cfe3985 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-30 20:13:39 +00:00
Vlad Khorsun
044fbcb703 Removed not needed conversion, as noted by @aafemt 2023-10-30 14:16:41 +02:00
Vlad Khorsun
7a858e240e Implement #7818 : Extend rdb$get_context('SYSTEM', '***') with other info from MON$ATTACHMENT 2023-10-29 23:25:58 +02:00
GitHub Action
d3ff3c7dd5 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-29 20:12:43 +00:00
Vlad Khorsun
dcb7692890 Post-fix for #7814, fixed regression found by QA test for CORE-3625 (#3977) 2023-10-29 14:40:17 +02:00
GitHub Action
6919bd67c5 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-28 20:12:34 +00:00
GitHub Action
96235f842c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-27 20:13:40 +00:00
Dmitry Yemanov
efeaa73a02 Undo some of my prior changes (still WIP). Slightly nicer debug output. 2023-10-27 21:19:50 +03:00
Dmitry Yemanov
09ae711a4e Fixed #7804: The partial index is not involved when filtering conditions through OR 2023-10-27 21:19:29 +03:00
Alexander Zhdanov
695082ece7 added the ability to change sql security option in alter package 2023-10-26 00:39:41 +03:00
Alexander Zhdanov
5b620936e2 added the ability to change sql security opt in alter procedure 2023-10-25 19:27:43 +03:00
GitHub Action
858d5b0c0d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-24 20:14:07 +00:00
Vlad Khorsun
81d2d8ed36 Fixed bug #7779 : Firebird 4.0.3 is constantly crashing with the same symptoms (fbclient.dll) 2023-10-24 18:27:02 +03:00
GitHub Action
1fe1abd366 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-23 20:12:50 +00:00
Vlad Khorsun
f3f231a0a3 Improvement #7814 : Don't update database-level statistics on every page cache operation. 2023-10-23 20:16:01 +03:00
GitHub Action
8124b14e7c increment build number
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-10-18 20:14:16 +00:00
AlexPeshkoff
359d4b89b3 Fixed build after changes in AutoPtr 2023-10-18 11:47:21 +03:00
GitHub Action
e3de2679a6 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-17 20:14:08 +00:00
GitHub Action
3b5e64db97 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-14 20:12:41 +00:00
GitHub Action
8e458c7bd0 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-13 20:14:08 +00:00
Dmitry Yemanov
09792018d6 Fixed crash/hang due to compiler implementation of the assignment operator. StatusVector class in its current implementation is not intended for copying. 2023-10-13 18:10:13 +03:00
Dmitry Yemanov
40445aa881 Fixed #7795: NOT IN <list> returns incorrect result if NULLs are present inside the value list 2023-10-13 10:11:14 +03:00
GitHub Action
8e68a6e6a9 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-11 20:13:42 +00:00
GitHub Action
d12aea3c7e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-10 20:12:34 +00:00
GitHub Action
4412d7dd3d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-09 20:12:23 +00:00
GitHub Action
baa7156862 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-08 20:12:54 +00:00
GitHub Action
d9b5cca4a0 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-06 20:13:40 +00:00
Alexandr
5327ed835c
Added the ability to change deterministic option (#7758)
* Added the ability to change deterministic option
Added the ability to change deterministic opt without specifiying the entire body of the function.
Extended "ALTER FUNCTION" syntax:
ALTER FUNCTION <name> DETERMINISTIC;
ALTER FUNCTION <name> NOT DETERMINISTIC;

* added const qualifier to flag, removed nested if/else

* added doc

---------

Co-authored-by: Alexander Zhdanov <alexander.zhdanov@red-soft.ru>
2023-10-06 16:44:43 +03:00
GitHub Action
f3e0fe3d52 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-05 20:13:38 +00:00
GitHub Action
1ae29802be increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-04 20:13:46 +00:00
GitHub Action
5a8e4c3fff increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-03 20:14:12 +00:00
Adriano dos Santos Fernandes
056daddfb8 Fix regression (bugs/gh_7466_plans_tracking_test.py), thanks to Pavel Zotov. 2023-10-03 06:54:24 -03:00
GitHub Action
212a573b27 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-01 20:12:31 +00:00
GitHub Action
ae166a2185 increment build number 2023-09-30 20:12:26 +00:00
Adriano dos Santos Fernandes
4070fe8c0d Prepare ISQL to have unit tests. 2023-09-29 19:01:35 -03:00
GitHub Action
b9ae5aa643 increment build number 2023-09-29 20:13:52 +00:00
GitHub Action
64f0567b6d increment build number 2023-09-28 20:12:56 +00:00
Adriano dos Santos Fernandes
8d20dd3389 Correction. 2023-09-27 21:51:03 -03:00
Adriano dos Santos Fernandes
067bf81355 Fix #7759 - Routine calling overhead increased by factor 6 vs Firebird 4.0.0. 2023-09-27 21:10:58 -03:00
Adriano dos Santos Fernandes
12f77b6eca Correction. 2023-09-27 21:06:27 -03:00
GitHub Action
5ee81a4eb0 increment build number 2023-09-27 20:13:50 +00:00
GitHub Action
8aad7f2bfa increment build number 2023-09-26 20:14:18 +00:00
GitHub Action
e54f609371 increment build number 2023-09-25 20:13:46 +00:00
Adriano dos Santos Fernandes
200b62bb71 Fix regression after feature #7675 (EXPLAIN statement/procedure). 2023-09-25 07:52:29 -03:00
GitHub Action
d5a1b225d7 increment build number 2023-09-24 20:12:36 +00:00
Dmitry Yemanov
7c822e41f9 Raise minor ODS number for v6 2023-09-24 19:02:43 +03:00
GitHub Action
0c52bda237 increment build number 2023-09-23 20:12:15 +00:00
GitHub Action
2a905605dd increment build number 2023-09-21 20:12:47 +00:00
Adriano dos Santos Fernandes
1bc6e5c370 Fix problem with plan segments larger than 64K in RDB$SQL. 2023-09-21 08:40:48 -03:00
GitHub Action
78f2097ffa increment build number 2023-09-19 20:13:30 +00:00
Adriano dos Santos Fernandes
412b29e1f0 Correction for double report of isc_param_no_default_not_specified. 2023-09-19 07:19:25 -03:00
Adriano dos Santos Fernandes
00a50429cb Feature #7566 - Allow DEFAULT keyword in argument list. 2023-09-19 07:19:19 -03:00
Adriano dos Santos Fernandes
5dbd5a46ef Allow mixed (positional, named) arguments. 2023-09-19 07:14:06 -03:00
Adriano dos Santos Fernandes
1b2b3ab638 Named arguments for function call, EXECUTE PROCEDURE and procedure record source. 2023-09-19 07:14:02 -03:00
Adriano dos Santos Fernandes
57a629f013 Misc. 2023-09-19 06:54:03 -03:00
Adriano dos Santos Fernandes
524fb59226 Deduplicate code. 2023-09-19 06:54:03 -03:00
Adriano dos Santos Fernandes
39b019574a
Feature #7675 - EXPLAIN statement and RDB$SQL package. (#7697)
* Feature #7675 - EXPLAIN statement and RDB$SQL package.

* Change ObjectsArray::back() to match STL semantics and add front() method.

* Fix indentation problem.

* Add OBJECT_TYPE column.

* Add CARDINALITY column.

* Add conversion from bid to ISC_QUAD.

* Replace fb_assert by static_assert.

* Change ACCESS_PATH output parameter to blob.

* Improve docs.
2023-09-18 21:52:20 -03:00
Adriano dos Santos Fernandes
f8ed006057 Ressurect TriState, replace Nullable<bool> by TriState, remove Nullable. 2023-09-18 20:38:33 -03:00
Adriano dos Santos Fernandes
c170e4b089 Replace Nullable by std::optional. 2023-09-18 20:38:33 -03:00
Adriano dos Santos Fernandes
0f978d3ee0 Cleanup: structured binding declarations. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
5d47a0ba7c Replace throw() by noexcept. 2023-09-18 20:27:13 -03:00
Adriano dos Santos Fernandes
0f083fd086 Cleanup: initialization. 2023-09-18 20:27:13 -03:00
Adriano dos Santos Fernandes
0278a9bfdb Refactor: SelectNode (DSQL) and blr_select (JRD) has no relation with each other. 2023-09-18 20:27:13 -03:00
GitHub Action
5ce04e6a1e increment build number 2023-09-18 20:14:06 +00:00
Dmitry Yemanov
7ed973b7aa Ensure a correct format number for system tables in a newly created database. Some code unification. More paranoid assertions. 2023-09-18 16:54:05 +03:00
Adriano dos Santos Fernandes
a71ec888e4
Improvement #7590 - Improve DECLARE VARIABLE to accept complete value expressions. (#7608) 2023-09-18 08:02:05 -03:00