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

55974 Commits

Author SHA1 Message Date
firebirds
2b2c918ae6 increment build number 2022-02-26 00:05:26 +00:00
Dmitry Yemanov
c6ae7ff3d4 This should fix #7137: Bad plan (HASH instead of JOIN) is chosen for some inner joins 2022-02-25 11:26:13 +03:00
Dmitry Yemanov
d6179920c0 Restore the manual sorting, as qsort() sorts equal values differently across Windows and Linux 2022-02-25 11:16:47 +03:00
firebirds
1f36112fb4 increment build number 2022-02-23 00:05:21 +00:00
AlexPeshkoff
24772275b2 Improved use of shutdown error codes a little 2022-02-22 20:20:11 +03:00
Vlad Khorsun
7edd875cb5 Fixed build with MSVC 17.1
Assume _MSC_VER will be increased to be >= 2000 when\if VC CRT library get new version number in suffix.
2022-02-22 12:36:50 +02:00
Vlad Khorsun
913d17ae35 This should show value of _MSC_VER when build fails with new version of MSVC.
Note, it is not documented so far for newly released  MSVC 17.1.
2022-02-22 12:13:21 +02:00
AlexPeshkoff
2d6f2def9e Frontported fix for #7135: Firebird engine randomly fails when delivering mapping clear to other processes 2022-02-22 11:52:55 +03:00
firebirds
001fd9efb0 increment build number 2022-02-19 00:05:27 +00:00
Vlad Khorsun
f7c3c2ccd7 Front ported fix for bug #7128 : Incorrect error message with isc_sql_interprete() 2022-02-18 15:31:43 +02:00
firebirds
9ce82b1009 increment build number 2022-02-18 00:05:47 +00:00
Vlad Khorsun
b985bcafa9 This should fix bug #7134 : Firebird 4: Database page errors directly after gbak, which dissappear after some calls of gfix 2022-02-17 09:55:20 +02:00
firebirds
935df87b71 increment build number 2022-02-17 00:05:50 +00:00
Aleksei Mochalov
b1c32fa1cf Fix #7129 alter package SQL SECURITY option reset 2022-02-16 15:13:43 +03:00
Dmitry Yemanov
7485bad77b Ensure the variables are initialized before usage (even if they're only printed) 2022-02-16 12:00:05 +03:00
firebirds
87c8d493cf increment build number 2022-02-16 00:05:47 +00:00
Adriano dos Santos Fernandes
cace576208 Fix assertion creating database with trace enabled. 2022-02-15 08:22:42 -03:00
firebirds
260308264f increment build number 2022-02-14 00:05:39 +00:00
Adriano dos Santos Fernandes
98f678d4ee Rename class jrd_req to Request. 2022-02-13 10:51:30 -03:00
firebirds
d39f248c77 increment build number 2022-02-12 00:05:41 +00:00
Adriano dos Santos Fernandes
7d065f5293 Remove bad asserts. 2022-02-11 10:37:02 -03:00
firebirds
34b55060f3 increment build number 2022-02-11 00:05:40 +00:00
AlexPeshkoff
b63e509a8a This should fix assertion when loading chacha plugin on windows 2022-02-10 18:58:41 +03:00
Roman Simakov
b4be5b9ae2
Make DDL object type constants stable and extendable (#7125)
Add shift to DDL object type while restoring backup of prior version.
Rework DDL access checks. Remove unneeded constants, duplicating code.
Rename some functions to suit their purpose.
Provide a way to extent object type constants in future not changing
existing ones.
2022-02-10 12:27:43 +03:00
firebirds
13bda0c1b6 increment build number 2022-02-10 00:05:46 +00:00
Adriano dos Santos Fernandes
7ff8855317 Avoid prefix Jrd in Statement class and Statement/jrd_req accessors/variables.
Change DSQL methods accordingly prefixing things with Dsql to avoid things as
request->getRequest() and statement->getStatement().
2022-02-09 15:47:58 -03:00
Adriano dos Santos Fernandes
68783f0971 Rename src/jrd/JrdStatement.* files to Statement.* 2022-02-09 15:47:58 -03:00
Adriano dos Santos Fernandes
5c2d87004c Misc. 2022-02-09 14:29:20 -03:00
dyemanov
2b2f66c001 Fixed the filter for optimizer files. 2022-02-09 10:40:45 +03:00
Dmitry Yemanov
19f2bfdd01 Refactored the optimizer. Better debug logging. 2022-02-09 10:20:16 +03:00
Dmitry Yemanov
e9e4ad5b3a Rename/move the files before refactoring (to preserve history) 2022-02-09 10:20:16 +03:00
firebirds
7ba3b9a492 increment build number 2022-02-09 00:05:48 +00:00
AlexPeshkoff
95e3e71622 Postfixes for #7122: Invalid state of mapping cache after replacement of database 2022-02-08 15:41:19 +03:00
Adriano dos Santos Fernandes
de6ea9aa6f Misc. 2022-02-08 08:36:48 -03:00
firebirds
b103318117 increment build number 2022-02-08 00:05:48 +00:00
Adriano dos Santos Fernandes
391e7ef4fc Refactor statement and request parts so multiple DSQL requests could be created from a single compiled statement.
Pave the ground for compiled statement cache.
2022-02-07 15:52:12 -03:00
Adriano dos Santos Fernandes
1a072f43d8
Add table MON$COMPILED_STATEMENTS and columns (#7050)
Add table MON$COMPILED_STATEMENTS and columns MON$STATEMENTS.MON$COMPILED_STATEMENT_ID and MON$CALL_STACK.MON$COMPILED_STATEMENT_ID.
2022-02-06 21:41:11 -03:00
firebirds
f1447fc0c0 increment build number 2022-02-02 00:05:46 +00:00
AlexPeshkoff
a88dc50736 Fixed #7122: Invalid state of mapping cache after replacement of database 2022-02-01 19:22:50 +03:00
firebirds
b07737f5e8 increment build number 2022-02-01 00:05:35 +00:00
Dmitry Yemanov
18c3cdb11f Extra protection against lost savepoints (triggered by assertion in QA test read-consist-sttm-restart-on-update-01) 2022-01-31 19:06:10 +03:00
AlexPeshkoff
5bb2db6ea6 Fixed 2 assertions in DEV_BUILD reproted by Dmitry, dont affect releases 2022-01-31 13:21:54 +03:00
firebirds
26f08f7f2e increment build number 2022-01-31 00:05:32 +00:00
Adriano dos Santos Fernandes
3c22c23874 Improvement #4769 - Allow sub-routines to access variables/parameters
defined at the outer/parent level [CORE4449].

Remove blr_parameter3.

Comment unused blr_run_count.
2022-01-30 12:15:03 -03:00
firebirds
e443f02dd3 increment build number 2022-01-30 00:05:48 +00:00
Roman Simakov
99966caac5 Frontport fix #7087: Database downgrade via gbak may be broken (#7097)
Depricate existing published boolean attributes in 4.0.
Add length in {put/get}_boolean functions.
Add compatibility to read depricated attributes from earlier backups.
Since now to put a boolean value use just put_boolean.
Use get_boolean(X, false) to read new boolean attributes.
2022-01-29 14:30:03 +03:00
Vlad Khorsun
e3dcdafc4c Fixed bug #7119 : Database statistics service could not find existing table(s) 2022-01-29 12:25:40 +02:00
firebirds
6e9814d365 increment build number 2022-01-29 00:05:58 +00:00
AlexPeshkoff
eca0a27dc6 Postfix for #7106: Wrong detection of must-be-delimited user names: avoid bugs with single-character locales 2022-01-28 17:32:35 +03:00
Dmitry Yemanov
7d43140655 Fixed #3357 (Bad execution plan if some stream depends on multiple streams via a function) and its kissing cousin #7118 (Chained JOIN .. USING across the same column names may be optimized badly) 2022-01-28 16:09:02 +03:00