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

48360 Commits

Author SHA1 Message Date
firebirds
100421eec1 increment build number 2020-02-26 00:06:00 +00:00
hvlad
6aa0609aa7 Fixed bug CORE-6253 : Crash via locked fb_lock file 2020-02-25 12:51:48 +02:00
firebirds
8d56515fd7 increment build number 2020-02-24 00:06:08 +00:00
hvlad
9a25464cbe Fixed bug CORE-6252 : UNIQUE CONSTRAINT violation 2020-02-23 22:31:05 +02:00
firebirds
59d0db1d2f increment build number 2020-02-22 00:06:03 +00:00
Adriano dos Santos Fernandes
1f13d17349 Postfix for CORE-6250 - Signature mismatch when creating package body on identical packaged procedure header. 2020-02-21 16:17:54 +00:00
faserg1
b28882eadf Fix alpine build 2020-02-21 14:47:21 +03:00
firebirds
2288797c75 increment build number 2020-02-21 00:06:04 +00:00
hvlad
b205e049e0 Fixed bug CORE-6254 : AV in engine when using SET TRANSACTION and ON TRANSACTION START trigger uses EXECUTE STATEMENT against current transaction 2020-02-20 18:39:30 +02:00
firebirds
4a4623ef62 increment build number 2020-02-20 00:06:26 +00:00
Adriano dos Santos Fernandes
2d6a2b6989 Fixed CORE-6251 - Regression: crash when built-in function LEFT() or RIGHT() missed 2nd argument (number of characters to be taken). 2020-02-19 15:18:29 +00:00
Adriano dos Santos Fernandes
7b21d3b193 Fixed CORE-6250 - Signature mismatch when creating package body on identical packaged procedure header. 2020-02-19 01:24:27 +00:00
firebirds
ed52c247fe increment build number 2020-02-19 00:06:07 +00:00
hvlad
8e5034c957 This should fix Linux build 2020-02-19 01:54:43 +02:00
hvlad
bef4e5ffad Backport new feature CORE-4933 : Add better transaction control to isql 2020-02-18 23:47:09 +02:00
firebirds
b296cb2bff increment build number 2020-02-09 00:05:49 +00:00
firebirds
b22778dd18 increment build number 2020-02-08 00:05:53 +00:00
Ilya Eremin
9d3f0822e6 SQUADFORMAT macro is used for SINT64 in printf() format string 2020-02-07 18:57:47 +03:00
Ilya Eremin
094969dcdf Fixed bug when string argument of status is destroyed before raise() call 2020-02-07 18:57:47 +03:00
Ilya Eremin
52ab84ed6d Fixed CORE-6110: 64-bit transaction IDs are not stored properly in status vector
Arg::Str is used instead of Arg::Num for isc_concurrent_transaction, isc_rec_in_limbo, isc_tra_state error messages because transaction number is 64-bit signed integer.
2020-02-07 18:57:47 +03:00
Dmitry Yemanov
15e2a9af15 This should fix empty routine names reported during DROP operations 2020-02-07 10:43:36 +03:00
firebirds
741488aaf4 increment build number 2020-02-07 00:06:05 +00:00
Dmitry Yemanov
dbd9b09fb0 This should fix CORE-6216: request size limit exceeded when selecting from a table with large number of indicies 2020-02-06 19:20:17 +03:00
Dmitry Yemanov
a332d8191c One more fix for possible hangs inside the monotoring shmem code 2020-02-06 16:10:21 +03:00
firebirds
db653c47d8 increment build number 2020-02-01 00:05:48 +00:00
Alexander Peshkov
9e1109cbd8
Merge pull request #255 from FirebirdSQL/SrpPerf3
Backported CORE-6237: Fixed performance issue with SRP plugin (added connections cache)
2020-01-31 15:25:25 +03:00
firebirds
cb5c7f3961 increment build number 2020-01-30 00:06:21 +00:00
Adriano dos Santos Fernandes
1d5f6b4d55 Fix misleading error message about CORE-5802.
Actual fix for the problem is not possible in v3.
2020-01-29 15:57:33 +00:00
AlexPeshkoff
485d302bdd Backported CORE-6237: Performance issue - security database connections cache in SRP plugin 2020-01-24 19:03:52 +03:00
firebirds
c2ea95ed5e increment build number 2020-01-21 00:05:42 +00:00
Dmitry Yemanov
2ca20610ec Raised the version number 2020-01-20 15:19:15 +03:00
Adriano dos Santos Fernandes
73287e3d62 Fixed CORE-6116 - The Metadata script extracted using ISQL of a database restored from
a Firebird 2.5.9 Backup is invalid/incorrect when table has COMPUTED BY field.
2020-01-19 23:09:22 -03:00
Adriano dos Santos Fernandes
778542d122 Backport fix for CORE-5862 - Varchar computed column without explicit type does not populate RDB$CHARACTER_LENGTH. 2020-01-19 23:03:48 -03:00
firebirds
b4a41ce8c8 increment build number 2020-01-18 00:05:38 +00:00
hvlad
839c9f6b85 Fixed bug CORE-6231 : access violation on shutdown of xnet connection to local database when events have been registered 2020-01-17 15:14:53 +02:00
firebirds
499864a16a increment build number 2020-01-15 00:05:24 +00:00
AlexPeshkoff
2ce4f72752 Backported CORE-6227: isc_info_svc_user_dbpath always returns alias of main security database 2020-01-14 17:13:23 +03:00
firebirds
118018b52d increment build number 2020-01-14 00:05:41 +00:00
AlexPeshkoff
91c99bd43f Backported CORE-2251: gbak doesn't return error code 2020-01-13 20:24:12 +03:00
Kovalenko Dmitry
63f95ea838 Correction of RefPtr::assign
When RefPtr::assign returns to caller it (object) may be already destroyed. As result "return ptr" will access (read 'ptr' member) the destroyed object.

The correct code - 'return p;'

