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

55906 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
6214b12028 Fix issue reported by Pavel Zotov:
recreate table test (id int primary key)!
commit!

execute block as
begin
  execute statement 'drop table test';
  in autonomous transaction do
    execute statement ( 'insert into test values ( ? ) ') (1);
end!

commit!

Output on 5.0.0.426 (built: 18.03.2022):
========
========
(no errors, expected)

Output on 5.0.0.435 (built: 19.03.2022):
========
Statement failed, SQLSTATE = 42000
unsuccessful metadata update
-object TABLE "TEST" is in use
========
2022-03-24 08:55:07 -03:00
firebirds
5251444ef3 increment build number 2022-03-20 00:05:57 +00:00
Adriano dos Santos Fernandes
35da8f4553 Remove deprecated GitHub Actions Windows 2016 environment. 2022-03-19 15:04:02 -03:00
asfernandes
78ef42d38a Update tzdata to version 2022a. 2022-03-19 14:33:29 -03:00
firebirds
463605e093 increment build number 2022-03-19 00:06:41 +00:00
Adriano dos Santos Fernandes
652ebe49ff PoolAllocator: fix VS 2017 build. 2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
4c9fffd9b9 Compiled statement cache. 2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
0ecf1d71d5 Misc. 2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
c677ac8b5b Added copy constructor to SortedObjectsArray. 2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
f4bc127704 Add class DoublyLinkedList.
It internally uses std::list with PoolAllocator.
2022-03-18 08:17:35 -03:00
Adriano dos Santos Fernandes
4bf1b80865 Add stl-compatible allocator classes: PoolAllocator and std::allocator_traits specialization. 2022-03-18 08:17:35 -03:00
firebirds
bc26fb72fe increment build number 2022-03-18 00:11:20 +00:00
Adriano dos Santos Fernandes
71200308bb Misc. 2022-03-17 16:29:49 -03:00
Adriano dos Santos Fernandes
171cb7eebc Improvement #7093 and fix for #7094 and #7140.
- #7093 - Improve indexed lookup speed of strings when the last
keys characters are part of collated contractions.

- #7094 - Incorrect indexed lookup of strings when the last keys
characters are part of collated contractions and there is
multi-segment insensitive descending index.

- #7140 - Wrong select result in case of special sort character.
2022-03-17 16:29:49 -03:00
Adriano dos Santos Fernandes
b64bbba179 Add constructor to Array. 2022-03-17 15:33:27 -03:00
firebirds
faf2523be0 increment build number 2022-03-11 00:05:57 +00:00
Dmitry Yemanov
48f8bd4a9d This should fix #7150: Replication not restarting after network failure. Minor adjustments regarding replication startup errors 2022-03-10 06:29:07 +03:00
firebirds
68bcf9abd5 increment build number 2022-03-08 00:06:17 +00:00
Adriano dos Santos Fernandes
98ba60e763 Correction for my last commit, thanks to Vlad. 2022-03-07 09:51:23 -03:00
Adriano dos Santos Fernandes
af6a227a71 Do not checkCancelState twice when there is no contention in thread_db::reschedule().
Remove unused variable 'dbb'.
2022-03-07 09:20:37 -03:00
firebirds
167f13cbcc increment build number 2022-03-07 00:06:06 +00:00
Roman Simakov
dd174d1fe4 Reserve some constants for features Red Soft are going to merge into Firebird from RedDatabase. It keeps compatibility. 2022-03-06 20:08:10 +03:00
firebirds
be357e2d95 increment build number 2022-03-05 00:06:20 +00:00
Adriano dos Santos Fernandes
917dcd36c3 Simplify Statement::verifyAccess for internal statements. 2022-03-04 17:53:15 -03:00
Adriano dos Santos Fernandes
f1c79bde15 Unset req_in_use in EXE_release. 2022-03-04 17:53:15 -03:00
Adriano dos Santos Fernandes
b9c30aa9fa Make DeclareLocalTableNode::execute truncate the table if it already had data from a previous execution. 2022-03-04 14:54:09 -03:00
firebirds
3f55221fda increment build number 2022-03-04 00:06:19 +00:00
AlexPeshkoff
adc816bfc5 Fixed #7141: Services manager breaks long lines into 1023 bytes portions when using isc_info_svc_line in Service::query() 2022-03-03 20:07:42 +03:00
firebirds
d77baae3a3 increment build number 2022-03-02 00:06:32 +00:00
AlexPeshkoff
9814fd6145 Fixed #7139: With multiple trace sessions user may receive trace events related to engine's requests 2022-03-01 18:14:57 +03:00
firebirds
b63707d06a increment build number 2022-03-01 00:05:22 +00:00
AlexPeshkoff
44fc1289dd Fixed #7138: Problems accessing database, copied from another host. 2022-02-28 16:41:00 +03:00
7f3494c9cf Add support for testing scripted client and devinst installs
Update documentation
Fix miscellaneous bugs.
2022-02-28 13:13:56 +01:00
877a8443dd Forward port from v4 branch
Fix #6917
Fix #6943
Fix #6979
2022-02-28 12:48:58 +01:00
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