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

53903 Commits

Author SHA1 Message Date
firebirds
8f1f459ac4 increment build number 2019-04-11 00:03:42 +00:00
Adriano dos Santos Fernandes
158ee4a0ea Fixed CORE-6046 - Incorrect time zone parsing reads garbage in memory. 2019-04-10 12:55:43 -03:00
Adriano dos Santos Fernandes
27bd93a9d3 Fixed CORE-6044 - ISQL issues with increased identifier length. 2019-04-10 12:19:02 -03:00
AlexPeshkoff
5fbf07ee1a Fixed CORE-6045: Segmentation fault in fbtracemgr when closing it using ctrl-C 2019-04-10 14:53:14 +03:00
firebirds
1288f17b4f increment build number 2019-04-10 00:03:33 +00:00
AlexPeshkoff
39ded8ed98 Fixed CORE-6027: Server hang on new attachment right after trace session stop 2019-04-09 22:09:03 +03:00
firebirds
d255782b5e increment build number 2019-04-08 00:03:28 +00:00
Adriano dos Santos Fernandes
2a9f8fa60b Improvement CORE-6032 - Add DPB properties for time zone bind and decfloat configuration. 2019-04-07 11:56:02 -03:00
Adriano dos Santos Fernandes
eee0e0cb68 Refactor. 2019-04-07 11:50:22 -03:00
firebirds
eade8d3d63 increment build number 2019-04-02 00:03:20 +00:00
Dmitry Yemanov
545d6b3fc8 Fixed inconsistent alignment beetween 32-bit and 64-bit replication sides 2019-04-01 17:35:30 +03:00
Roman Simakov
1c96880660 New attempt to fix infinity recursive building external access list
This reverts commit 4f0cd0b81a.
2019-04-01 16:08:18 +03:00
Roman Simakov
4f0cd0b81a Fixed infinity recursive building external access list 2019-04-01 12:32:02 +03:00
firebirds
f62f3b3519 increment build number 2019-03-27 00:03:40 +00:00
Adriano dos Santos Fernandes
a64b202dad Fixed CORE-6034 - The original time zone should be set to the current time zone at routine invocation. 2019-03-26 13:13:59 -03:00
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