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

48325 Commits

Author SHA1 Message Date
firebirds
a257a41e87 increment build number 2020-10-21 00:02:28 +00:00
AlexPeshkoff
c51b85d3ea Fixed android build 2020-10-20 14:20:50 +03:00
firebirds
ab3f02b499 increment build number 2020-10-20 00:02:26 +00:00
firebirds
8c5623b562 increment build number 2020-10-17 00:02:27 +00:00
firebirds
2a415a0fee increment build number 2020-10-12 00:02:22 +00:00
Dmitry Yemanov
c432b8aff1 Make robust file IDs optional (for the sake of cross-release compatibility) 2020-10-11 12:16:55 +03:00
firebirds
f7cd40cfca increment build number 2020-10-10 00:02:23 +00:00
Adriano dos Santos Fernandes
55627cfffc Postfix for CORE-6358 to avoid error in restore. 2020-10-09 13:06:43 -03:00
firebirds
7314ed8253 increment build number 2020-10-09 00:02:21 +00:00
firebirds
b20545a45a increment build number 2020-10-08 00:02:24 +00:00
AlexPeshkoff
d5c96f1dad Cleanup overcomplicated isinf 2020-10-06 14:49:47 +03:00
firebirds
703698812a increment build number 2020-09-30 00:02:22 +00:00
Dmitry Yemanov
a1c2fbc1c8 Better assertions, code simplification and minor optimization 2020-09-29 13:30:28 +03:00
firebirds
5a5a76c56d increment build number 2020-09-29 00:02:24 +00:00
hvlad
3861b68739 Postfix for CORE-6351 : Computed field could be wrongly evaluated as NULL.
Make sure statement->procedure (function) always points to procedure (function) the statement belongs to.
Ensure statement's memory pool is deleted after the statement in case of failure during BLR parsing.
2020-09-28 21:52:04 +03:00
Dmitry Yemanov
c7548daf52 Fixed CORE-6411: crash while creating a table with many (>5460) fields 2020-09-28 21:10:05 +03:00
firebirds
5da110a973 increment build number 2020-09-22 00:02:23 +00:00
dyemanov
bc0ace16da Correction for my last commit. 2020-09-21 13:47:30 +03:00
firebirds
749a2a83b3 increment build number 2020-09-20 00:02:21 +00:00
dyemanov
0c4a4f9c3e Merge branch 'B3_0_Release' of https://github.com/firebirdsql/firebird into B3_0_Release 2020-09-19 21:05:13 +03:00
dyemanov
593ea65bfe This should fix the regression with long file paths. 2020-09-19 21:04:57 +03:00
firebirds
37ee7b0e65 increment build number 2020-09-19 00:02:21 +00:00
dyemanov
bbd30b9b9e Fallback to other identification methods only if the current call is unavailable, otherwise raise an error. 2020-09-18 10:37:43 +03:00
firebirds
701c89970f increment build number 2020-09-17 00:02:21 +00:00
firebirds
89080c4f75 increment build number 2020-09-11 00:02:32 +00:00
hvlad
0f4bfcec37 This should fix deadlock when attachment is initialized or released while database shutdown is in progress.
dbb_sync should be acquired after any attachment mutex, not before.
2020-09-10 13:31:46 +03:00
firebirds
48148d9fa4 increment build number 2020-09-05 00:02:22 +00:00
AlexPeshkoff
2a75646734 Backported fix for CORE-6396: Unknown tag (0) in isc_svc_query() results 2020-09-04 15:32:57 +03:00
firebirds
408058ca70 increment build number 2020-08-25 00:02:23 +00:00
AlexPeshkoff
cb2a6cf0a6 Backported CORE-6392: Space in database path prevent working gbak -se ... -b "path to/database" backup 2020-08-24 11:15:38 +03:00
firebirds
d57b536f7e increment build number 2020-08-20 00:02:25 +00:00
hvlad
c14a42fcf3 Fixed bug CORE-6351 : Computed field could be wrongly evaluated as NULL 2020-08-19 13:31:17 +03:00
firebirds
9ca2fc7860 increment build number 2020-08-16 00:02:27 +00:00
firebirds
578cb5b80d increment build number 2020-08-15 00:02:25 +00:00
AlexPeshkoff
cb301544fd This should fix windows build after CORE-6388 2020-08-14 18:34:27 +03:00
AlexPeshkoff
0ea373139f This should fix windows build after CORE-6388 2020-08-14 18:12:15 +03:00
AlexPeshkoff
4eca74e71b Backported CORE-6388: DEV_BUILD client asserts when closing event thread 2020-08-14 17:57:04 +03:00
firebirds
36362f0801 increment build number 2020-08-10 00:02:24 +00:00
Dmitry Yemanov
aa3f9f9eb8 Postfix fore safe shmem reattaching 2020-08-09 11:41:13 +03:00
firebirds
371a08e713 increment build number 2020-07-28 00:02:23 +00:00
Adriano dos Santos Fernandes
dde597e6ae Fixed CORE-6370 - Memory leak at server, when client select computed field, which used COALESCE or CAST. 2020-07-27 13:49:24 -03:00
firebirds
60d4cc928b increment build number 2020-07-25 00:02:23 +00:00
AlexPeshkoff
456b3e3cc2 Backported CORE-6371: Avoid server crash on shutdown in case of wrong reference counting in UDR 2020-07-24 18:46:17 +03:00
firebirds
625482daed increment build number 2020-07-24 00:02:23 +00:00
AlexPeshkoff
6367d2b5c0 Backported CORE-6367: Segfault when receiving malformed packet from network 2020-07-23 20:15:49 +03:00
firebirds
f01333d99d increment build number 2020-07-17 00:02:21 +00:00
AlexPeshkoff
8211f7e517 Postfix for CORE-6208 2020-07-16 14:19:22 +03:00
firebirds
d4761b8806 increment build number 2020-07-16 00:02:25 +00:00
AlexPeshkoff
d3e2544b41 Fixed CORE-6362: Better diagnostic when 'Missing security context' 2020-07-15 19:46:16 +03:00
firebirds
0ec6a79167 increment build number 2020-07-14 00:02:23 +00:00
Dmitry Yemanov
a0e134503f Fixed wrongly assigned flag value 2020-07-13 16:46:30 +03:00
firebirds
233ce435c3 increment build number 2020-07-13 00:02:26 +00:00
hvlad
908cf8af89 Additional case for fix for bug CORE-6347.
Thanks to Dmitry.
2020-07-12 09:55:41 +03:00
firebirds
ec08884d03 increment build number 2020-07-12 00:02:24 +00:00
hvlad
439aab53a0 This should fix bug CORE-6347 : New connections to database server sometimes stall, when there is existing connection to database. 2020-07-11 18:22:39 +03:00
firebirds
be3454c423 increment build number 2020-07-11 00:02:27 +00:00
Adriano dos Santos Fernandes
7b5b1c0188 Fixed CORE-6358 - Adding NOT NULL column with DEFAULT value may cause default values to update when selecting or have the wrong charset. 2020-07-10 12:22:46 -03:00
firebirds
007e2b720a increment build number 2020-07-10 00:02:25 +00:00
AlexPeshkoff
ffed50db79 Fixed regression caused by previous commit - segfault when unwinding half-done attachment 2020-07-09 19:17:16 +03:00
AlexPeshkoff
bcd6ca8262 Backported fix for CORE-6360: Engine may hang due to races when starting crypt thread and simultaneous shutdown 2020-07-09 18:10:03 +03:00
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