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

54038 Commits

Author SHA1 Message Date
firebirds
c2fe37df9f increment build number 2019-03-26 00:03:28 +00:00
AlexPeshkoff
df8982b81b Fixed CORE-6031: Little valgrind memory leak in isc_attach_database 2019-03-25 14:42:20 +03:00
firebirds
560462899d increment build number 2019-03-23 00:03:44 +00:00
Adriano dos Santos Fernandes
e438bdeb60 Fixed CORE-6033 - SUBSTRING(CURRENT_TIMESTAMP) does not work. 2019-03-22 12:45:06 -03:00
AlexPeshkoff
1c2afb4717 Postfix for CORE-6028, thanks to Adriano 2019-03-22 17:53:00 +03:00
Roman Simakov
f17692c339 Fixed warnings of the buffer overwriting in sprintf 2019-03-22 14:18:25 +03:00
Roman Simakov
6359ed98bb Added error constants for messages. It's my previous mistake. 2019-03-21 18:16:56 +03:00
firebirds
70b9fab34f increment build number 2019-03-21 00:03:45 +00:00
AlexPeshkoff
3828bfdf57 Fixed CORE-6028: Trigger on system table restored in FB3 database and can't be deleted 2019-03-20 20:09:45 +03:00
firebirds
b3647fac36 increment build number 2019-03-19 00:04:04 +00:00
AlexPeshkoff
84a682bf17 Fixed some gcc8 warnings - WiP 2019-03-18 20:10:48 +03:00
Adriano dos Santos Fernandes
41b2683b8a Fixed CORE-6026 - Alignment issue with FB_MESSAGE C++ macro
(as well UDR macros) and BIGINT/DECFLOAT types in Linux 32-bits.
2019-03-18 12:23:34 -03:00
Roman Simakov
bb3c2e94ec Fixed CORE-5892: SQL SECURITY DEFINER context is not properly evaluated for monitoring tables (#196)
* Now we take into account the call hierarchy when use SQL SECURITY
option.
Added new context variable in SYSTEM namespace - EFFICIENT_USER which is
returns user name in which context a code works.
We change efficient user before call procedure and function, fetch a
record from selective procedure and before execute a trigger.

* Renamed new context variable to EFFECTIVE_USER. Fixed nested calls.

* Improved error messages to print effective user when there is no permission.

* Added description of new context variable EFFECTIVE_USER. Improved description of SQL SECURITY clause.
2019-03-18 14:17:02 +03:00
firebirds
b200006ab8 increment build number 2019-03-15 00:03:57 +00:00
Adriano dos Santos Fernandes
6a82720750 Build new branches in travis. 2019-03-14 15:50:43 -03:00
Adriano dos Santos Fernandes
ac1bb875c3 Reimplement previous NodeRefImpl checks while simplifying code also removing NodeRef. 2019-03-14 15:50:43 -03:00
firebirds
7d2c00a37b increment build number 2019-03-12 00:03:45 +00:00
hvlad
0dbf5a2916 Optimization: avoid frequent allocation\deallocation of tiny objects (NodeRefImpl). 2019-03-11 14:14:20 +02:00
hvlad
b3270ed610 Optimization: avoid memory allocation\deallocation when working with metadata names
(and other cases when [padded] string occupies 129-255 bytes).
2019-03-11 13:49:05 +02:00
hvlad
b6593c9253 Optimization: replace (non-inlined) call of memcmp() by hand-written unfolded loop.
It saves 3-5% time of database creation, for example.
2019-03-11 12:46:11 +02:00
hvlad
dcbbbc0880 Optimization: call relatively costly MET_get_field() when necessary only. 2019-03-11 11:36:35 +02:00
hvlad
364975b524 Reuse system requests that is most often used at database creation process. 2019-03-11 11:32:00 +02:00
firebirds
5e7e0d34eb increment build number 2019-03-11 00:03:20 +00:00
Dmitry Yemanov
665329ab00 Corrections 2019-03-10 20:46:55 +03:00
firebirds
e0647c6634 increment build number 2019-03-09 00:03:17 +00:00
Adriano dos Santos Fernandes
79de456a5b Fix example. 2019-03-07 22:18:19 -03:00
firebirds
958f517008 increment build number 2019-03-07 00:03:29 +00:00
hvlad
e17bff156b Improvement CORE-5658 : Execute statement with excess parameters
Documentation
2019-03-06 13:37:50 +02:00
hvlad
ee3a13d5f6 Improvement CORE-5658 : Execute statement with excess parameters 2019-03-06 12:05:46 +02:00
firebirds
906e474541 increment build number 2019-03-03 00:03:20 +00:00
Adriano dos Santos Fernandes
dd248ef1fb AppVeyor build for VS 2015 and x86 for nightly build. 2019-03-02 15:24:55 -03:00
firebirds
f0478e6549 increment build number 2019-03-02 00:03:31 +00:00
hvlad
a85a033930 Update zlib library 2019-03-01 22:15:34 +02: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
Adriano dos Santos Fernandes
e38999f658 Add Linux build to appveyor to have public snapshots per-build and disable VS2015 and x86 builds for better performance. 2019-03-01 11:28:22 -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
Vlad Khorsun
971b9a8506
Merge pull request #194 from KarloX2/master
CORE-6004
2019-02-22 09:59:00 +02: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
AlexPeshkoff
99f07c3511 Fixed CORE-6007: Firebird does not build on Mac with fresh toolchain 2019-02-21 18:37:28 +03:00
hvlad
871073b238 Use correct definition for missing socket value 2019-02-21 11:59:10 +02:00
hvlad
6fb0cda616 Update MSVC15 project files to use latest SDK version 2019-02-21 11:54:11 +02:00
Vlad Khorsun
88f799aec2
Merge pull request #190 from KarloX2/master
CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option
2019-02-21 11:52:33 +02:00