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

57171 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
acac7c2bf5 Add methods hasData and isEmpty to GenericMap. 2023-09-19 06:54:03 -03:00
Adriano dos Santos Fernandes
c76bdb879d Do not allow load of metadata function when blr_subfunc is used. 2023-09-19 06:54:03 -03:00
Adriano dos Santos Fernandes
20cfcef56d
Fix #7476 - Improvement on procedures/triggers to recognize changes in a domain used in COALESCE. (#7479) 2023-09-19 06:51:53 -03:00
Adriano dos Santos Fernandes
2b4db37a54 Improvement #7752 - The access path information is truncated to 255
characters in the PLG$PROF_RECORD_SOURCES table.
2023-09-18 22:28:51 -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
fc2fe39d3a
Fix #7600 - CASE statement different result compared to FB 2.5.9. (#7602) 2023-09-18 21:03:30 -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
bf72356edb Started simplification of local declarations. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
2d8f94862b Replace SFINAE by if constexpr. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
52d9f84602 Cleanup: replace newNode overloads by perfect forwarding. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
8b0a0d7e86 Cleanup: replace const by constexpr. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
0f978d3ee0 Cleanup: structured binding declarations. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
37197b61a5 Simplification to subroutines DSQL parameters handling. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
08b1f79711 Refactor SortedVector class tests. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
80b2add882 Refactor Vector class tests. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
b52b076412 Usage of delegating constructor to avoid repetition. 2023-09-18 20:27:14 -03:00
Adriano dos Santos Fernandes
8b93b87913 Add noexcept to some constructors. 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
1d858667d8 Replace FB_NELEM macro by constexpr function. 2023-09-18 20:27:13 -03:00
Adriano dos Santos Fernandes
8c57b29f1c Refactor: SelectNode dsqlPass / genBlr. 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
4a752a3ec8 Misc. 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
Adriano dos Santos Fernandes
8693554daf Fix MacOS build. 2023-09-18 20:20:38 -03:00
GitHub Action
5ce04e6a1e increment build number 2023-09-18 20:14:06 +00:00
Dmitry Yemanov
29ab3f058e Update the generated Pascal interface 2023-09-18 16:54:42 +03: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
Adriano dos Santos Fernandes
986e96fac8
SQL 2023 ANY_VALUE aggregate function. (#7617) 2023-09-18 07:51:41 -03:00
Adriano dos Santos Fernandes
fa9c6d4d3c
Fix #7715 - Alternative String Literals and multibyte (UTF8) alternatives. (#7742) 2023-09-18 07:36:12 -03:00
Adriano dos Santos Fernandes
93acbd1aef
Update allowed C++ version (#7654)
* Update allowed C++ version.

* Build examples using C++11.

* Remove pre-C++11 fallback in examples code - thanks to Alex.
2023-09-18 07:14:06 -03:00
Dmitry Yemanov
a54a3079d9 Reset buildno for v6 2023-09-18 11:37:23 +03:00
GitHub Action
4e1cc6f596 increment build number 2023-09-17 20:12:43 +00:00
Dmitry Yemanov
875f0a25a3 New release version in scripts 2023-09-17 18:29:37 +03:00
Dmitry Yemanov
3847e28a0b New version number 2023-09-17 18:18:47 +03:00
GitHub Action
4f47587a72 increment build number 2023-09-16 20:12:14 +00:00
Dmitry Yemanov
8edb65008b Update ChangeLog for RC1 2023-09-16 19:06:17 +03:00
Adriano dos Santos Fernandes
2de7e723f5
Fix problem with client-only build requiring btyacc's generated files present (#7445)
This also fixes annoying problem of incorrect dependencies build of parser.y with parallel make.
2023-09-15 22:27:52 -03:00
Adriano dos Santos Fernandes
f7ecae9dd0 Update changelog-generator. 2023-09-15 22:25:41 -03:00
GitHub Action
999002268b increment build number 2023-09-15 20:13:52 +00:00
Adriano dos Santos Fernandes
11e1fd1900 Fix warnings. 2023-09-14 23:12:58 -03:00
GitHub Action
58e4691f77 increment build number 2023-09-14 20:13:34 +00:00
Dmitry Yemanov
90d0e34adf Prepare for RC1 release 2023-09-14 21:27:56 +03:00
Dmitry Yemanov
2375c3d449 Added v5 keywords to the readme 2023-09-14 21:27:30 +03:00
Ilya Eremin
e9f399ea13
Merge pull request #7747 from red-soft-ru/fb_5_0_backout_gc_fix
Fix an issue where the garbage collection in indexes and blobs is not performed in VIO_backout
2023-09-14 10:40:54 +03:00
GitHub Action
562c19ee56 increment build number 2023-09-13 20:12:06 +00:00
Dmitry Yemanov
f239ca161f
Surface internal optimization modes (all rows vs first rows) at the SQL and configuration levels (#7405)
* Surface internal optimization modes (all rows vs first rows) at the SQL and configuration levels.
* Add session-level control over the optimization strategy
* More informative name as suggested by Adriano
* Cost-based approach for the first-rows optimization mode
2023-09-13 21:21:12 +03:00
Ilya Eremin
4974dd13f1 Fix an issue where the garbage collection in indexes and blobs is not performed in VIO_backout
The issue starts in VIO_record. There is a call record->reset(format) which clears the REC_gc_active flag by mistake. After that VIO_gc_record reuses the record which is already active.
2023-09-13 12:01:04 +03:00
Adriano dos Santos Fernandes
5b14baa37b
Fix #7700 - SKIP LOCKED returns conflict error or wait when config ReadConsistency = 0 (#7701)
* Fix #7700 - SKIP LOCKED returns conflict error or wait when config ReadConsistency = 0.

* Rename RecordLock::DONT to NONE.
2023-09-12 21:50:06 -03:00