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

54865 Commits

Author SHA1 Message Date
Dmitry Yemanov
b7059827cd Code simplification and better overflow protections 2020-07-13 16:16:12 +03:00
hvlad
c4f67c04c2 This should fix non-MSVC builds 2020-07-13 13:19:44 +03:00
hvlad
204eb60fe7 Fixed bug CORE-6364 : Wrong reference counting in UDR trigger sample 2020-07-13 11:59:49 +03:00
firebirds
4fdf68274a increment build number 2020-07-13 00:02:18 +00:00
hvlad
a6588dc0ff This should fix bug CORE-6347 : New connections to database server sometimes stall, when there is existing connection to database. 2020-07-12 17:16:31 +03:00
Adriano dos Santos Fernandes
a329a92786 Fix nodDesc of NullNode being changed after its initial construction. 2020-07-11 23:14:58 -03:00
firebirds
6ca9b607ba increment build number 2020-07-11 00:02:20 +00:00
AlexPeshkoff
4a75d557f7 Fixed use of MIN_SINT64 as domain default 2020-07-10 14:19:32 +03:00
hvlad
e4b54dc570 Calls of ITransaction::validate() is moved out of attachment context to avoid potential deadlocks.
Ensure check_database() is called after validateHandle().
Removed unneeded find_transaction().
2020-07-10 12:59:25 +03:00
firebirds
dde8888410 increment build number 2020-07-10 00:02:17 +00:00
AlexPeshkoff
c513f6cb4d Fixed regression in test core1362 2020-07-09 20:03:07 +03:00
AlexPeshkoff
99ea876e23 Fixed regression caused by previous commit - segfault when unwinding half-done attachment 2020-07-09 19:16:58 +03:00
AlexPeshkoff
ebddc8f8e5 Fixed CORE-6360: Engine may hang due to races when starting crypt thread and simultaneous shutdown 2020-07-09 18:08:05 +03:00
firebirds
3cbb531291 increment build number 2020-07-09 00:02:16 +00:00
hvlad
d5fad960e7 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-09 02:06:36 +03:00
hvlad
8348349b05 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-09 02:06:22 +03:00
hvlad
e23273d615 This should fix bug CORE-6346 : New connection to the server hangs 2020-07-08 18:24:31 +03:00
AlexPeshkoff
fc6b04f4c6 Fixed CORE-6355: TRUNC() does not accept second argument = -128 2020-07-08 17:47:58 +03:00
AlexPeshkoff
919dcaa0f0 Cleanup - unused variable 2020-07-08 17:34:51 +03:00
AlexPeshkoff
fd9600f1b4 Postfix for CORE-6344, fix for CORE-6353, CORE-6356 & CORE-6357 (they are highly related, therefore in same commit) 2020-07-08 17:30:43 +03:00
firebirds
048a055b87 increment build number 2020-07-08 00:02:15 +00:00
Adriano dos Santos Fernandes
2e146d8dcf 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-07 14:44:05 -03:00
firebirds
9bab7423f8 increment build number 2020-07-07 00:02:16 +00:00
AlexPeshkoff
17b287f9ce Postfix for CORE-6344 - fixed SUM() & AVG() 2020-07-06 16:43:04 +03:00
firebirds
8a50003366 increment build number 2020-07-04 00:02:16 +00:00
AlexPeshkoff
57551c3bc0 Postfix for CORE-6344 - fixed ROUND() & TRUNC() 2020-07-03 20:16:10 +03:00
AlexPeshkoff
6ec18998d0 Fixed CORE-6348: Wire compression causes freezes 2020-07-03 08:23:13 +03:00
firebirds
c080439f56 increment build number 2020-07-02 00:02:17 +00:00
AlexPeshkoff
dbc28a88c0 Partial fix for CORE-6147: be smart when dealing with global mappings in metadata script 2020-07-01 18:06:23 +03:00
AlexPeshkoff
3192818d08 Postfix for CORE-6344 - fixed ABS() 2020-07-01 17:18:05 +03:00
AlexPeshkoff
b728ff38ca Postfix for CORE-6344 - fixed MOD() 2020-07-01 14:24:01 +03:00
firebirds
ab86bc742c increment build number 2020-07-01 00:02:25 +00:00
AlexPeshkoff
137c3a96e5 Postfix for CORE-6342: enable support of int128 in bin_* family of functions 2020-06-30 19:12:35 +03:00
firebirds
9e6b96d71b increment build number 2020-06-30 00:02:17 +00:00
Adriano dos Santos Fernandes
056ce7714c Fixed wrong indentation with spaces. 2020-06-29 21:00:41 -03:00
80cfceb9de
Use proper type for inf buffers (#275)
forgotten rename
2020-06-29 19:56:25 -03:00
firebirds
228db068f0 increment build number 2020-06-27 00:03:06 +00:00
AlexPeshkoff
22d919462d Postfix for CORE-6344 - fixed FLOOR() 2020-06-26 17:09:20 +03:00
firebirds
c4e422d04c increment build number 2020-06-26 08:29:30 +00:00
AlexPeshkoff
5895701701 Fixed CORE-6345: Server crashes on overflow of division result 2020-06-26 09:13:09 +03:00
Adriano dos Santos Fernandes
7adbe44d54 Add Ubuntu 20.04 build to github actions. 2020-06-25 22:54:05 -03:00
firebirds
af3ae373fa increment build number 2020-06-26 00:03:29 +00:00
AlexPeshkoff
150c2933fd Postfix for CORE-6342 - should fix test 6206 2020-06-25 17:54:09 +03:00
AlexPeshkoff
3e8d810d8e Fixed CORE-6344: Invalid return type for functions with INT128 /Numeric(38)/ argument 2020-06-25 14:21:26 +03:00
firebirds
95f39c091d increment build number 2020-06-25 00:03:17 +00:00
Adriano dos Santos Fernandes
84f5c8ec51 Fixed another case for CORE-6340 - Alternate quoting does not work on some particular cases. 2020-06-24 10:17:08 -03:00
AlexPeshkoff
422035f291 Documentation 2020-06-24 13:11:29 +03:00
AlexPeshkoff
c2692c6cee Added explicit datatype INT128 (base type for high precision numeric/decimal), enhanced processing of SET BIND for exact digital datatypes 2020-06-24 12:57:18 +03:00
firebirds
4868b9c9ae increment build number 2020-06-24 00:04:16 +00:00
Adriano dos Santos Fernandes
c1176206a8 Fixed CORE-6340 - Alternate quoting does not work on some particular cases. 2020-06-23 12:58:50 -03:00