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

57606 Commits

Author SHA1 Message Date
Vlad Khorsun
07d09c3252 Fixed bug #8150 : Process could attach to the deleted instance of shared memory
Patch and additional comments by @AlexPeshkoff
2024-06-05 21:34:29 +03:00
Vlad Khorsun
0220cd109c Fixed bug #8149 : The hung or crash could happen when connection fires TRACE_EVENT_DETACH event and new trace session created concurrently 2024-06-05 21:31:35 +03:00
GitHub Action
25f3ebcd10 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-03 20:14:28 +00:00
TreeHunter
174038cbf5
Refactoring of CAST FORMAT (#7881) (#8134)
* Refactoring of CAST FORMAT

Move CAST FORMAT logic to separate file.
Separation of logic into parsing stage and execution stage.
Add more FORMAT validation based on SQL standard.

* Add more unit tests for incorrect FORMAT

* Remove incorrect const specifier

* Fixes after review

Minor code changes.
Move public CVT_FORMAT functions  to CvtFormat.h.
Add new error message if same is used pattern twice in string to datetime conversion.

* Fix indents in comments

* Add new files to windows build

* Remove constexpr specifier from functions that is not real constexpr

Because std::isdigit and std::isalpha are not constexpr.

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2024-06-03 10:43:06 -03:00
GitHub Action
f2d12e403b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-30 20:15:28 +00:00
AlexPeshkoff
ab2c956464 Restored correct permissions 2024-05-30 10:59:38 +03:00
GitHub Action
8e46fd3b9a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-28 20:14:20 +00:00
Dmitry Yemanov
95442bdfff Attempt to avoid hash joining for possible cardinality under-estimations 2024-05-28 12:47:39 +03:00
Dmitry Yemanov
40d0b4150c Fixed #8136: Server crashes with IN (dbkey1, dbkey2, ...) condition 2024-05-28 09:03:39 +03:00
Dmitry Yemanov
a2ed8a7059 Misc 2024-05-28 09:03:39 +03:00
GitHub Action
067039db6b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-27 20:13:32 +00:00
Vlad Khorsun
8956bfb9d2 Correction for #8069.
Note, sequence numbers could be out of physical order of records.
2024-05-27 14:06:40 +03:00
GitHub Action
ecc49e053f increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-24 20:14:20 +00:00
Vlad Khorsun
67a5ca846f
Merge pull request #8129 from FirebirdSQL/work/gh-8120
Simplest fix for bug #8120 : Cast dies with numeric value is out of range error (5.0.1 snapshot)
2024-05-24 16:23:40 +03:00
Vlad Khorsun
44a69d866e Simplest fix for bug #8120 : Cast dies with numeric value is out of range error (5.0.1 snapshot) 2024-05-24 15:27:41 +03:00
Dmitry Starodubov
aa372c92ac
Fixed possible buffer overflow on system privileges lookup during user mapping (#8126) 2024-05-24 14:21:20 +03:00
GitHub Action
9cb1165b8b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-23 20:14:40 +00:00
Alexander Peshkov
7a4bbedf31
Fix for #8077: Error "Too many recursion levels" does not stop execuition of code that uses ON DISCONNECT trigger (PR#8119)
Co-authored-by: Vlad Khorsun <hvlad@users.sourceforge.net>
2024-05-23 12:54:00 +03:00
GitHub Action
995dd02b3a increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-21 20:14:50 +00:00
Adriano dos Santos Fernandes
f94343e00e Fix #8123 - Procedure manipulation can lead to wrong dependencies removal. 2024-05-20 22:09:42 -03:00
GitHub Action
bf6c467fdf increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-18 20:14:00 +00:00
Adriano dos Santos Fernandes
d3ccbb4d80
Fiz tzdata-update workflow. 2024-05-18 13:47:55 -03:00
GitHub Action
eab064ad72 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-17 20:14:29 +00:00
Adriano dos Santos Fernandes
9578dd0d5c
Try avoiding new git security measure 2024-05-17 08:29:57 -03:00
GitHub Action
8dd6ee2f88 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-16 20:13:32 +00:00
c952682135
Fix debug build failure with assertion in CRT (#8121) 2024-05-16 19:28:09 +03:00
GitHub Action
d3adce137d increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-15 20:15:18 +00:00
Dmitry Kovalenko
02ef0c8d43
Fix for issue #8108 [frontported from FB4] (#8118)
Server will use "stable" implementation of UCNV_FROM_U_CALLBACK_STOP function to provide one behaviour for built-in charset and ICU-charset when source unicode-string contains "ignorable" symbols.

It will always produces translation error.

This patch restores a behaviour of FB2.1-FB3 for "ignorable" symbols.

---
ATTENTION: These changes were not tested in a master tree (only in FB4).
2024-05-15 07:52:22 -03:00
Vlad Khorsun
ce2687bb36 Fixed bug #8110 : Firebird 5 crash On Android API level 34 2024-05-15 10:43:10 +03:00
Adriano dos Santos Fernandes
639d1fab9a Fix #8112 - Error isc_read_only_trans (335544361) should report SQLSTATE 25006. 2024-05-14 21:46:58 -03:00
GitHub Action
2e3e0a298b increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-14 20:15:31 +00:00
Vlad Khorsun
dd2d281dc7
Merge pull request #8102 from aafemt/issue8101
Fix for #8101 : Firebird crashes if a plugin factory returns nullptr and no error in status
2024-05-14 20:19:02 +03:00
Vlad Khorsun
35a4493449 This should fix bug #8114 : Segfault in connections pool during server shutdown
All checks were successful
continuous-integration/drone Build is passing
2024-05-14 11:41:54 +03:00
GitHub Action
e1ec4f1b6c increment build number
Some checks failed
continuous-integration/drone/push Build is failing
2024-05-08 20:13:31 +00:00
Vlad Khorsun
55aa06ac27 Merge pull request #8106 from FirebirdSQL/work/gh-8105
Fix for #8105:  Master database could miss replication segments on Windows Classic Server
2024-05-08 17:16:15 +03:00
AlexPeshkoff
8cca3361e2 Added missing privilege to doc 2024-05-08 16:59:06 +03:00
GitHub Action
9d7de0b016 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2024-05-07 20:11:36 +00:00
Adriano dos Santos Fernandes
17b007d14f Fix #8100 - The isc_array_lookup_bounds function returns invalid values for low and high array bounds.
All checks were successful
continuous-integration/drone Build is passing
2024-05-07 08:39:10 -03:00
GitHub Action
154a09a81c increment build number
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2024-05-06 20:13:21 +00:00
Vlad Khorsun
ffd3ec003c Improvement #8104 : Inefficient evaluation of expressions like rdb$db_key <= ? after mass delete 2024-05-06 15:20:38 +03:00
cf1cddc613 Fix for #8101 2024-05-05 17:29:09 +02:00
GitHub Action
b49d832c67 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-02 20:14:11 +00:00
Vlad Khorsun
70c6d2b00f Make bcb_flags atomic to avoid rare but still possible race condition 2024-05-02 17:05:27 +03:00
Dmitry Yemanov
96dbef9cb3 This should fix #8086: IN predicate with string-type elements is evaluated wrongly against a numeric field 2024-05-02 14:35:25 +03:00
GitHub Action
e62473a83e increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-29 20:13:41 +00:00
Vlad Khorsun
ba19922112
Merge pull request #8098 from FirebirdSQL/work/gh-8010
Implement #8010 : Remove gfix -cache option
2024-04-29 16:38:27 +03:00
Vlad Khorsun
85168ea75e Removed usage of deprecated items. 2024-04-29 15:23:21 +03:00
GitHub Action
0bcba47fe3 increment build number
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-28 20:13:20 +00:00
Vlad Khorsun
a9b806a622
Merge pull request #8097 from FirebirdSQL/work/gh-8066
Implement #8066 : Make protocol schemes case-insensitive.
2024-04-28 22:47:18 +03:00
Vlad Khorsun
c9babd4703 Implement #8010 : Remove gfix -cache option 2024-04-28 14:07:44 +03:00