Note: usually smart pointers do not return internal/raw pointers. They return reference to himself.
2020-01-13 19:15:33 +03:00
AlexPeshkoff
c6df8f4487 Backported CORE-6208: Grant lost in security.db after backup/restore cycle 2020-01-13 17:30:01 +03:00
AlexPeshkoff
9fdd0d36d6 Make firebird engine use classic mode during boot build 2020-01-13 17:10:38 +03:00
AlexPeshkoff
e126a21a7c Disable simultaneous access to read-only database from multiple processes in SS mode 2020-01-13 17:10:26 +03:00
firebirds
9bc1c60234 increment build number 2020-01-13 00:06:02 +00:00
Dmitry Yemanov
76e4f0838f Avoid unnecessary operations in the destructor. This also prevents possible hangs in Classic builds. 2020-01-12 10:38:44 +03:00
firebirds
0e00467dbf increment build number 2020-01-11 00:05:22 +00:00
AlexPeshkoff
67dcc12ae8 Backported CORE-6217: Wrong work with pointer: delete ptr; ptr=new ; 2020-01-10 14:11:36 +03:00
AlexPeshkoff
d27a422c63 Backported CORE-6221: Incorrect (throw-based) allocFunc for zlib 2020-01-10 13:59:43 +03:00
firebirds
0c14ba9d3d increment build number 2020-01-07 00:05:58 +00:00
firebirds
de9264cf65 increment build number 2020-01-04 00:05:33 +00:00
firebirds
c511f35f16 increment build number 2020-01-02 00:05:39 +00:00
firebirds
28457cf492 increment build number 2019-12-23 00:05:43 +00:00
Dmitry Yemanov
4ddc81f86b This should fix regression for test core_0053.fbt 2019-12-22 11:34:52 +03:00
firebirds
85f1788d95 increment build number 2019-12-21 00:06:01 +00:00
Dmitry Yemanov
160ec3901b Fixed dumb mistake in my recent commit 2019-12-20 12:39:17 +03:00
Dmitry Yemanov
f7e7c513a1 Minor correction for Vlad's solution to CORE-4680 2019-12-20 12:39:17 +03:00
firebirds
c785afe4c4 increment build number 2019-12-17 00:06:11 +00:00
Dmitry Yemanov
2294d6573d Fixed races during shmem reattaching 2019-12-16 18:50:59 +03:00
Dmitry Yemanov
6c262aa30a Reworked my recent optimizer patch 2019-12-16 18:50:59 +03:00
firebirds
2a7fc5f5b0 increment build number 2019-12-14 00:05:43 +00:00
Dmitry Yemanov
92e2f4d66a Attempted to fix the optimizer regression related to sorting vs compound indices 2019-12-13 10:29:57 +03:00
Dmitry Yemanov
6cae06628c Cast the parameters to match the API declaration. This removes warnings in the generated code. 2019-12-13 10:29:57 +03:00
Dmitry Yemanov
d0353a8972 Fixed inconsistency between attachment/transaction states and their request states 2019-12-13 10:29:57 +03:00
firebirds
f62c4f5e5f increment build number 2019-12-12 00:06:28 +00:00
hvlad
97131a52d7 Fixed bug CORE-6204 : FB crash because TraceSvcJrd::checkPrivileges can pass NULL in 'alias' 2019-12-11 20:56:19 +02:00
firebirds
cc614c3a91 increment build number 2019-12-11 00:09:02 +00:00
AlexPeshkoff
5cc9880778 Backported CORE-6141: fbsvcmgr action_repair rpr_list_limbo_trans does not show list of transactions in LIMBO state 2019-12-10 19:42:17 +03:00
firebirds
5bbc7d2ad3 increment build number 2019-12-10 00:07:14 +00:00
hvlad
89243337e6 Let logAndDie() call abort() on all platforms.
It prevent hung when process exits (instead of aborts) and tries to release resources.
2019-12-09 13:59:29 +02:00
firebirds
e157266d52 increment build number 2019-12-08 00:05:56 +00:00
hvlad
d678801a85 Backport addition for CORE-4463:
Avoid handle leak after killing hung child process.
Print child's stderr after child is gone to not loose very last childs output.
2019-12-07 20:04:04 +02:00
firebirds
a0774ed7a3 increment build number 2019-12-07 00:05:28 +00:00
AlexPeshkoff
176ab0e64f Backported CORE-6203: "Error reading data from the connection" is raised sometimes when using non-default authentication plugin 2019-12-06 18:26:35 +03:00
Vlad Khorsun
f165f6f996
Merge pull request #239 from FirebirdSQL/work/core-4463
Sub-task CORE-4463: Windows implementation for CORE-4462 (Make it pos…
2019-12-06 12:58:20 +02:00
hvlad
ec0d1432eb Better name for print_child_error() method 2019-12-06 11:49:27 +02:00
Andrey Kravchenko
fc67e18131 Fix deleted memory use in optimizer (#242)
In function gen_retrieval (jrd/opt.cpp) created OptimizerRetrieval and
call getInversion, where created InversionCandidateList and after
analyzeNavigation variable navigationCandidate linked to item of list.
After clean up the list in function gen_retrieval call getNavigation
where using variable navigationCandidate.
2019-12-06 10:18:42 +03:00
hvlad
c2cfa78241 Prevent child process hung if it writes too much data to the pipe and overflow the pipe buffer.
Preserve child eol's when print child stderr data.
Try to distinguish case when child's stdout closed abnormally.
2019-12-05 12:34:35 +02:00
firebirds
b85a307334 increment build number 2019-12-04 00:05:25 +00:00
Adriano dos Santos Fernandes
5791d8fa17
Merge pull request #238 from FirebirdSQL/work/v3-github-actions
Add Travis MacOS build, GitHub Actions MacOS/Windows build and adjust MacOS build to be (almost) relocatable.

While MacOS people seems to be ok with fixed locations for applications and libraries, this complicates a lot the (post)
build process, needing to change each id and rpaths in a very error prone process.

Relocatable binaries makes this a lot easier, but unfortunately "restricted" (chmod +s, like firebird executable)
programs cannot use @loader_path or @executable_path in its rpath.

So the solution has to make internal libraries relocatable and make rpath of firebird fixed. Also, as the ecosystem
seems to use fixed path, the id of fbclient.dylib has set to its fixed path.

Also MacOS post build makefile has adjusted to allow creation of packages for the debug build.

The MacOS build could still be improved with some scripts to build ICU (instead of done directly in the CI scripts,
but I leave that for now) and copies its files to our lib path. However situation seems to be better than before in
relation to ICU and TomMath.

Note: Linux build is not working in GitHub Actions. It segfaults when running (exiting) utilities.
I had this problem lot's of time in the past, maybe it's not completely fixed in v3.
2019-12-03 13:11:05 -03:00
hvlad
f219283b72 Sub-task CORE-4463: Windows implementation for CORE-4462 (Make it possible to restore compressed .nbk files without explicitly decompressing them) 2019-12-02 13:03:58 +02:00
firebirds
e66ea16254 increment build number 2019-11-28 00:04:50 +00:00
Roman Simakov
74f4810822 Backport of the fix from the master branch: Now CREATE FUNCTION/PROCEDURE inside CREATE PACKAGE does not require CREATE FUNCTION/PROCEDURE privilege
It's not really necessary since there are no packages in 3.0 but the
patch fixes TDBB_trusted_ddl flag reset. So let it be.
2019-11-27 17:50:20 +03:00
firebirds
ba18366723 increment build number 2019-11-27 00:04:34 +00:00
Adriano dos Santos Fernandes
9ed0e28b09 Add Travis MacOS build, GitHub Actions MacOS/Windows build and adjust MacOS build to be (almost) relocatable.
While MacOS people seems to be ok with fixed locations for applications and libraries, this complicates a lot the (post)
build process, needing to change each id and rpaths in a very error prone process.

Relocatable binaries makes this a lot easier, but unfortunately "restricted" (chmod +s, like firebird executable)
programs cannot use @loader_path or @executable_path in its rpath.

So the solution has to make internal libraries relocatable and make rpath of firebird fixed. Also, as the ecosystem
seems to use fixed path, the id of fbclient.dylib has set to its fixed path.

Also MacOS post build makefile has adjusted to allow creation of packages for the debug build.

The MacOS build could still be improved with some scripts to build ICU (instead of done directly in the CI scripts,
but I leave that for now) and copies its files to our lib path. However situation seems to be better than before in
relation to ICU and TomMath.

Note: Linux build is not working in GitHub Actions. It segfaults when running (exiting) utilities.
I had this problem lot's of time in the past, maybe it's not completely fixed in v3.
2019-11-26 13:11:55 -03:00
Dmitry Starodubov
78510edbf2 Fixed CORE-6198: Wrong error checking for pread / pwrite calls 2019-11-26 15:21:19 +03:00
firebirds
973991d726 increment build number 2019-11-25 00:04:53 +00:00
Adriano dos Santos Fernandes
db635c9dcd Fix CORE-6197 - Memory leak in INET_connect(). 2019-11-24 20:25:21 -03:00
firebirds
64a1ba948e increment build number 2019-11-14 00:07:04 +00:00
hvlad
62ef3c6edf MSVC declare uintXXX_t types at stdint.h 2019-11-13 19:19:25 +02:00
Adriano dos Santos Fernandes
9007a085b1 Try to fix VS 2015 build. 2019-11-13 13:01:56 -03:00
Adriano dos Santos Fernandes
21cdc0a79f Fixed CORE-5902 - Add Firebird Event fails with error (#232)
* Fixed CORE-5902 - Add Firebird Event fails with error
"While isc_que_events - Failed to establish a secondary connection for event processing".
2019-11-13 12:11:28 -03:00
firebirds
83098ce6eb increment build number 2019-11-07 00:04:44 +00:00
hvlad
1c13dbbe45 Fixed bug CORE-6182 : ExtConnPoolLifeTime acts as countdown for activity in MOST RECENT database (of several) rather then separate for each of used databases 2019-11-06 16:18:43 +02:00
firebirds
437e5f2c4c increment build number 2019-10-30 00:05:01 +00:00
Dmitry Yemanov
c05df456f9 Fixed CORE-6171: No current record for fetch operation with queries with aggregated subselect 2019-10-29 14:48:50 +03:00
firebirds
e9c89ec6da increment build number 2019-10-28 00:04:02 +00:00
Dmitry Yemanov
5c2579eefb Simplification as suggested by Adriano 2019-10-27 09:26:07 +03:00
firebirds
fb320be12c increment build number 2019-10-26 00:04:39 +00:00
Dmitry Yemanov
1304b312ad Fixed races during attach/detach to the monitoring shared file (similarly to how it was done for other shmem files) 2019-10-25 14:40:27 +03:00
firebirds
8bd2339b41 increment build number 2019-10-20 00:04:38 +00:00
Alex Peshkoff
c3aea14d1d Backported CORE-6163: Generator pages are not encrypted 2019-10-19 14:49:32 +02:00
firebirds
23bddfe706 increment build number 2019-10-12 00:04:36 +00:00
AlexPeshkoff
66742f8849 Backported CORE-6000: gbak issues "Your user name and password are not defined" when command switch "-fe(tch_password) ..." is specified when run as service 2019-10-11 19:59:08 +03:00
firebirds
2a33ed93c7 increment build number 2019-10-02 00:05:05 +00:00
firebirds
a0a2dc18df increment build number 2019-10-01 00:04:22 +00:00
hvlad
25148074f6 This should fix double close of srcBlob if extBlob->close() failed 2019-09-30 14:43:11 +03:00
hvlad
6f96daf168 This should fix broken LRU pending chain 2019-09-30 14:36:36 +03:00
hvlad
53c0bd7664 Fixed bug CORE-6150 : Bugcheck when PK\UK\FK constraint check read record already marked as damaged 2019-09-30 14:36:12 +03:00
firebirds
738e3de1cf increment build number 2019-09-20 00:04:28 +00:00
Ilya Eremin
eb31af0f38 Fixed CORE-6144: Inconsistent behaviour of the NEW context variable in AFTER UPDATE OR DELETE triggers (#225)
* Fixed CORE-6144: Inconsistent behaviour of the NEW context variable in AFTER UPDATE OR DELETE triggers

* MET_current() is used to get relation current format
2019-09-19 09:34:56 +03:00
firebirds
4d001c9e1c increment build number 2019-09-15 00:04:04 +00:00
hvlad
7e70c013ee Fixed bug CORE-6138 : Inconsistent behavior regarding visibility of master record on detail inserts
Dmitry, please review
2019-09-14 14:25:17 +03:00
firebirds
5d64979bdf increment build number 2019-09-14 00:04:24 +00:00
Alex Peshkoff
cdbb04dd57 Backported CORE-6143: Error 'Multiple maps found for ...' is raised in not appropriate case 2019-09-13 20:31:50 +03:00
hvlad
2c7fcdb993 Port forward fix for bug CORE-6142 : Error "connection lost to database" could happen when application creates few local attachments (using XNET) simultaneously 2019-09-13 11:54:09 +03:00
firebirds
535b2a3add increment build number 2019-09-06 00:04:42 +00:00
hvlad
83396d5b19 Fixed bug CORE-6137 : Server crashes when it run SQL 2019-09-05 22:08:05 +03:00
Alex Peshkoff
d8f449d1a2 An attempt to fix CORE-6134: Win_Sspi in the list of auth plugins leads message about failed login to be changed (from 'Your user name and password are not defined...' to 'Missing security context ...') 2019-09-05 16:56:32 +03:00
firebirds
874bdb7337 increment build number 2019-09-04 00:04:18 +00:00
Adriano dos Santos Fernandes
47f0659a1f Fix usage of C++11 in v3. 2019-09-03 13:34:30 -03:00
Adriano dos Santos Fernandes
da7a3cc554 Fixed CORE-6108 - Regression: FB3 throws "Datatypes are not comparable in expression" in procedure parameters. 2019-09-03 12:48:15 -03:00
Adriano dos Santos Fernandes
e98f05fe70 Fixed CORE-6087 - Problem with casting within UNION. 2019-09-03 12:20:39 -03:00
Adriano dos Santos Fernandes
04deca31dd Fix CORE-6068 - Server hangs when compiling big package with error. 2019-09-03 12:15:23 -03:00
firebirds
0a7f078b93 increment build number 2019-08-14 00:04:10 +00:00
firebirds
367e008865 increment build number 2019-07-24 00:04:24 +00:00
Dmitry Yemanov
b3b57d39b6 Backport fixed diagnostics 2019-07-23 10:30:04 +03:00
firebirds
90511d7074 increment build number 2019-07-21 00:04:16 +00:00
Dmitry Yemanov
b63c2d933f Update generated .pas file 2019-07-20 11:52:48 +03:00
Dmitry Yemanov
64487b7a10 Make indentation consistent 2019-07-20 11:52:48 +03:00
Dmitry Yemanov
4280f2b704 Fixed CORE-6104: incorrect erroris thrown when an embedded user does not have SELECT permissions 2019-07-20 11:52:48 +03:00
firebirds
eb46a8dd7e increment build number 2019-07-13 00:04:25 +00:00
Dmitry Yemanov
7591e316ee This should fix CORE-6097: Connection does not see itself in the MON 2019-07-12 11:26:52 +03:00
hvlad
c77d381d5c Improvement CORE-6095 : Extend trace record for COMMIT/ROLLBACK RETAINING to allow chaining of transaction ids 2019-07-12 10:56:59 +03:00
firebirds
a0c3911232 increment build number 2019-07-11 00:04:22 +00:00
Alex Peshkoff
eae0235e0e Backported CORE-5784: Lock folder inizialization is not multi-process safe 2019-07-10 18:33:40 +03:00
firebirds
6ff6a60df9 increment build number 2019-07-09 00:04:37 +00:00
firebirds
0091e77d83 increment build number 2019-07-06 00:04:28 +00:00
Alex Peshkoff
d9481dbe43 Authentication block, received by client plugin from engine, might contain trash 2019-07-05 13:58:04 +03:00
firebirds
5bb27cc07f increment build number 2019-07-04 00:04:26 +00:00
firebirds
68f3083f26 increment build number 2019-07-02 00:04:44 +00:00
Alex Peshkoff
f6334a00cd Postfix for CORE-6091, thanks to Vlad 2019-07-01 20:07:32 +03:00
Alex Peshkoff
b02b4d6b14 Fixed CORE-6091: Errors when processing correct SQL statements in engine12 provider loaded by FB4 server 2019-07-01 19:44:23 +03:00
firebirds
f02adf035d increment build number 2019-07-01 00:04:42 +00:00
Dmitry Yemanov
2e1f3f82c5 Rework bugfix for CORE-5600 to avoid regression CORE-6089 2019-06-30 21:05:47 +03:00
Dmitry Yemanov
27ae588920 This should fix CORE-6090: BLOB fields may be suddenly set to NULLs during UPDATE after a table format change 2019-06-30 21:05:47 +03:00
firebirds
c4782d17c0 increment build number 2019-06-29 00:04:44 +00:00
Alex Peshkoff
2d233da36a Fix for CORE-6072 - make firebird always work with security database from databases.conf 2019-06-28 18:49:28 +03:00
Alex Peshkoff
5ba7e2f420 Avoid unneeded cast 2019-06-28 18:25:11 +03:00
Alex Peshkoff
326b546844 Partial fix for CORE-6072 - reworked potentially buggy approach when adding different kind of strings to the clumplet 2019-06-28 18:23:52 +03:00
Alex Peshkoff
0ed7a468dd Partial fix for CORE-6072 - use configured providers internally (except loopback) 2019-06-27 14:11:28 +03:00
firebirds
b7aacb82d8 increment build number 2019-06-24 00:04:02 +00:00
Dmitry Yemanov
6310760f52 Fixed CORE-6086, thanks to Vlad 2019-06-23 08:09:05 +03:00
firebirds
9ecd8515f5 increment build number 2019-06-18 00:04:29 +00:00
Alex Peshkoff
8110218943 Backported CORE-6078: Permissions for create or alter statements are not checked 2019-06-17 18:07:59 +03:00
firebirds
8d7b142cc8 increment build number 2019-06-07 00:04:15 +00:00
hvlad
ad6033edae Improve diagnostics of internal trace errors (see CORE-3413 and CORE-6075) 2019-06-06 13:55:56 +03:00
firebirds
f795fdc823 increment build number 2019-06-04 00:06:21 +00:00
ibprovider
40bc3c37d2 SHA2 Refactoring 2019-06-03 19:08:04 +03:00
firebirds
b0c5f20341 increment build number 2019-05-30 00:04:27 +00:00
hvlad
f8eb917717 Fixed bug CORE-6067 : Memory leak in fbclient 2019-05-29 13:57:30 +03:00
firebirds
7fdd8b69a5 increment build number 2019-05-25 00:05:22 +00:00
AlexPeshkoff
761a8f811d Postfix for CORE-5474, more generic way to check for actual library name 2019-05-24 20:02:30 +03:00
firebirds
e697710ae4 increment build number 2019-05-24 00:04:43 +00:00
Dmitry Yemanov
fd5fbf97da Update generated .pas file 2019-05-23 12:56:47 +03:00
Dmitry Yemanov
2fdcfbd790 Refactoring after PR #202 2019-05-23 12:56:03 +03:00
Dmitry Yemanov
5d51d1f418
Merge pull request #202 from ibprovider/B3_0_Release-BugFix_for_CORE5074-array_element_cset
Bug fix for CORE-5074 [B3_0]
2019-05-23 12:25:38 +03:00
Kovalenko Dmitry
632a4ebf86 Common implemetation for MAKE_desc_from_field and MAKE_desc_from_element. 2019-05-21 15:55:50 +03:00
Kovalenko Dmitry
3f17c216a7 Bug fix for CORE-5074 [B3_0]
http://tracker.firebirdsql.org/browse/CORE-5074

TODO:
 - Unificated implementation for MAKE_desc_from_field and MAKE_desc_from_element functions.
2019-05-20 15:52:56 +03:00
firebirds
0249e3a582 increment build number 2019-05-20 00:59:00 +00:00
Adriano dos Santos Fernandes
f55145fd66 Make it possible to build with VS 2017/2019 (with VS 2015 compiler installed). 2019-05-19 12:01:13 -03:00
firebirds
f902e4ec9d increment build number 2019-05-15 00:04:19 +00:00
ibprovider
450db65864 Fast bug fix for CORE-6063 [backport]. (#201)
http://tracker.firebirdsql.org/browse/CORE-6063

Server does not return result of own work (name of next auth-plugin).

TODO (for next commits).

1. Simplify a condition with call of port->extractNewKeys. See in same method below.
2019-05-14 18:29:44 +03:00
firebirds
95774e7f31 increment build number 2019-05-04 00:03:49 +00:00
firebirds
f40f093b4f increment build number 2019-04-28 00:04:24 +00:00
hvlad
a0470f9cec Addition for CORE-6043 : GTTs do not release used space
Avoid races at PAG_release\PAG_allocate
2019-04-27 18:14:54 +03:00
firebirds
dc3f54314b increment build number 2019-04-24 00:04:10 +00:00
hvlad
9847e01823 Backported fix for bug CORE-3925 : Creating self-referential FK crashes database (bug-check) whether constraint violation had place 2019-04-23 13:47:25 +03:00
firebirds
979d5c6c84 increment build number 2019-04-19 00:04:05 +00:00
AlexPeshkoff
91c2fca776 This should fix CORE-6050, wait for confirmation from user 2019-04-18 18:30:27 +03:00
firebirds
38f8a8e861 increment build number 2019-04-15 00:04:08 +00:00
AlexPeshkoff
b52874f91e Backported CORE-6038: Srp user manager sporadically creates users which can not attach 2019-04-14 21:05:08 +03:00
firebirds
897a031dd8 increment build number 2019-04-13 00:03:57 +00:00
Adriano dos Santos Fernandes
cb69325f5a Fixed CORE-6040 - Metadata script extracted using ISQL is invalid/incorrect when table has COMPUTED BY field. 2019-04-12 12:21:39 -03:00
hvlad
cd7f111363 Fixed bug CORE-6043 : GTTs do not release used space 2019-04-12 12:51:03 +03:00
firebirds
de56e55cd2 increment build number 2019-04-11 00:04:35 +00:00
AlexPeshkoff
ad190a8215 Backported CORE-6045: Segmentation fault in fbtracemgr when closing it using ctrl-C 2019-04-10 14:55:26 +03:00
firebirds
09de3e9cb0 increment build number 2019-04-10 00:04:06 +00:00
AlexPeshkoff
9d5382446f Cleanup - that long ago deprecated file was removed from OS 2019-04-09 22:33:34 +03:00
AlexPeshkoff
13d20b54f2 Backported CORE-6027: Server hang on new attachment right after trace session stop 2019-04-09 22:13:18 +03:00
firebirds
0bcf453de9 increment build number 2019-03-26 00:04:00 +00:00
AlexPeshkoff
62114070fd Backported CORE-6031: Little valgrind memory leak in isc_attach_database 2019-03-25 14:43:04 +03:00
firebirds
dc89d10f4b increment build number 2019-03-23 00:04:25 +00:00
AlexPeshkoff
1ddece969b Postfix for CORE-6028, thanks to Adriano 2019-03-22 17:55:54 +03:00
firebirds
1e62335e7f increment build number 2019-03-21 00:04:21 +00:00
AlexPeshkoff
d89fedd3f1 Backported CORE-6028: Trigger on system table restored in FB3 database and can't be deleted 2019-03-20 20:11:12 +03:00
firebirds
c797e8040e increment build number 2019-03-20 00:06:17 +00:00
Ilya Eremin
d50c4bf511 Fixed CORE-5758: Database is corrupted when conflicting "starting at page" values is specified for secondary files (#141)
* Fixed issue: Database is corrupted when conflicting "starting at page" values is specified for secondary files

* Raise error when conflicting "starting at page" values is specified for secondary database files

* isc_random is used instead of the new message to avoid conflict with master
2019-03-19 11:12:45 +03:00
firebirds
86a1fc485e increment build number 2019-03-19 00:04:50 +00:00
Adriano dos Santos Fernandes
38bf5ff754 Fixed CORE-6026 - Alignment issue with FB_MESSAGE C++ macro
(as well UDR macros) and BIGINT/DECFLOAT types in Linux 32-bits.
2019-03-18 12:45:58 -03:00
Roman Simakov
1dfb1d2095 Backport of fixed CORE-5861: GRANT OPTION is not checked for new object.
Also now GRANT OPTION can be checked for roles too.
2019-03-18 18:19:50 +03:00
firebirds
d41875903e increment build number 2019-03-03 00:03:53 +00:00
firebirds
21052a6d01 increment build number 2019-03-02 00:04:02 +00:00
AlexPeshkoff
a4c886ab47 Backported CORE-6015: Segfault when using expression index with complex expression 2019-03-01 13:00:13 +03:00
firebirds
5151ead91a increment build number 2019-02-26 00:04:06 +00:00
AlexPeshkoff
c9ef679f51 Partially rolled back my last commit 2019-02-25 17:34:48 +03:00
firebirds
3806ae5650 increment build number 2019-02-23 00:04:03 +00:00
AlexPeshkoff
8e55180df7 Backported CORE-6009: I/O error during "open" operation for file "/tmp/firebird/fb_trace_*" in firebird.log 2019-02-22 19:54:59 +03:00
firebirds
f109188af3 increment build number 2019-02-22 00:03:58 +00:00
KarloX2
467708b2a5 Backported CORE-6004
Don't assign new socket handle becore socket is connected
2019-02-21 15:44:25 +01:00
KarloX2
8ef3d6c979 Backported CORE-6004
Use correct definition for missing socket value
2019-02-21 14:23:51 +01:00
KarloX2
f78ddaa064 Backported CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option 2019-02-21 11:53:33 +01:00
firebirds
51e28472f7 increment build number 2019-02-02 00:04:21 +00:00
Adriano dos Santos Fernandes
c53cee398d Fixed CORE-5972 - External engine trigger crashing server if table have computed field. 2019-02-01 12:23:48 -02:00
firebirds
8f3e784a85 increment build number 2019-01-30 00:04:09 +00:00
hvlad
c14ddac345 Correction for my patch for CORE-5995 2019-01-29 21:38:33 +02:00
hvlad
85fd7bdd44 Fixed bug CORE-5995 : Creator user name is empty in user trace sessions 2019-01-29 12:26:00 +02:00
firebirds
17642e73fc increment build number 2019-01-26 00:04:31 +00:00
hvlad
82e965587c Fixed bug CORE-5993 : When creation of audit log file fails, there is no error message in firebird.log 2019-01-25 12:28:14 +02:00
firebirds
9c032616da increment build number 2019-01-25 00:04:02 +00:00
hvlad
c6e0b9c6d1 Fixed bug CORE-5991 : Trace could not work correctly with quoted file names in trace configurations 2019-01-24 12:10:03 +02:00
firebirds
3a25e9e13b increment build number 2019-01-23 00:04:32 +00:00
AlexPeshkoff
ee1881e55e Backported CORE-5985: Regression: ROLE does not passed in ES/EDS (specifying it in the statement is ignored) 2019-01-22 18:10:59 +03:00
Dmitry Yemanov
9d0b1f9e0c Fixed missing monitoring for the crypt thread 2019-01-22 12:38:52 +03:00
firebirds
9d55d9c769 increment build number 2019-01-22 00:04:10 +00:00
AlexPeshkoff
9cf9d644e0 Backported fix for CORE-5982 2019-01-21 14:51:29 +03:00
firebirds
1024cce813 increment build number 2019-01-20 00:04:13 +00:00
Adriano dos Santos Fernandes
4fefe5c739 Fixed CORE-5986 - Incorrect evaluation of NULL IS [NOT] {FALSE | TRUE}. 2019-01-19 17:30:52 -02:00
firebirds
3796d9ccec increment build number 2019-01-18 00:04:25 +00:00
Dmitry Yemanov
a74130019a Attempted to fix CORE-2440, CORE-5118 and CORE-5900 together (expression indices contain NULL keys after restore). 2019-01-17 14:09:33 +03:00
Dmitry Yemanov
e5a2c6b506 Fixed the database left attached (and the engine not unloaded) after error thrown from the beginning of the attach process (e.g. due to the engine shutdown in progress) 2019-01-17 14:09:33 +03:00
firebirds
5038fa13bf increment build number 2019-01-17 00:04:05 +00:00
Dmitry Yemanov
bebba514c0 More reliable check for view vs table 2019-01-16 13:23:24 +03:00
Dmitry Yemanov
60ed79f6b0 Reworked Alex's solution for modern compilers (GCC 5/6) 2019-01-16 12:14:52 +03:00
firebirds
c2de91fa38 increment build number 2019-01-10 00:04:43 +00:00
hvlad
f8a2a3615c Ported fix for bug CORE-5980 : Firebird 2.5.6 & 25.8 server crash 2019-01-09 16:13:09 +02:00
firebirds
829628f51f increment build number 2018-12-27 00:04:00 +00:00
firebirds
0eee6616e7 increment build number 2018-12-08 00:04:19 +00:00
firebirds
4418e89a34 increment build number 2018-11-23 00:03:55 +00:00
Dmitry Yemanov
93da6eb68d This should fix CORE-5395: Invalid data type for negation (minus operator) 2018-11-22 13:23:46 +03:00
firebirds
8f4dc66a56 increment build number 2018-11-21 00:03:57 +00:00
Dmitry Yemanov
077a2a3b75 Attempt to fix CORE-5070, CORE-5795, CORE-5845, CORE-5965 with a single shot 2018-11-20 20:52:22 +03:00
firebirds
39da5222e5 increment build number 2018-11-19 00:04:07 +00:00
AlexPeshkoff
2bf6198592 Fixed CORE-5966: Slow performance when executing SQL scripts as non-SYSDBA user 2018-11-18 22:05:43 +03:00
firebirds
bf5b3aed42 increment build number 2018-11-16 00:03:52 +00:00
Dmitry Starodubov
9f3b4a492d Don't skip next plugin if previous one has not sent data (#177) 2018-11-15 17:16:45 +03:00
firebirds
15f59c383e increment build number 2018-11-14 00:04:07 +00:00
hvlad
7f5db5706e Backport fix for bug CORE-5959 : Firebird returns wrong time after changes of time zone 2018-11-13 13:49:14 +02:00
firebirds
258560520a increment build number 2018-10-31 00:03:58 +00:00
Roman Simakov
abc09c3dff Fixed CORE-5955: Unable to init binreloc with ld >= 2.31 2018-10-30 13:40:47 +03:00
firebirds
d24d59815f increment build number 2018-10-30 00:03:49 +00:00
Dmitry Yemanov
17e0ee1bd8 Fixed possible corruption of the monitoring shared data 2018-10-29 12:16:04 +03:00
firebirds
659953bac4 increment build number 2018-10-27 00:04:05 +00:00
Dmitry Yemanov
db38f8c739 Fixed CORE-5943: Server crashes preparing a query with both DISTINCT/ORDER BY and non-field expression in the select list 2018-10-26 10:32:25 +03:00
firebirds
e04eefe5ff increment build number 2018-10-26 00:03:56 +00:00
AlexPeshkoff
636841d390 Backported CORE-5741: Word "fixing" in gbak output is too scary 2018-10-25 12:31:41 +03:00
firebirds
6b9f398374 increment build number 2018-10-25 00:03:59 +00:00
AlexPeshkoff
2ce876c7bf Backported CORE-5950: Deadlock when attaching to bugchecked database 2018-10-24 17:23:20 +03:00
hvlad
83a2bec673 Fixed typo, thanks to Alex 2018-10-24 16:05:53 +03:00
hvlad
d7790dccc3 Fixed bug CORE-5949 : Bugcheck could happen when read-only database with non-zero linger is set to read-write mode 2018-10-24 15:42:07 +03:00
firebirds
0488891b49 increment build number 2018-10-23 00:03:54 +00:00
Dmitry Yemanov
e56ddf2c3f Bump minor version 2018-10-22 11:43:09 +03:00
firebirds
05038fe6f3 increment build number 2018-10-20 00:03:48 +00:00
AlexPeshkoff
a338d7a199 Backported CORE-5948: Make WIN_SSPI plugin produce keys for wirecrypt plugin 2018-10-19 20:10:23 +03:00
AlexPeshkoff
e6f525c47a Backported CORE-5639: Mapping rule using WIN_SSPI plugin: windows user group conversion to firebird role does not work 2018-10-19 17:43:09 +03:00
firebirds
02352107fe increment build number 2018-10-13 00:03:54 +00:00
Dmitry Starodubov
784c34aaf3 Use 64bit value to count records during backup/restore (#173) 2018-10-12 15:41:36 +03:00
firebirds
423fbb71c7 increment build number 2018-10-11 00:03:49 +00:00
velvet-jones
0fc4cddb65 Fixed CMake build of gpre_boot by adding LIB_dl to the link libraries (#172) 2018-10-10 12:23:18 +03:00
firebirds
6ca4e99429 increment build number 2018-10-10 00:03:49 +00:00
firebirds
7dc670044e increment build number 2018-10-09 00:03:45 +00:00
hvlad
8d9f399c5c Port forward fix for bug CORE-5936 : Firebird server segfaults in the end of database backup.
While i can't reproduce bug on v3, it will make no harm.
2018-10-08 14:13:14 +03:00
firebirds
22c4455b8c increment build number 2018-10-06 00:03:52 +00:00
AlexPeshkoff
db174c99b1 Backported CORE-5928: Make it possible for AuthClient plugin to access authentication block from DPB 2018-10-05 17:53:35 +03:00
AlexPeshkoff
d740b44c73 Backported CORE-5927: With some non-standard authentication plugins providing correct crypt key wire anyway remains not encrypted 2018-10-05 17:26:33 +03:00
AlexPeshkoff
4d2d667aab Backported CORE-5926: Attempt to create mapping with non-ascii user name which is encoded in SINGLE-BYTE codepage (win 1251) leads to '-Malformed string' message 2018-10-05 17:25:28 +03:00
AlexPeshkoff
b175b02c3e Backported CORE-5918: Memory pool statistics is not accurate 2018-10-05 17:24:42 +03:00
AlexPeshkoff
c285c2854f Backported CORE-5907: Regression: can not launch trace if its 'database' section contains regexp pattern with curvy brackets to enclose quantifier 2018-10-05 17:22:43 +03:00
AlexPeshkoff
cba7fc9f47 Code cleanup - this should fix MacOS build 2018-10-05 17:03:16 +03:00
firebirds
9686069724 increment build number 2018-10-05 00:03:46 +00:00
hvlad
d4d5a9633c Fixed bug CORE-5935 : Bugcheck 165 (cannot find tip page) 2018-10-05 00:23:55 +03:00
firebirds
cff6cf566d increment build number 2018-09-21 00:03:55 +00:00
firebirds
6d088f4539 increment build number 2018-09-19 00:03:51 +00:00
hvlad
6f56dc3146 Implement sub-task CORE-5913 : Add context variables with compression and encryption status of current connection 2018-09-18 19:47:36 +03:00
AlexPeshkoff
4df43606a2 Backported CORE-5764: Installation of Firebird 3.0.3 on SLES 12 SP3 fails with "Could not find acceptable ICU library" 2018-09-18 10:33:37 +03:00
firebirds
e8f4721bc5 increment build number 2018-09-18 00:03:55 +00:00
hvlad
6a1fbc56b2 Additional fix for bug CORE-5436 : [FB3 SC] Server hangs (under load test)
The case when main thread convert still not acquired lock when AST thread assert locks.
It leads to the error:  Fatal lock manager error: invalid lock id (0)
2018-09-17 21:00:08 +03:00
hvlad
17bc6728c0 Fixed bug CORE-5911 : Connection could hung after no activity for 60 seconds 2018-09-17 20:55:27 +03:00
firebirds
de77eb043d increment build number 2018-09-14 00:03:52 +00:00
Adriano dos Santos Fernandes
b54ff50165 Fix CORE-5905 - Inconsistencies with PSQL FUNCTION vs UDF. 2018-09-13 13:03:19 -03:00
firebirds
8d2119f463 increment build number 2018-09-13 00:03:57 +00:00
Dmitry Starodubov
9d01fb9f34 Fixed CORE-5823: No permission for SELECT access to blob field in stored procedure. And CORE-5841: No permission for SELECT access to TABLE PLG$SRP in newer snapshot. (#162)
* Fixed CORE-5823: No permission for SELECT access to blob field in stored procedure.
And CORE-5841: No permission for SELECT access to TABLE PLG$SRP in newer snapshot.

* Minor fixes

* Use temporary status vector to check access
2018-09-12 13:41:50 +03:00
firebirds
111e5e956b increment build number 2018-09-08 00:03:47 +00:00
Alex Peshkoff
6a63c3bf47 Backported CORE-5908: Enhance dynamic libraries loading related error messages 2018-09-07 17:06:04 +03:00
firebirds
2ec1e1ee08 increment build number 2018-09-06 00:03:39 +00:00
Alex Peshkoff
a9b8a972f7 Applied modified patch from Damyan fixing piped decompression 2018-09-05 18:07:11 +03:00
firebirds
4afd950ef0 increment build number 2018-09-05 00:03:44 +00:00
Alex Peshkoff
fac2555e4c Fixed warning - thanks to Adriano 2018-09-04 18:38:57 +03:00
firebirds
6f7192783d increment build number 2018-09-01 00:03:57 +00:00
Alex Peshkoff
cb9716a703 Avoid races in YObject::destroy() 2018-08-31 15:44:32 +03:00
hvlad
7da1533744 Unify memory allocation in verb_post. 2018-08-31 14:41:19 +03:00
Alex Peshkoff
7e314cbfdc This should fix memory leak when not fully initialized attachment killed by DBA 2018-08-31 12:56:13 +03:00
firebirds
e85db79085 increment build number 2018-08-31 00:03:48 +00:00
hvlad
2f04c22ca7 This should fix crash when not fully initialized attachment killed by DBA.
For example - sweep (it happens few times when running core_4337.fbt).
2018-08-30 20:38:36 +03:00
firebirds
3957866ac9 increment build number 2018-08-30 00:03:49 +00:00
Alex Peshkoff
21bdc4a60d Fixed comment, thanks to Adriano 2018-08-29 19:10:22 +03:00
Alex Peshkoff
76347ed5ca Backported CORE-5793: Error returned from DbCryptPlugin::setKey() is not shown 2018-08-29 18:54:50 +03:00
firebirds
99ed7afeef increment build number 2018-08-29 00:03:48 +00:00
Alex Peshkoff
d9fabca6be Backported CORE-5860: Support auth_plugin_list dpb/spb item from application to client 2018-08-28 18:44:24 +03:00
Alex Peshkoff
4c8c78f356 Backported CORE-5904: An attempt to create global mapping with long (> SQL identifier length) FROM field fails 2018-08-28 14:02:24 +03:00
firebirds
ea18867de5 increment build number 2018-08-28 00:03:57 +00:00
hvlad
b0ab147b27 Fixed bug CORE-5898 : ROLE not passed in EXECUTE STATEMENT ... ON EXTERNAL 2018-08-27 17:25:06 +03:00
firebirds
96b3b6fbda increment build number 2018-08-27 00:03:54 +00:00
hvlad
5af5f6abe2 This should fix a bug CORE-5902 : Add Firebird Event fails with error "While isc_que_events - Failed to establish a secondary connection for event processing." 2018-08-27 00:44:55 +03:00
firebirds
3b507ca05a increment build number 2018-08-25 00:03:50 +00:00
Alex Peshkoff
fd8e066438 Backported CORE-5886: Nbackup does not work after 32K of backups iterations 2018-08-24 18:07:37 +03:00
firebirds
720195ecc3 increment build number 2018-08-23 00:03:46 +00:00
Alex Peshkoff
9675ab2cee Backported CORE-5900: Banned during engine shutdown threads cause unwanted delays when shutting server 2018-08-22 19:16:44 +03:00
Alex Peshkoff
c14f4c8259 Backported changes in memory leaks debugging code 2018-08-22 16:35:08 +03:00
Alex Peshkoff
c68bfdbb15 Backported CORE-5899: Memory leak in GBAK code when used as service 2018-08-22 16:34:29 +03:00
firebirds
7e057c0a8c increment build number 2018-08-16 00:03:42 +00:00
Alex Peshkoff
f878c3b140 Backported CORE-5893:gbak may crash database when mixing alias with full database name 2018-08-15 16:17:06 +03:00
firebirds
7ef88cba6e increment build number 2018-08-11 00:03:48 +00:00
hvlad
a1dbdc3656 Avoid crash due to executing already unloaded code (in attachmentShutdownThread).
Probably, same trick should be used in all threads, started not by Dispatcher,
which could run after its module is unloaded concurrently. So far, it looks like
Windows specific.
2018-08-11 00:14:01 +03:00
hvlad
c83b395a40 Avoid race condition in cancel_operation() when client connection breaks immediately after op_detach.
Alex, please review.
2018-08-11 00:04:26 +03:00
hvlad
52e9d571ed Avoid race condition (with AV) when YEvents object references is released concurrently 2018-08-11 00:01:16 +03:00
hvlad
b881d2d9ec Fix incorrect reference counting for EventManager object.
It leads to the crash due to attempt to execute code (watcher_thread) after engine DLL is unloaded.
2018-08-10 23:58:47 +03:00
hvlad
3b414d0755 Avoid double delete of ThreadSync object 2018-08-10 23:56:23 +03:00
hvlad
58e88d0801 Clear events of dead process, not our own 2018-08-10 23:53:20 +03:00
Alex Peshkoff
1041ad7d20 Backported fix of segfault in special build. 2018-08-10 17:16:59 +03:00
firebirds
57a966ed42 increment build number 2018-08-07 00:03:45 +00:00
firebirds
f7477aa531 increment build number 2018-08-03 00:03:35 +00:00
Alex Peshkoff
5df4b868d8 Backported CORE-5884: Initial global mapping from srp plugin does not work 2018-08-02 19:03:03 +03:00
firebirds
6550c134bd increment build number 2018-08-01 00:03:47 +00:00
Alex Peshkoff
decb92dafd Backported CORE-5876: Provide name of udf function for "arithmetic exception, numeric overflow, or string truncation" 2018-07-31 16:09:41 +03:00
firebirds
df640d08b4 increment build number 2018-07-31 00:03:48 +00:00
Alex Peshkoff
05f4ac5741 Backported CORE-5881: Network server ignores any error that took place in KeyHolderPlugin when establishing initial callback with client 2018-07-30 14:09:59 +03:00
firebirds
b46ccc86b7 increment build number 2018-07-28 00:03:46 +00:00
Alex Peshkoff
b17e36751f Backported fix for CORE-5865: Alignment error on x86_64 2018-07-27 16:48:10 +03:00
firebirds
d92d59d93b increment build number 2018-07-27 00:03:42 +00:00
firebirds
161f6c7547 increment build number 2018-07-26 00:03:46 +00:00
hvlad
54f024a9b2 This should fix bug CORE-5844 : Firebird freeze for new connections 2018-07-26 00:53:03 +03:00
Ilya Eremin
7e3a2e419d Stop database restore with -o option when no space left on disk (#128) 2018-07-25 19:40:24 +03:00
firebirds
3eb0b2af7b increment build number 2018-07-25 00:03:49 +00:00
firebirds
fb404c42ec increment build number 2018-07-24 00:03:44 +00:00
firebirds
5218cc5fb6 increment build number 2018-07-18 00:03:45 +00:00
hvlad
c4a2b69bfd Correct condition when mapped file of monitoring data should be removed. 2018-07-17 19:05:19 +03:00
firebirds
0d4d79ecfb increment build number 2018-07-13 00:04:03 +00:00
hvlad
cf0424ed71 Fixed memory corruption found when run test bugs.5674 in Classic mode using debug build.
To reproduce, run 2 times:

with recursive
    a as(
      select 0 a from rdb$database
      union all
      select a+1 from a where a.a < 1
    )
    ,b as(
      select 1 a from c rows 1
    )
    ,c as(
      select 2 b from b rows 1
    )
select * from a;
2018-07-12 13:16:54 +03:00
firebirds
6080f56170 increment build number 2018-07-12 00:03:37 +00:00
Adriano dos Santos Fernandes
15e25b3c35 Improvement CORE-5853 - Forward-compatible expressions LOCALTIME and LOCALTIMESTAMP. 2018-07-11 13:30:14 -03:00