Adriano dos Santos Fernandes
51ee150915
CORE-6145 - Fix Windows build.
2019-09-19 13:35:33 -03:00
Adriano dos Santos Fernandes
6add872a1a
Complement fix for CORE-6145 - Wrong result in "similar to" with non latin characters.
2019-09-19 13:04:52 -03:00
Ilya Eremin
0b6311769e
Fixed CORE-6144: Inconsistent behaviour of the NEW context variable in AFTER UPDATE OR DELETE triggers ( #225 )
...
* Fixed CORE-6144: Inconsistent behaviour of the NEW context variable in AFTER UPDATE OR DELETE triggers
* MET_current() is used to get relation current format
2019-09-19 09:36:23 +03:00
Adriano dos Santos Fernandes
093ba005e2
Fix CORE-6145 - Wrong result in "similar to" with non latin characters.
2019-09-18 21:50:36 -03:00
firebirds
128ecdc77f
increment build number
2019-09-19 00:03:38 +00:00
Vlad Khorsun
3eb47e3bb2
Merge pull request #224 from mrotteveel/fix-split-restore
...
CORE-5976 increase minimum for multi-database restore
2019-09-18 12:40:46 +03:00
firebirds
c2f4208699
increment build number
2019-09-18 00:03:47 +00:00
Dmitry Yemanov
f558f13cd6
Misc (indentation)
2019-09-17 20:27:43 +03:00
Alex Peshkoff
0fa41abc5d
Added int128 to rdb$types
2019-09-17 18:34:28 +03:00
hvlad
26b287249b
Fixed typo
2019-09-17 17:16:58 +03:00
firebirds
4ac6e0cb45
increment build number
2019-09-17 00:03:58 +00:00
Alexander Peshkov
861d536fc2
Int128 - new datatype ( #220 )
...
* Int128 support - work in progress
* Work in progress
* Int128 datatype appears to be mostly OK except sort & index
* Fixed divide scaling, added sorting & network (xdr) support
* Binding control, aggregate nodes, cleanup and documentation
* Fixed VS2017 AppVeyor build
* Next attempt to fix vs2017 build
* Next attempt to fix vs2017 build
* Next attempt to fix vs2017 build
* Update MSVC build.
* Set VS architecture correctly
* Fixed a number of issues noticed by Mark
2019-09-16 20:59:54 +03:00
firebirds
b265743642
increment build number
2019-09-15 00:03:27 +00:00
hvlad
b7c31c7ac1
Comments, misc
2019-09-14 15:57:40 +03:00
hvlad
0037fdcb84
No need to evaluate same key again.
...
It was necessary before introducing temporary_key::key_nulls in v3.
2019-09-14 15:50:00 +03:00
hvlad
4a322b3b81
Fixed bug CORE-6138 : Inconsistent behavior regarding visibility of master record on detail inserts
...
Dmitry, please review
2019-09-14 15:46:36 +03:00
firebirds
831e995334
increment build number
2019-09-14 00:03:49 +00:00
Alex Peshkoff
e6d269492a
Fixed CORE-6143: Error 'Multiple maps found for ...' is raised in not appropriate case
2019-09-13 20:31:05 +03:00
hvlad
0a22aa2070
Port forward fix for bug CORE-6142 : Error "connection lost to database" could happen when application creates few local attachments (using XNET) simultaneously
2019-09-13 12:24:18 +03:00
Mark Rotteveel
38f5d32179
CORE-5976 increase minimum for multi-database restore
2019-09-12 10:51:50 +02:00
firebirds
6e73b0bd49
increment build number
2019-09-08 00:03:25 +00:00
firebirds
268bc4faf4
increment build number
2019-09-07 00:03:53 +00:00
Alex Peshkoff
e5866c902b
Frontported fix for CORE-6134
2019-09-06 12:52:19 +03:00
Alex Peshkoff
ee4c8f2f09
Postfix for CORE-6048
2019-09-06 12:49:27 +03:00
Adriano dos Santos Fernandes
d21ab3e8d1
Merge branch 'work/re2'
2019-09-05 22:09:48 -03:00
firebirds
f012089937
increment build number
2019-09-06 00:03:55 +00:00
hvlad
6bada8e683
Fixed bug CORE-6137 : Server crashes when it run SQL
2019-09-05 22:14:14 +03:00
Alex Peshkoff
76088c21cc
Implemented CORE-6048: Provide ability to see current state of DB encryption
2019-09-05 19:23:38 +03:00
Adriano dos Santos Fernandes
3aa372f546
1) Do not use U8_NEXT as some ICU versions calls a function; 2) Some corrections.
2019-09-02 12:53:07 -03:00
Adriano dos Santos Fernandes
09474b099a
Support for NONE/OCTETS.
2019-09-01 21:01:38 -03:00
Adriano dos Santos Fernandes
768aec8937
Avoid cast.
2019-08-27 23:18:31 -03:00
Adriano dos Santos Fernandes
cbf9662786
Remove outdated comments.
2019-08-26 21:57:48 -03:00
Adriano dos Santos Fernandes
ff06569f12
Add finalizers to free memory or other resources not managed by memory pool.
2019-08-26 21:47:44 -03:00
Adriano dos Santos Fernandes
084b3ee1fc
Simplification.
2019-08-26 21:47:44 -03:00
Adriano dos Santos Fernandes
3d47c2224c
Adjust posix build.
2019-08-13 22:14:58 -03:00
Adriano dos Santos Fernandes
3d6544d961
Misc.
2019-08-12 13:19:19 -03:00
Adriano dos Santos Fernandes
28e18749ff
WIP: Reimplementation of SIMILAR TO and SUBSTRING...SIMILAR using Google's re2 library.
...
This should fix:
CORE-4874
CORE-5664
CORE-3858
CORE-6088
CORE-3773
CORE-5931
CORE-6088
CORE-4893
2019-08-10 22:39:19 -03:00
firebirds
71bf81e151
increment build number
2019-08-11 00:03:37 +00:00
Adriano dos Santos Fernandes
14d41d409e
Fix some clang release-build warnings.
2019-08-09 23:04:41 -03:00
firebirds
893d0c0ef2
increment build number
2019-08-07 00:03:35 +00:00
Adriano dos Santos Fernandes
bb0c1e3a38
Fixed CORE-6108 - Regression: FB3 throws "Datatypes are not comparable in expression" in procedure parameters.
2019-08-06 12:25:33 -03:00
firebirds
fd25242ac0
increment build number
2019-08-06 00:03:32 +00:00
Roman Simakov
afdc1e3bee
Fixed cleaning cache of security classes. Fixed crash.
2019-08-05 16:39:02 +03:00
Alex Peshkoff
2313de273d
Fixed too string assertion making TCS fail
2019-08-05 12:43:08 +03:00
firebirds
40226f6a2b
increment build number
2019-08-04 00:03:46 +00:00
Adriano dos Santos Fernandes
c2a5dde6d1
Fixed assert error after 2f335dca94
.
2019-08-03 13:42:49 -03:00
firebirds
04d2ee5272
increment build number
2019-08-03 00:03:30 +00:00
Mark Rotteveel
426aeb50c8
CORE-6109 SQL standard FLOAT type syntax support ( #218 )
...
* CORE-6109 SQL standard FLOAT type syntax support
* Fix type or copy/paste error
* Delete unused precision_opt rule
2019-08-02 20:55:34 +03:00
firebirds
59ab6a98b2
increment build number
2019-07-24 00:03:44 +00:00
Dmitry Yemanov
9e6beda78b
Fixed a mistake of mine
2019-07-23 10:28:50 +03:00
firebirds
e9c8649733
increment build number
2019-07-23 00:04:20 +00:00
Roman Simakov
46276c4e52
Typo
2019-07-22 15:30:07 +03:00
Roman Simakov
3058fa48d3
Implemented cache of SecurityClasses when key is a pair
...
<SecurityClassName, UserName>. Now SecurityClass contains user name.
SCL_get_class now always returns a security class of the effective user.
It's necessary to take care of it in calls.
userName is removed from SCL_check_access function's arguments. It can
get it in security class.
Recomputing security classes are removed.
walk_acl uses explicit userName (previosly it might be current user).
2019-07-22 13:20:19 +03:00
firebirds
5f0aa39ff7
increment build number
2019-07-21 00:03:40 +00:00
Dmitry Yemanov
a1e7ecf922
Make indentation consistent
2019-07-20 11:54:03 +03:00
Dmitry Yemanov
adc23d2d87
Fixed CORE-6104: incorrect erroris thrown when an embedded user does not have SELECT permissions
2019-07-20 11:53:52 +03:00
firebirds
5d3f12ad66
increment build number
2019-07-18 00:03:30 +00:00
Dmitry Yemanov
fe0ffefa31
This should fix CORE-6097: Connection does not see itself in the MON
2019-07-17 08:23:38 +03:00
firebirds
2f57dc3395
increment build number
2019-07-16 00:03:30 +00:00
Adriano dos Santos Fernandes
d046a2ca86
Fallback for problem converting time-tz/timestamp-tz when ICU is not present in client.
2019-07-14 21:31:17 -03:00
firebirds
2bc5097252
increment build number
2019-07-11 00:03:39 +00:00
Alex Peshkoff
8d500d08c2
Fixed CORE-5784: Lock folder inizialization is not multi-process safe
2019-07-10 18:32:55 +03:00
firebirds
1fb2b2aab7
increment build number
2019-07-10 00:04:11 +00:00
Alex Peshkoff
0a3c2e65dc
Postfix for CORE-6093, thanks to Andrey Kravchenko
2019-07-09 22:37:45 +03:00
firebirds
23fd3dc184
increment build number
2019-07-07 00:03:59 +00:00
firebirds
e10d83e772
increment build number
2019-07-06 00:03:43 +00:00
Alex Peshkoff
9e736e3f79
Authentication block, received by client plugin from engine, might contain trash
2019-07-05 13:55:15 +03:00
firebirds
3a135e2367
increment build number
2019-07-05 00:03:52 +00:00
Alex Peshkoff
59ebe83f63
Postfix for CORE-5696: fixed DecFloat(34) literals
2019-07-04 09:05:34 +03:00
firebirds
9c4e8a8916
increment build number
2019-07-04 00:03:41 +00:00
Alex Peshkoff
6bb80e1845
Fixed CORE-6093: Errors simultaneously accessing security database from two engines
2019-07-03 14:12:06 +03:00
firebirds
3e1862d59e
increment build number
2019-07-03 00:03:55 +00:00
hvlad
d368300a02
Reworked fix for bug CORE-6080
2019-07-03 01:33:48 +03:00
firebirds
33a47246e3
increment build number
2019-07-02 00:03:56 +00:00
Alex Peshkoff
c80e60c1ae
Postfix for CORE-6091, thanks to Vlad
2019-07-01 20:07:13 +03:00
Alex Peshkoff
2da0a6edc3
Backported CORE-6091: Errors when processing correct SQL statements in engine12 provider loaded by FB4 server
2019-07-01 19:42:31 +03:00
firebirds
a380b00e70
increment build number
2019-07-01 00:03:47 +00:00
Dmitry Yemanov
78b68a3d2f
Frontported CORE-6089/6090 and minor adjustments
2019-06-30 21:23:37 +03:00
firebirds
ffa93415b0
increment build number
2019-06-29 00:04:08 +00:00
Alex Peshkoff
04c189c7c8
Fix for CORE-6072 - make firebird always work with security database from databases.conf
2019-06-28 18:49:59 +03:00
Alex Peshkoff
2f335dca94
Assert when data to be placed into MetaName do not fit
2019-06-28 18:49:59 +03:00
Alex Peshkoff
7bf9b85189
Partial fix for CORE-6072 - reworked potentially buggy approach when adding different kind of strings to the clumplet
2019-06-28 18:49:59 +03:00
Alex Peshkoff
f4366a3db9
Partial fix for CORE-6072 - use configured providers internally (except loopback)
2019-06-28 18:49:59 +03:00
Alex Peshkoff
2e9df437e6
Fix for CORE-6072: better diag for missing timeouts support in particular provider, ignore error for 0 (missing) timeout
2019-06-28 18:49:59 +03:00
firebirds
6158b2fa1d
increment build number
2019-06-27 00:03:56 +00:00
Vlad Khorsun
0d3ea29be4
Merge pull request #210 from FirebirdSQL/ICU_load_system
...
Allow to load system ICU (when shared modules names have no version t…
2019-06-26 19:34:21 +03:00
Adriano dos Santos Fernandes
259848c296
Misc.
2019-06-26 13:09:50 -03:00
hvlad
54221b3801
Improve diagnostics of internal trace errors (see CORE-3413 and CORE-6075)
2019-06-26 16:00:43 +03:00
firebirds
4dbb997f48
increment build number
2019-06-26 00:03:43 +00:00
hvlad
b767e2684f
Correction
2019-06-25 14:35:36 +03:00
hvlad
13a7c0df95
Allow to load system ICU (when shared modules names have no version tag).
...
Refactor ICU load\initialization code a bit to avoid code duplication and dumb try\catch.
Change ICU versions search range to avoid looking for never existing versions and significantly reduce search time.
Now ICU search order is: preferred version (63), system-wide version, 79-49, 4.8-3.0
Improve error reporting a bit - include ICU version number that failed to load or init.
2019-06-25 12:42:40 +03:00
Roman Simakov
1dd176e31c
Using effective user as grantor instead of current one.
2019-06-25 12:36:06 +03:00
firebirds
c5ab3b863c
increment build number
2019-06-25 00:04:06 +00:00
Alex Peshkoff
d219d25266
Partial fix for CORE-6072: better error handling in yvalve and isql
2019-06-24 13:25:55 +03:00
firebirds
72f1a09805
increment build number
2019-06-24 00:03:30 +00:00
Dmitry Yemanov
49754a89fd
Fixed CORE-6086, thanks to Vlad
2019-06-23 08:11:07 +03:00
firebirds
a7d953adca
increment build number
2019-06-20 00:03:59 +00:00
Adriano dos Santos Fernandes
dbed2498e7
Fixed CORE-6087 - Problem with casting within UNION.
2019-06-18 22:24:17 -03:00
firebirds
fbb755bda0
increment build number
2019-06-18 00:03:38 +00:00
Alex Peshkoff
eca1620a23
Fixed CORE-6078: Permissions for create or alter statements are not checked
2019-06-17 18:07:25 +03:00
firebirds
5698947eb3
increment build number
2019-06-15 00:04:05 +00:00
firebirds
3ca8de9e6a
increment build number
2019-06-14 00:03:44 +00:00
Alex Peshkoff
7bed9377c3
Fixed CORE-6083: USING PLUGIN clause does not work in RECREATE USER
2019-06-13 19:32:20 +03:00
firebirds
e646075244
increment build number
2019-06-11 00:03:28 +00:00
hvlad
737c33fc98
Make isc_tpb_at_snapshot_number usable in TPB
2019-06-10 20:12:28 +03:00
hvlad
3bfa5fa100
Fixed bug CORE-6080 : Attempt to drop existing user randomly fails
2019-06-10 20:03:32 +03:00
firebirds
8be273730e
increment build number
2019-06-09 00:03:42 +00:00
Adriano dos Santos Fernandes
a5613c6fec
Misc.
2019-06-08 12:21:36 -03:00
firebirds
ea2e7d0463
increment build number
2019-06-08 00:03:58 +00:00
Alex Peshkoff
5d70d4aae5
Fixed CORE-5696/CORE-5697: decfloat literals work wrong
2019-06-07 19:24:32 +03:00
firebirds
e06fe61f75
increment build number
2019-06-04 00:05:23 +00:00
ibprovider
7c679c519a
SHA2 Refactoring [master]. ( #207 )
...
SHA2 Refactoring
2019-06-03 19:07:06 +03:00
Adriano dos Santos Fernandes
45d5e3aa7a
Refactor public include files ( #205 )
...
Refactor include files.
2019-06-03 11:45:00 -03:00
firebirds
c209b910e9
increment build number
2019-06-02 00:03:22 +00:00
firebirds
9d729f6b33
increment build number
2019-05-31 00:03:42 +00:00
Adriano dos Santos Fernandes
6d5d163599
Simplify FirebirdApiPointers struct.
2019-05-30 12:21:00 -03:00
Alex Peshkoff
f81ae05636
Fixed CORE-6071: Restore of encrypted backup of database with SQL dialect 1 fails
2019-05-30 16:09:10 +03:00
firebirds
9e176eb3b0
increment build number
2019-05-30 00:03:38 +00:00
hvlad
f24c4c1fda
Lets issue warning instead of error when application close\free object (such as cursor, blob, etc) which "next" part is gone.
...
Do it when it is safe, of course.
2019-05-29 19:51:55 +03:00
hvlad
9766094b63
Fixed bug CORE-6067 : Memory leak in fbclient
...
Many thanks to Alex
2019-05-29 14:06:06 +03:00
firebirds
00c21fb493
increment build number
2019-05-29 00:03:29 +00:00
Alex Peshkoff
08e6b18cfd
Implemented CORE-6069: Show OS-specific error when entrypont is not found in dynamic library
2019-05-28 14:35:08 +03:00
firebirds
a6ade2d3d2
increment build number
2019-05-28 00:03:24 +00:00
Egor Pugin
268d30a0b6
[build][cmake] Update copy_files target.
2019-05-27 08:47:08 -03:00
firebirds
f67e109933
increment build number
2019-05-27 00:03:41 +00:00
Adriano dos Santos Fernandes
8e228e9440
Fix CORE-6068 - Server hangs when compiling big package with error.
2019-05-26 19:50:07 -03:00
firebirds
9680dec41e
increment build number
2019-05-25 00:04:22 +00:00
AlexPeshkoff
292321bd9c
Postfix for CORE-5474, more generic way to check for actual library name
2019-05-24 19:59:07 +03:00
firebirds
b7001b21e5
increment build number
2019-05-24 00:03:48 +00:00
Dmitry Yemanov
9ab1c1ab27
Fixed a mistake
2019-05-23 18:55:36 +03:00
Dmitry Yemanov
4534a64791
Frontported and refactored PR #202 (CORE-5074)
2019-05-23 18:55:06 +03:00
firebirds
d81f8e6a0b
increment build number
2019-05-20 00:52:26 +00:00
firebirds
f75d1a8535
increment build number
2019-05-15 00:03:36 +00:00
ibprovider
d218864e1c
Fast bug fix for CORE-6063. ( #200 )
...
http://tracker.firebirdsql.org/browse/CORE-6063
Server does not return result of own work (name of next auth-plugin).
TODO (for next commits).
1. Simplify a condition with call of port->extractNewKeys. See in same method below.
2019-05-14 18:29:27 +03:00
firebirds
05e090539d
increment build number
2019-05-11 00:03:30 +00:00
Adriano dos Santos Fernandes
b9b69d793d
Fixed CORE-6056 - Overflow warings in some collations.
2019-05-10 12:21:29 -03:00
firebirds
d2116ea145
increment build number
2019-05-08 00:03:32 +00:00
Egor Pugin
7affea21b6
[build][cmake] Determine icu version during configuration. ( #199 )
2019-05-07 11:02:22 -03:00
firebirds
1074f1e17d
increment build number
2019-05-02 00:03:33 +00:00
Adriano dos Santos Fernandes
9c76811fae
Improvement CORE-6058 - Change behavior of skipped and repeated wall times within time zones.
2019-05-01 16:32:29 -03:00
firebirds
b656c3ae84
increment build number
2019-04-27 00:03:20 +00:00
hvlad
3f5e93abbb
Addition for CORE-6043 : GTTs do not release used space
...
Avoid races at PAG_release\PAG_allocate
2019-04-26 13:20:07 +03:00
firebirds
6dae00c417
increment build number
2019-04-26 00:03:27 +00:00
Adriano dos Santos Fernandes
5ca2d8640b
Fixed another case for CORE-6046.
...
Incorrect time zone parsing reads garbage in memory.
2019-04-24 21:21:46 -03:00
firebirds
01ab5f9854
increment build number
2019-04-25 00:03:38 +00:00
Adriano dos Santos Fernandes
c1b85aeb85
Change RDB$TRANSACTIONS.RDB$TIMESTAMP and RDB$BACKUP_HISTORY.RDB$TIMESTAMP to TIMESTAMP WITH TIME ZONE.
2019-04-24 13:44:32 -03:00
firebirds
0572cf60e4
increment build number
2019-04-24 00:03:33 +00:00
AlexPeshkoff
732785b3a5
Frontported CORE-6050: When FB 3 fbclient.dll connects to a remote FB 2.5 server, it tries to open local (client-side) directories and files
2019-04-23 10:36:30 +03:00
firebirds
a570f4ba34
increment build number
2019-04-23 00:03:42 +00:00
hvlad
3f794b6c9c
Fixed bug CORE-3925 : Creating self-referential FK crashes database (bug-check) whether constraint violation had place
2019-04-22 13:34:18 +03:00
firebirds
e109b7d9a3
increment build number
2019-04-19 00:03:30 +00:00
Egor Pugin
80ee64310e
Add replication to CMake build.
2019-04-18 13:45:29 +03:00
Egor Pugin
cd13b03560
Fix VS2019 build.
2019-04-18 13:45:29 +03:00
firebirds
6f48cbdbe4
increment build number
2019-04-18 00:03:28 +00:00
AlexPeshkoff
d43f7c458f
Renamed one more code on Vlad's request
2019-04-17 13:00:23 +03:00
AlexPeshkoff
d2539121cb
Added runtime check for hex string length
2019-04-17 12:46:34 +03:00
AlexPeshkoff
399c03fefa
Renamed error code
2019-04-17 11:54:27 +03:00
AlexPeshkoff
5cbd2aaaeb
Implemented CORE-6049: Builtin functions converting binary string to hexadecimal representation and vice versa
2019-04-17 10:57:06 +03:00
firebirds
e2391d9e91
increment build number
2019-04-16 00:03:50 +00:00
Adriano dos Santos Fernandes
89c09d1320
Improve some error names/constants.
2019-04-15 12:22:10 -03:00
firebirds
6b53d19360
increment build number
2019-04-15 00:03:31 +00:00
AlexPeshkoff
b30b7e2358
Fixed CORE-6038: Srp user manager sporadically creates users which can not attach
2019-04-14 21:02:11 +03:00
firebirds
e9f7492d22
increment build number
2019-04-14 00:03:28 +00:00
AlexPeshkoff
456e7a03cf
Implemented CORE-4726: REcreate user <user_name> password <user_pwd>
2019-04-13 21:21:56 +03:00
firebirds
786190c97f
increment build number
2019-04-13 00:03:24 +00:00
hvlad
7ce2a344f0
Fixed bug CORE-6043 : GTTs do not release used space
2019-04-12 15:44:18 +03:00
firebirds
40b331609a
increment build number
2019-04-12 00:03:26 +00:00
Adriano dos Santos Fernandes
f00d04cbcf
Fixed CORE-6040 - Metadata script extracted using ISQL is invalid/incorrect when table has COMPUTED BY field.
2019-04-11 12:52:18 -03:00
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
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
firebirds
958f517008
increment build number
2019-03-07 00:03:29 +00: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
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