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

48673 Commits

Author SHA1 Message Date
firebirds
906e474541 increment build number 2019-03-03 00:03:20 +00:00
firebirds
f0478e6549 increment build number 2019-03-02 00:03:31 +00:00
Adriano dos Santos Fernandes
cfbcbeda3c
Make it possible to start multiple transactions using the same initial transaction snapshot - CORE-6018 (#193)
With this feature it's possible to create parallel (via different attachments) processes reading consistent data from a database.

For example, a backup process may create multiple threads paralleling read data from the database.

Also a web service may dispatch distributed sub services paralleling doing some processing.

That is accomplished creating a transaction with SET TRANSACTION SNAPSHOT [ AT NUMBER <snapshot number> ] or isc_tpb_at_snapshot_number.

The <snapshot number> from the first transaction may be obtained with RDB$GET_CONTEXT('SYSTEM', 'SNAPSHOT_NUMBER') or transaction info call with fb_info_tra_snapshot_number.

Also added CORE-6017 - Add transaction info fb_info_tra_snapshot_number.
2019-03-01 16:17:19 -03:00
Adriano dos Santos Fernandes
05b5d16c44 Task CORE-6016 - Rename RDB$GET_CONTEXT('SYSTEM', 'SNAPSHOT_CN') to RDB$GET_CONTEXT('SYSTEM', 'SNAPSHOT_NUMBER'). 2019-03-01 12:14:14 -03:00
AlexPeshkoff
606e9e345c Fixed CORE-6015: Segfault when using expression index with complex expression 2019-03-01 12:59:45 +03:00
firebirds
03999d6b8c increment build number 2019-02-27 00:03:34 +00:00
Artyom Smirnov
1f13a2fa15 Fix external engine memory leaks (#168)
* Release objects of external engine

1. Added explicit destruction of procedures and functions, because it
should execute external routines destructor to avoid leaks inside
external engine
2. Add explicit destruction of trigger and destruction of linked
external trigger
3. Release external engine after use

* Fix external engine procedures leaking, when creating new procedure
2019-02-26 07:54:01 +03:00
firebirds
f6e6dccf80 increment build number 2019-02-26 00:03:28 +00:00
AlexPeshkoff
71e108cf49 Partially rolled back my last commit 2019-02-25 17:34:37 +03:00
firebirds
2fe0bf0d78 increment build number 2019-02-23 00:03:25 +00:00
AlexPeshkoff
cf7a1b605d Fixed CORE-6009: I/O error during "open" operation for file "/tmp/firebird/fb_trace_*" in firebird.log 2019-02-22 19:53:14 +03:00
KarloX2
83811547c9 CORE-6004
Don't assign new socket handle before socket is connected
2019-02-22 07:15:08 +01:00
firebirds
81b0e07ad4 increment build number 2019-02-22 00:03:26 +00:00
hvlad
871073b238 Use correct definition for missing socket value 2019-02-21 11:59:10 +02:00
KarloX2
a0692f497c CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option
renamed the new config setting
2019-02-20 18:13:07 +01:00
KarloX2
a769533a4e CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option
fix default param value was redefined
2019-02-20 17:52:15 +01:00
KarloX2
482c688321 CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option
use port->getPortConfig() instead of Config::getDefaultConfig() to access the new setting value
2019-02-20 17:42:12 +01:00
KarloX2
540c90546f CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option (Windows only) 2019-02-19 17:22:11 +01:00
firebirds
d31495be14 increment build number 2019-02-17 00:03:22 +00:00
firebirds
46a8e484f8 increment build number 2019-02-16 00:03:17 +00:00
Dmitry Yemanov
609c1094db Misc corrections 2019-02-15 12:04:37 +03:00
firebirds
68a35287ac increment build number 2019-02-14 00:03:29 +00:00
1c1d297a0b Improved module search 2019-02-13 15:25:03 +03:00
firebirds
ca36b682c6 increment build number 2019-02-11 00:03:40 +00:00
firebirds
edabb90115 increment build number 2019-02-10 00:03:31 +00:00
firebirds
0db158ae2c increment build number 2019-02-09 00:03:28 +00:00
hvlad
aa5b30e171 Update "favorite" ICU version number 2019-02-08 10:05:17 +02:00
firebirds
0568720460 increment build number 2019-02-06 00:03:22 +00:00
firebirds
d4866a0553 increment build number 2019-02-04 00:03:30 +00:00
firebirds
2f877baa9f increment build number 2019-02-01 00:03:28 +00:00
Dmitry Yemanov
5891b84fef Misc fixes, thanks to Adriano 2019-01-31 13:07:47 +03:00
firebirds
60a3a534e9 increment build number 2019-01-31 00:03:30 +00:00
hvlad
d8ad276aef Fixed bug CORE-5995 : Creator user name is empty in user trace sessions 2019-01-31 00:00:55 +02:00
firebirds
2b3682c7cf increment build number 2019-01-30 00:03:32 +00:00
Adriano dos Santos Fernandes
cd285a1165 Fix warnings. 2019-01-29 21:52:55 -02:00
firebirds
00ccbf554a increment build number 2019-01-29 00:03:48 +00:00
AlexPeshkoff
e83d59492f One more attempt to fix DOW function on windows 2019-01-28 13:41:49 +03:00
hvlad
5b8e562c80 Fixed bug CORE-5993 : When creation of audit log file fails, there is no error message in firebird.log 2019-01-28 11:01:14 +02:00
hvlad
15e6315342 Fixed bug CORE-5991 : Trace could not work correctly with quoted file names in trace configurations 2019-01-28 11:00:18 +02:00
firebirds
3e2fa9dfc2 increment build number 2019-01-28 00:03:30 +00:00
Dmitry Yemanov
5dc8c0bda9 Fixed the refactoring mistake, thanks Adriano 2019-01-27 17:02:42 +03:00
firebirds
31c6310ead increment build number 2019-01-26 00:03:52 +00:00
AlexPeshkoff
b7b3afcabb Fixed bugs in backward compatibility UDR library - thanks to Pavel 2019-01-25 21:02:11 +03:00
AlexPeshkoff
7bbb981cf8 Added script converting previously distributed UDF to PSQL/UDR functions 2019-01-25 13:58:00 +03:00
AlexPeshkoff
4921f08031 Cleanup - do not create directory for UDF 2019-01-25 13:58:00 +03:00
Dmitry Yemanov
932ca51574
Replication support (#182)
* Initial implementation of replication

* Postfixes for configuration and Windows builds

* Misc Windows adjustments

* Forgotten changes from prior commits

* Last round (fingers crossed) of fixing the Windows build

* Improve self-documentation

* Misc improvements

* Updates the docs

* More configuration

* Frontported some remaining pieces

* Installation post-fixes

* Special permission for replication
2019-01-25 12:09:01 +03:00
firebirds
8a421a1707 increment build number 2019-01-23 00:03:47 +00:00
Dmitry Yemanov
aa9730cb7e Updated the version info 2019-01-22 21:55:31 +03:00
AlexPeshkoff
7f2e32616b Fixed CORE-5985: Regression: ROLE does not passed in ES/EDS (specifying it in the statement is ignored) 2019-01-22 18:08:13 +03:00
Egor Pugin
80a8351aa1 jrd is not on that level 2019-01-22 07:37:13 -02:00
Dmitry Yemanov
145370dc59 Fixed missing monitoring for the crypt thread 2019-01-22 12:31:59 +03:00
Dmitry Yemanov
b0f2529c3e Fixed monitoring for non-privileged users 2019-01-22 12:25:30 +03:00
Dmitry Yemanov
6c35ed7460 Restore the paranoid v3 logic to avoid infinite loops in this place 2019-01-22 12:18:39 +03:00
hvlad
4fbb3adcd6 Make old compilers (not supporting C++11 "noexcept") works with new ICU 2019-01-22 10:12:41 +02:00
firebirds
3ee5097de0 increment build number 2019-01-22 00:03:33 +00:00
Adriano dos Santos Fernandes
f0e9c4eb3d Fixed CORE-5972 - External engine trigger crashing server if table have computed field. 2019-01-21 13:06:01 -02:00
Dmitry Starodubov
ed932c856d Fixed CORE-5982: Error read permission for BLOB field, when it is input/output procedure's parameter 2019-01-21 14:39:06 +03:00
firebirds
54726d8d2a increment build number 2019-01-20 00:03:29 +00:00
Adriano dos Santos Fernandes
23585141e8 Fixed CORE-5986 - Incorrect evaluation of NULL IS [NOT] {FALSE | TRUE}. 2019-01-19 17:24:05 -02:00
firebirds
4d81fc58b5 increment build number 2019-01-19 00:03:31 +00:00
AlexPeshkoff
1450ee5d6b Make it possible to use in same list (i.e. case, coalesce, etc.) timestamps(dates) with & without time zone 2019-01-18 14:04:13 +03:00
Dmitry Yemanov
c349d28686 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:53:57 +03:00
Dmitry Yemanov
fea7c61d97 Attempted to fix CORE-2440, CORE-5118 and CORE-5900 together (expression indices contain NULL keys after restore). 2019-01-17 14:13:08 +03:00
firebirds
d8ab4a69af increment build number 2019-01-17 00:03:31 +00:00
Dmitry Yemanov
3de87b5ed7 More reliable check for view vs table 2019-01-16 13:25:31 +03:00
Dmitry Yemanov
eba76dd0d2 Reworked Alex's solution for modern compilers (GCC 5/6) 2019-01-16 13:25:04 +03:00
firebirds
8139be1bb5 increment build number 2019-01-15 00:03:36 +00:00
AlexPeshkoff
ef626be214 Add encryption-related messages to .msg file 2019-01-14 20:50:56 +03:00
AlexPeshkoff
c0d01ee715 Fixed assertion in tomcrypt code 2019-01-14 15:08:44 +03:00
firebirds
ba38086613 increment build number 2019-01-10 00:03:49 +00:00
hvlad
99ca7f061f Ported fix for bug CORE-5980 : Firebird 2.5.6 & 25.8 server crash 2019-01-09 16:21:52 +02:00
firebirds
d4c8913f42 increment build number 2019-01-09 00:03:29 +00:00
AlexPeshkoff
b396f6c3b7 Attempt to fix travis build 2019-01-08 19:18:25 +03:00
AlexPeshkoff
23db1e65b6 Put new keywords in alphabetical order, thanks to Adriano 2019-01-08 18:23:23 +03:00
firebirds
03a8e789aa increment build number 2019-01-07 00:03:30 +00:00
Adriano dos Santos Fernandes
73e39d31da Misc. 2019-01-06 17:07:23 -02:00
Adriano dos Santos Fernandes
15b34afcc8 Use correct method name convention. 2019-01-06 17:05:44 -02:00
Adriano dos Santos Fernandes
236f2e6657 Fix assertions with trunc(current_timestamp) and trunc(current_time). 2019-01-06 16:56:48 -02:00
Adriano dos Santos Fernandes
832aeb652b Misc. 2019-01-06 14:58:10 -02:00
firebirds
0855848d6d increment build number 2019-01-06 00:03:40 +00:00
Adriano dos Santos Fernandes
d936c74cdd Misc. 2019-01-05 18:47:04 -02:00
AlexPeshkoff
38823d0184 Post-improvement for CORE-5970: added 3 useful related helper functions: base64_encode/decode and crc32 2019-01-05 18:29:03 +03:00
AlexPeshkoff
61a905e096 Fixed gcc7 warning - remove deprecated throw(exception) clause 2019-01-03 19:30:23 +03:00
firebirds
8804222e2d increment build number 2019-01-01 00:03:35 +00:00
Adriano dos Santos Fernandes
ab058f2538 Remove ICU function not used anymore. 2018-12-31 15:53:14 -02:00
firebirds
6f0bb27741 increment build number 2018-12-30 00:03:29 +00:00
Adriano dos Santos Fernandes
ee05dbf7b9 Merge branch 'work/time-zone-support-mon' 2018-12-29 15:38:22 -02:00
Adriano dos Santos Fernandes
e3e8d872ec Optimizations. 2018-12-29 15:36:56 -02:00
Adriano dos Santos Fernandes
54df72afca Make sessions dump their data using their own time zones. 2018-12-29 15:24:24 -02:00
Adriano dos Santos Fernandes
e7804a1abe Fix (try) Windows build. 2018-12-28 21:55:59 -02:00
Adriano dos Santos Fernandes
b4caf53cc8 Simplify the Windows code - untested. 2018-12-28 21:51:02 -02:00
Adriano dos Santos Fernandes
647d06cde5 Make code faster. 2018-12-28 15:52:39 -02:00
Adriano dos Santos Fernandes
3ca18c540c Add config. parameter DefaultTimeZone. 2018-12-28 15:52:39 -02:00
Adriano dos Santos Fernandes
86081d3264 Better logging when some problem happened detecting the OS time zone. 2018-12-28 15:52:39 -02:00
Adriano dos Santos Fernandes
3c6115a08c Make TimeZoneUtil::getCurrentGmtTimeStamp() does not depend on the local time. 2018-12-28 15:52:39 -02:00
Adriano dos Santos Fernandes
4f446d506e Message codes for time zone errors. 2018-12-28 15:52:39 -02:00
Adriano dos Santos Fernandes
572c0675d6 Refactor. 2018-12-28 15:52:39 -02:00
firebirds
d4586a4c9b increment build number 2018-12-27 00:03:25 +00:00
AlexPeshkoff
4d035997fc Fixed CORE-5973: Handling FP overflow in double precision value when converting from decfloat 2018-12-26 20:04:54 +03:00
Adriano dos Santos Fernandes
f8c803ab32 Fix Windows build. 2018-12-26 12:00:36 -02:00