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

48215 Commits

Author SHA1 Message Date
AlexPeshkoff
c0b5230e9e Backported fix for CORE-6339: Detach server from security database when missing plugin data structures cause an error 2020-07-09 17:49:07 +03:00
AlexPeshkoff
66499fdbee Backported fix for CORE-6147: script with extracted metadata may fail on global mapping 2020-07-09 17:43:24 +03:00
firebirds
2f1694731a increment build number 2020-07-09 00:02:24 +00:00
Dmitry Yemanov
1c7e1dc67e Raised version number 2020-07-08 12:37:56 +03:00
Dmitry Yemanov
4bc5133ebe Some (limited) protection from exceptions raised from inside JRD_shutdown_database 2020-07-08 12:33:33 +03:00
firebirds
b5154afb6e increment build number 2020-07-08 00:02:22 +00:00
hvlad
a1116feb60 Additional fix for bug CORE-6253 : Crash caused by the locked fb_lock file
Retry attempts to initialize shared memory when truncation of shmem file was failed with ERROR_USER_MAPPED_FILE.
The case is when last process that holds shared memory and its initialization event was killed (or crashed) and
didn't released OS objects in correct order (event, file, memory mappings).
I.e. new process successfully creates event, correctly consider itself as initializator, but failed to truncate
file as it is still in use by old instance of memory mappings in killed\crashed process.
This prevents bugcheck in LM and abort() as consequence.
2020-07-07 16:11:39 +03:00
hvlad
f470a21801 Additional fix for bug CORE-6253 : Crash caused by the locked fb_lock file
Makes fb_lock_print in interactive mode to detect moment when there is no more attachments used same lock table.
In this case fb_lock_print stops own iterations and releases shared memory to not prevent future database attachments.
2020-07-07 15:57:24 +03:00
firebirds
8a0ca3d726 increment build number 2020-07-04 00:02:23 +00:00
AlexPeshkoff
6fe8d15b05 Backported CORE-6348: Wire compression causes freezes 2020-07-03 08:26:42 +03:00
firebirds
db14b155e6 increment build number 2020-07-03 00:02:25 +00:00
hvlad
1f67b03df8 This should fix bug CORE-6346 : New connection to the server hangs 2020-07-02 15:11:44 +03:00
firebirds
17a22c4dec increment build number 2020-07-01 00:02:35 +00:00
Adriano dos Santos Fernandes
5d961c0b9f Fixed CORE-6340 - Alternate quoting does not work on some particular cases. 2020-06-30 15:30:53 -03:00
firebirds
d54b13e1d8 increment build number 2020-06-30 00:02:26 +00:00
Adriano dos Santos Fernandes
45eecfc200 Misc. 2020-06-28 22:30:35 -03:00
firebirds
36b3f3e5ae increment build number 2020-06-26 08:30:29 +00:00
AlexPeshkoff
fb6b36b028 Backported CORE-6345: Server crashes on overflow of division result 2020-06-26 10:11:08 +03:00
firebirds
4becedeb01 increment build number 2020-06-26 00:03:59 +00:00
Dmitry Yemanov
8a837bd7fd Correction 2020-06-25 19:57:11 +03:00
Dmitry Yemanov
8b328f86de This should fix CORE-6343 2020-06-25 19:55:06 +03:00
firebirds
aab9125f5e increment build number 2020-06-24 00:05:07 +00:00
Dmitry Yemanov
650fa8a7ee Revert "CORE-6295 - Include the contents of ntrace.h in ibase.h"
This reverts commit 1390335c40.
2020-06-23 08:18:16 +03:00
firebirds
8b44338d1b increment build number 2020-06-22 00:06:04 +00:00
hvlad
07a75e3534 Move declarations into namespace, force zero-based enum as Dmitry suggested. 2020-06-20 16:16:54 +03:00
hvlad
da83f29fd1 Move public declarations from ntrace.h into firebird/Interface.h. 2020-06-20 14:34:07 +03:00
Paul Reeves
1390335c40 CORE-6295 - Include the contents of ntrace.h in ibase.h 2020-06-20 12:09:04 +02:00
firebirds
9b61ec69f8 increment build number 2020-06-20 00:05:23 +00:00
firebirds
c8a42e324b increment build number 2020-06-18 00:05:47 +00:00
AlexPeshkoff
4e4ce2dd2b Backported CORE-6329: GBAK with service_mgr and WinSSPI authentication for Windows SYSTEM user producing error in clumplet API 2020-06-17 19:43:53 +03:00
hvlad
85e5b9b740 Fixed one more case of bug CORE-5087 : Database shutdown can cause server crash if multiple attachments run EXECUTE STATEMENT 2020-06-17 17:19:38 +03:00
firebirds
4d10716dca increment build number 2020-06-16 00:05:51 +00:00
AlexPeshkoff
165347e167 Backported CORE-6334: Missing relocation support 2020-06-15 20:08:03 +03:00
firebirds
51046dad9b increment build number 2020-06-15 00:05:55 +00:00
hvlad
3ea84bf616 Fixed random conversion errors (FBT test "functional.gtcs.cast-datatypes" failed sometimes). 2020-06-13 14:19:38 +03:00
firebirds
6047b68edd increment build number 2020-06-12 00:05:35 +00:00
Adriano dos Santos Fernandes
8f782971db Fixed CORE-6331 - Memory leak with some statements and expressions. 2020-06-11 19:33:21 -03:00
hvlad
4668e67f1c Support for blr_marks BLR code from FB4. It allows to ignore blr_marks in case of its presence in downgraded database. 2020-06-11 12:36:01 +03:00
hvlad
62d9c1f19c This should fix unregistered bug : connection timeout doesn't work for INET if remote side is not answered on op_connect packet 2020-06-11 10:59:40 +03:00
hvlad
04452e32b9 Backport fix for bug CORE-6296 : Many connections results in poor performance 2020-06-11 10:58:44 +03:00
hvlad
fdf758099c Fixed bug CORE-6319 : NBACKUP locks db file on error 2020-06-11 10:49:21 +03:00
hvlad
aedc224f5f Fixed assert in Statement::freeClientData(). 2020-06-11 10:45:43 +03:00
firebirds
0685997041 increment build number 2020-06-09 00:05:51 +00:00
firebirds
678d4bcabd increment build number 2020-06-05 00:06:18 +00:00
Dmitry Yemanov
b49ecc87a8 Postfix, thanks to Adriano 2020-06-04 09:36:11 +03:00
firebirds
9b5bf478bc increment build number 2020-06-04 00:05:54 +00:00
dyemanov
64bb799e5c This should fix CORE-6323: File-system ID may be duplicated among databases located on different volumes. 2020-06-03 20:04:48 +03:00
Dmitry Yemanov
e254f58c1e Make the reschedule accounting simpler and sweep more responsive under load 2020-06-02 12:55:00 +03:00
firebirds
902a322a7a increment build number 2020-05-29 00:13:58 +00:00
Adriano dos Santos Fernandes
f6c912f61f Correction for my previous commit.
CORE-6317 - Server is crashing on long GRANT statement.
2020-05-28 13:32:20 -03:00
Adriano dos Santos Fernandes
e1bfd75750 Fixed CORE-6317 - Server is crashing on long GRANT statement. 2020-05-28 12:59:43 -03:00
firebirds
70ba20d166 increment build number 2020-05-23 00:05:33 +00:00
Adriano dos Santos Fernandes
e19c193b61 Backport fix for CORE-6310 and CORE-6314:
- CORE-6310: Varchar length limit is not enforced when assigning string with trailing spaces in MBCS
- CORE-6314: Assigning RDB$DB_KEY to MBCS CHAR/VARCHAR does not enforce the target limit
2020-05-22 13:22:23 -03:00
firebirds
2e191f13c3 increment build number 2020-05-20 00:05:27 +00:00
AlexPeshkoff
706dc73586 Backported CORE-6309: fbsvcmgr can not decode information buffer returned by gfix list limbo service 2020-05-19 11:27:03 +03:00
firebirds
e99c9f46f8 increment build number 2020-05-15 00:05:09 +00:00
Adriano dos Santos Fernandes
996b36087e Fix MacOS build with xcode 9.2. 2020-05-14 13:15:03 -03:00
Adriano dos Santos Fernandes
986e0a5238 Fix Travis (Ubuntu Xenial) build.
This reverts commit 07456f37cd.
2020-05-14 11:54:16 -03:00
firebirds
4fdd3d644a increment build number 2020-05-09 00:07:27 +00:00
firebirds
456516515d increment build number 2020-04-24 00:05:49 +00:00
Adriano dos Santos Fernandes
c2f132a53a Fixed CORE-6290 - Hex number used at end of statement (for exame with CREATE DOMAIN ... DEFAULT)
may read invalid memory and produce wrong values or exceptions.
2020-04-23 16:13:16 +00:00
firebirds
0c67001db0 increment build number 2020-04-18 00:06:37 +00:00
AlexPeshkoff
eec05dae8d Improved code to ensure better compatibility with older engines. Checked restore on 2.5 (clean) and 2.1 (with recoverable errors, database in single maintenance mode). 2020-04-17 15:42:55 +03:00
firebirds
a6e6d6391d increment build number 2020-04-16 00:05:43 +00:00
Adriano dos Santos Fernandes
bba40d5c1f Fixed CORE-6280 - MERGE statement loses parameters in WHEN (NOT) MATCHED clause
that will never be matched, crashes server in some situations.
2020-04-15 17:05:11 +00:00
AlexPeshkoff
67b4040c44 Backported CORE-6283: isNullable() in message metadata, returned by metadata builder, does not match with datatype set by setType() in metadata 2020-04-15 18:17:45 +03:00
firebirds
451202fadd increment build number 2020-04-15 00:07:58 +00:00
AlexPeshkoff
b78fb61639 Backported fix for unregistered bug: error handling in main server loop is broken 2020-04-14 17:40:21 +03:00
firebirds
f572870d8b increment build number 2020-04-10 00:06:20 +00:00
AlexPeshkoff
95f0135b2a Backported fix for CORE-5364: gfix -online normal <db> (being issued in window #1) does not produce error when there is sysdba attachment in window #2 2020-04-09 15:26:41 +03:00
firebirds
38bb214de7 increment build number 2020-04-08 00:06:22 +00:00
Alex Peshkoff
d39f26a7fd Fixed CORE-6230: Unable to connect with database if security.db reference is removed from databases.conf file 2020-04-07 12:42:41 +03:00
firebirds
8c5f561e03 increment build number 2020-04-04 00:05:38 +00:00
Adriano dos Santos Fernandes
c7de40c6ac Improvement CORE-6274 - Increase parse speed of long queries. 2020-04-03 16:34:59 +00:00
Adriano dos Santos Fernandes
bf6bc9c865 Trim trailing spaces. 2020-04-03 16:31:35 +00:00
firebirds
d084ece0bd increment build number 2020-04-02 00:05:43 +00:00
Alex Peshkoff
38f5016008 Backported CORE-6264: gbak with PIPE to stdout: invalid content if user '-se <host>:service_mgr' command switch 2020-04-01 13:20:06 +03:00
firebirds
7b2fe4baa2 increment build number 2020-03-27 00:06:55 +00:00
hvlad
70ed61cba8 Correct my old fix for CORE-5470 - use converters in correct order 2020-03-26 13:31:33 +02:00
firebirds
69ceb1c756 increment build number 2020-03-26 00:07:59 +00:00
AlexPeshkoff
2672ed09a4 Backported hexadecimal output in cloop 2020-03-25 12:33:06 +03:00
firebirds
441aafeefa increment build number 2020-03-21 00:05:32 +00:00
Adriano dos Santos Fernandes
7d2dca2469 Fixed CORE-6246 - Problem with too many number of columns in resultset. 2020-03-20 14:27:57 -03:00
firebirds
e3fe698863 increment build number 2020-03-20 00:06:04 +00:00
Dmitry Yemanov
914ae096d6 Fixed CORE-6266 2020-03-19 16:14:47 +03:00
firebirds
50149afccf increment build number 2020-03-19 00:06:03 +00:00
AlexPeshkoff
63170bfc74 Backported CORE-6265: mapping rules destroyed by backup / restore 2020-03-18 13:49:37 +03:00
firebirds
bfbd0ff60d increment build number 2020-03-17 00:06:27 +00:00
AlexPeshkoff
773e2f6845 Regenerated Firebird.pas 2020-03-16 17:17:34 +03:00
firebirds
6ed8ed8a92 increment build number 2020-03-12 00:07:06 +00:00
hvlad
10cff221cb Lost assert 2020-03-11 21:08:00 +02:00
hvlad
af5d3a7fed Avoid potential warnings. Thanks to Adriano and Alex. 2020-03-11 19:58:41 +02:00
Artyom Smirnov
f931b0b0b1 CORE-5972: Fix working external triggers with computed fields
Now it works not only with simple expressions, but with subqueries too.
2020-03-11 11:36:35 -03:00
firebirds
bc2b202b62 increment build number 2020-03-06 00:05:56 +00:00
Adriano dos Santos Fernandes
7da1fc98d0 Fixed CORE-6233 - Wrong dependencies of stored function on view after backup and restore. 2020-03-05 20:53:10 -03:00
firebirds
ada5330839 increment build number 2020-03-05 00:05:57 +00:00
AlexPeshkoff
a779a7da4d Fixed CORE-6260: Warnings not always displayed in ISQL 2020-03-04 18:58:45 +03:00
hvlad
a9b049e04b Additional assertions related to the recent patch for bug CORE-6224 2020-03-04 17:11:54 +02:00
firebirds
fd9dacaa3e increment build number 2020-03-03 00:05:48 +00:00
hvlad
d0a009ee61 Fixed bug CORE-6224 : [AV] Re-destruction of the rem_port object 2020-03-02 19:08:34 +02:00