firebirds
b5154afb6e
increment build number
2020-07-08 00:02:22 +00:00
hvlad
a1116feb60
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-07 16:11:39 +03:00
hvlad
f470a21801
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-07 15:57:24 +03:00
firebirds
8a0ca3d726
increment build number
2020-07-04 00:02:23 +00:00
AlexPeshkoff
6fe8d15b05
Backported CORE-6348: Wire compression causes freezes
2020-07-03 08:26:42 +03:00
firebirds
db14b155e6
increment build number
2020-07-03 00:02:25 +00:00
hvlad
1f67b03df8
This should fix bug CORE-6346 : New connection to the server hangs
2020-07-02 15:11:44 +03:00
firebirds
17a22c4dec
increment build number
2020-07-01 00:02:35 +00:00
Adriano dos Santos Fernandes
5d961c0b9f
Fixed CORE-6340 - Alternate quoting does not work on some particular cases.
2020-06-30 15:30:53 -03:00
firebirds
d54b13e1d8
increment build number
2020-06-30 00:02:26 +00:00
Adriano dos Santos Fernandes
45eecfc200
Misc.
2020-06-28 22:30:35 -03:00
firebirds
36b3f3e5ae
increment build number
2020-06-26 08:30:29 +00:00
AlexPeshkoff
fb6b36b028
Backported CORE-6345: Server crashes on overflow of division result
2020-06-26 10:11:08 +03:00
firebirds
4becedeb01
increment build number
2020-06-26 00:03:59 +00:00
Dmitry Yemanov
8a837bd7fd
Correction
2020-06-25 19:57:11 +03:00
Dmitry Yemanov
8b328f86de
This should fix CORE-6343
2020-06-25 19:55:06 +03:00
firebirds
aab9125f5e
increment build number
2020-06-24 00:05:07 +00:00
Dmitry Yemanov
650fa8a7ee
Revert "CORE-6295 - Include the contents of ntrace.h in ibase.h"
...
This reverts commit 1390335c40
.
2020-06-23 08:18:16 +03:00
firebirds
8b44338d1b
increment build number
2020-06-22 00:06:04 +00:00
hvlad
07a75e3534
Move declarations into namespace, force zero-based enum as Dmitry suggested.
2020-06-20 16:16:54 +03:00
hvlad
da83f29fd1
Move public declarations from ntrace.h into firebird/Interface.h.
2020-06-20 14:34:07 +03:00
Paul Reeves
1390335c40
CORE-6295 - Include the contents of ntrace.h in ibase.h
2020-06-20 12:09:04 +02:00
firebirds
9b61ec69f8
increment build number
2020-06-20 00:05:23 +00:00
firebirds
c8a42e324b
increment build number
2020-06-18 00:05:47 +00:00
AlexPeshkoff
4e4ce2dd2b
Backported CORE-6329: GBAK with service_mgr and WinSSPI authentication for Windows SYSTEM user producing error in clumplet API
2020-06-17 19:43:53 +03:00
hvlad
85e5b9b740
Fixed one more case of bug CORE-5087 : Database shutdown can cause server crash if multiple attachments run EXECUTE STATEMENT
2020-06-17 17:19:38 +03:00
firebirds
4d10716dca
increment build number
2020-06-16 00:05:51 +00:00
AlexPeshkoff
165347e167
Backported CORE-6334: Missing relocation support
2020-06-15 20:08:03 +03:00
firebirds
51046dad9b
increment build number
2020-06-15 00:05:55 +00:00
hvlad
3ea84bf616
Fixed random conversion errors (FBT test "functional.gtcs.cast-datatypes" failed sometimes).
2020-06-13 14:19:38 +03:00
firebirds
6047b68edd
increment build number
2020-06-12 00:05:35 +00:00
Adriano dos Santos Fernandes
8f782971db
Fixed CORE-6331 - Memory leak with some statements and expressions.
2020-06-11 19:33:21 -03:00
hvlad
4668e67f1c
Support for blr_marks BLR code from FB4. It allows to ignore blr_marks in case of its presence in downgraded database.
2020-06-11 12:36:01 +03:00
hvlad
62d9c1f19c
This should fix unregistered bug : connection timeout doesn't work for INET if remote side is not answered on op_connect packet
2020-06-11 10:59:40 +03:00
hvlad
04452e32b9
Backport fix for bug CORE-6296 : Many connections results in poor performance
2020-06-11 10:58:44 +03:00
hvlad
fdf758099c
Fixed bug CORE-6319 : NBACKUP locks db file on error
2020-06-11 10:49:21 +03:00
hvlad
aedc224f5f
Fixed assert in Statement::freeClientData().
2020-06-11 10:45:43 +03:00
firebirds
0685997041
increment build number
2020-06-09 00:05:51 +00:00
firebirds
678d4bcabd
increment build number
2020-06-05 00:06:18 +00:00
Dmitry Yemanov
b49ecc87a8
Postfix, thanks to Adriano
2020-06-04 09:36:11 +03:00
firebirds
9b5bf478bc
increment build number
2020-06-04 00:05:54 +00:00
dyemanov
64bb799e5c
This should fix CORE-6323: File-system ID may be duplicated among databases located on different volumes.
2020-06-03 20:04:48 +03:00
Dmitry Yemanov
e254f58c1e
Make the reschedule accounting simpler and sweep more responsive under load
2020-06-02 12:55:00 +03:00
firebirds
902a322a7a
increment build number
2020-05-29 00:13:58 +00:00
Adriano dos Santos Fernandes
f6c912f61f
Correction for my previous commit.
...
CORE-6317 - Server is crashing on long GRANT statement.
2020-05-28 13:32:20 -03:00
Adriano dos Santos Fernandes
e1bfd75750
Fixed CORE-6317 - Server is crashing on long GRANT statement.
2020-05-28 12:59:43 -03:00
firebirds
70ba20d166
increment build number
2020-05-23 00:05:33 +00:00
Adriano dos Santos Fernandes
e19c193b61
Backport fix for CORE-6310 and CORE-6314:
...
- CORE-6310: Varchar length limit is not enforced when assigning string with trailing spaces in MBCS
- CORE-6314: Assigning RDB$DB_KEY to MBCS CHAR/VARCHAR does not enforce the target limit
2020-05-22 13:22:23 -03:00
firebirds
2e191f13c3
increment build number
2020-05-20 00:05:27 +00:00
AlexPeshkoff
706dc73586
Backported CORE-6309: fbsvcmgr can not decode information buffer returned by gfix list limbo service
2020-05-19 11:27:03 +03:00
firebirds
e99c9f46f8
increment build number
2020-05-15 00:05:09 +00:00
Adriano dos Santos Fernandes
996b36087e
Fix MacOS build with xcode 9.2.
2020-05-14 13:15:03 -03:00
Adriano dos Santos Fernandes
986e0a5238
Fix Travis (Ubuntu Xenial) build.
...
This reverts commit 07456f37cd
.
2020-05-14 11:54:16 -03:00
firebirds
4fdd3d644a
increment build number
2020-05-09 00:07:27 +00:00
firebirds
456516515d
increment build number
2020-04-24 00:05:49 +00:00
Adriano dos Santos Fernandes
c2f132a53a
Fixed CORE-6290 - Hex number used at end of statement (for exame with CREATE DOMAIN ... DEFAULT)
...
may read invalid memory and produce wrong values or exceptions.
2020-04-23 16:13:16 +00:00
firebirds
0c67001db0
increment build number
2020-04-18 00:06:37 +00:00
AlexPeshkoff
eec05dae8d
Improved code to ensure better compatibility with older engines. Checked restore on 2.5 (clean) and 2.1 (with recoverable errors, database in single maintenance mode).
2020-04-17 15:42:55 +03:00
firebirds
a6e6d6391d
increment build number
2020-04-16 00:05:43 +00:00
Adriano dos Santos Fernandes
bba40d5c1f
Fixed CORE-6280 - MERGE statement loses parameters in WHEN (NOT) MATCHED clause
...
that will never be matched, crashes server in some situations.
2020-04-15 17:05:11 +00:00
AlexPeshkoff
67b4040c44
Backported CORE-6283: isNullable() in message metadata, returned by metadata builder, does not match with datatype set by setType() in metadata
2020-04-15 18:17:45 +03:00
firebirds
451202fadd
increment build number
2020-04-15 00:07:58 +00:00
AlexPeshkoff
b78fb61639
Backported fix for unregistered bug: error handling in main server loop is broken
2020-04-14 17:40:21 +03:00
firebirds
f572870d8b
increment build number
2020-04-10 00:06:20 +00:00
AlexPeshkoff
95f0135b2a
Backported fix for CORE-5364: gfix -online normal <db> (being issued in window #1 ) does not produce error when there is sysdba attachment in window #2
2020-04-09 15:26:41 +03:00
firebirds
38bb214de7
increment build number
2020-04-08 00:06:22 +00:00
Alex Peshkoff
d39f26a7fd
Fixed CORE-6230: Unable to connect with database if security.db reference is removed from databases.conf file
2020-04-07 12:42:41 +03:00
firebirds
8c5f561e03
increment build number
2020-04-04 00:05:38 +00:00
Adriano dos Santos Fernandes
c7de40c6ac
Improvement CORE-6274 - Increase parse speed of long queries.
2020-04-03 16:34:59 +00:00
Adriano dos Santos Fernandes
bf6bc9c865
Trim trailing spaces.
2020-04-03 16:31:35 +00:00
firebirds
d084ece0bd
increment build number
2020-04-02 00:05:43 +00:00
Alex Peshkoff
38f5016008
Backported CORE-6264: gbak with PIPE to stdout: invalid content if user '-se <host>:service_mgr' command switch
2020-04-01 13:20:06 +03:00
firebirds
7b2fe4baa2
increment build number
2020-03-27 00:06:55 +00:00
hvlad
70ed61cba8
Correct my old fix for CORE-5470 - use converters in correct order
2020-03-26 13:31:33 +02:00
firebirds
69ceb1c756
increment build number
2020-03-26 00:07:59 +00:00
AlexPeshkoff
2672ed09a4
Backported hexadecimal output in cloop
2020-03-25 12:33:06 +03:00
firebirds
441aafeefa
increment build number
2020-03-21 00:05:32 +00:00
Adriano dos Santos Fernandes
7d2dca2469
Fixed CORE-6246 - Problem with too many number of columns in resultset.
2020-03-20 14:27:57 -03:00
firebirds
e3fe698863
increment build number
2020-03-20 00:06:04 +00:00
Dmitry Yemanov
914ae096d6
Fixed CORE-6266
2020-03-19 16:14:47 +03:00
firebirds
50149afccf
increment build number
2020-03-19 00:06:03 +00:00
AlexPeshkoff
63170bfc74
Backported CORE-6265: mapping rules destroyed by backup / restore
2020-03-18 13:49:37 +03:00
firebirds
bfbd0ff60d
increment build number
2020-03-17 00:06:27 +00:00
AlexPeshkoff
773e2f6845
Regenerated Firebird.pas
2020-03-16 17:17:34 +03:00
firebirds
6ed8ed8a92
increment build number
2020-03-12 00:07:06 +00:00
hvlad
10cff221cb
Lost assert
2020-03-11 21:08:00 +02:00
hvlad
af5d3a7fed
Avoid potential warnings. Thanks to Adriano and Alex.
2020-03-11 19:58:41 +02:00
Artyom Smirnov
f931b0b0b1
CORE-5972: Fix working external triggers with computed fields
...
Now it works not only with simple expressions, but with subqueries too.
2020-03-11 11:36:35 -03:00
firebirds
bc2b202b62
increment build number
2020-03-06 00:05:56 +00:00
Adriano dos Santos Fernandes
7da1fc98d0
Fixed CORE-6233 - Wrong dependencies of stored function on view after backup and restore.
2020-03-05 20:53:10 -03:00
firebirds
ada5330839
increment build number
2020-03-05 00:05:57 +00:00
AlexPeshkoff
a779a7da4d
Fixed CORE-6260: Warnings not always displayed in ISQL
2020-03-04 18:58:45 +03:00
hvlad
a9b049e04b
Additional assertions related to the recent patch for bug CORE-6224
2020-03-04 17:11:54 +02:00
firebirds
fd9dacaa3e
increment build number
2020-03-03 00:05:48 +00:00
hvlad
d0a009ee61
Fixed bug CORE-6224 : [AV] Re-destruction of the rem_port object
2020-03-02 19:08:34 +02:00
firebirds
0861d1eaa5
increment build number
2020-02-28 00:05:45 +00:00
Dmitry Yemanov
4890c3baf3
Yet another postfix
2020-02-27 12:34:42 +03:00
firebirds
6401f76b2f
increment build number
2020-02-27 00:05:58 +00:00
Dmitry Yemanov
2ce7fd74f0
Postfix cleanup
2020-02-26 20:37:58 +03:00
Dmitry Yemanov
9a8c893b71
Avoid calling MOV_compare() for NULL values
2020-02-26 20:19:35 +03:00
firebirds
100421eec1
increment build number
2020-02-26 00:06:00 +00:00
hvlad
6aa0609aa7
Fixed bug CORE-6253 : Crash via locked fb_lock file
2020-02-25 12:51:48 +02:00
firebirds
8d56515fd7
increment build number
2020-02-24 00:06:08 +00:00
hvlad
9a25464cbe
Fixed bug CORE-6252 : UNIQUE CONSTRAINT violation
2020-02-23 22:31:05 +02:00
firebirds
59d0db1d2f
increment build number
2020-02-22 00:06:03 +00:00
Adriano dos Santos Fernandes
1f13d17349
Postfix for CORE-6250 - Signature mismatch when creating package body on identical packaged procedure header.
2020-02-21 16:17:54 +00:00
faserg1
b28882eadf
Fix alpine build
2020-02-21 14:47:21 +03:00
firebirds
2288797c75
increment build number
2020-02-21 00:06:04 +00:00
hvlad
b205e049e0
Fixed bug CORE-6254 : AV in engine when using SET TRANSACTION and ON TRANSACTION START trigger uses EXECUTE STATEMENT against current transaction
2020-02-20 18:39:30 +02:00
firebirds
4a4623ef62
increment build number
2020-02-20 00:06:26 +00:00
Adriano dos Santos Fernandes
2d6a2b6989
Fixed CORE-6251 - Regression: crash when built-in function LEFT() or RIGHT() missed 2nd argument (number of characters to be taken).
2020-02-19 15:18:29 +00:00
Adriano dos Santos Fernandes
7b21d3b193
Fixed CORE-6250 - Signature mismatch when creating package body on identical packaged procedure header.
2020-02-19 01:24:27 +00:00
firebirds
ed52c247fe
increment build number
2020-02-19 00:06:07 +00:00
hvlad
8e5034c957
This should fix Linux build
2020-02-19 01:54:43 +02:00
hvlad
bef4e5ffad
Backport new feature CORE-4933 : Add better transaction control to isql
2020-02-18 23:47:09 +02:00
firebirds
b296cb2bff
increment build number
2020-02-09 00:05:49 +00:00
firebirds
b22778dd18
increment build number
2020-02-08 00:05:53 +00:00
Ilya Eremin
9d3f0822e6
SQUADFORMAT macro is used for SINT64 in printf() format string
2020-02-07 18:57:47 +03:00
Ilya Eremin
094969dcdf
Fixed bug when string argument of status is destroyed before raise() call
2020-02-07 18:57:47 +03:00
Ilya Eremin
52ab84ed6d
Fixed CORE-6110: 64-bit transaction IDs are not stored properly in status vector
...
Arg::Str is used instead of Arg::Num for isc_concurrent_transaction, isc_rec_in_limbo, isc_tra_state error messages because transaction number is 64-bit signed integer.
2020-02-07 18:57:47 +03:00
Dmitry Yemanov
15e2a9af15
This should fix empty routine names reported during DROP operations
2020-02-07 10:43:36 +03:00
firebirds
741488aaf4
increment build number
2020-02-07 00:06:05 +00:00
Dmitry Yemanov
dbd9b09fb0
This should fix CORE-6216: request size limit exceeded when selecting from a table with large number of indicies
2020-02-06 19:20:17 +03:00
Dmitry Yemanov
a332d8191c
One more fix for possible hangs inside the monotoring shmem code
2020-02-06 16:10:21 +03:00
firebirds
db653c47d8
increment build number
2020-02-01 00:05:48 +00:00
Alexander Peshkov
9e1109cbd8
Merge pull request #255 from FirebirdSQL/SrpPerf3
...
Backported CORE-6237: Fixed performance issue with SRP plugin (added connections cache)
2020-01-31 15:25:25 +03:00
firebirds
cb5c7f3961
increment build number
2020-01-30 00:06:21 +00:00
Adriano dos Santos Fernandes
1d5f6b4d55
Fix misleading error message about CORE-5802.
...
Actual fix for the problem is not possible in v3.
2020-01-29 15:57:33 +00:00
AlexPeshkoff
485d302bdd
Backported CORE-6237: Performance issue - security database connections cache in SRP plugin
2020-01-24 19:03:52 +03:00
firebirds
c2ea95ed5e
increment build number
2020-01-21 00:05:42 +00:00
Dmitry Yemanov
2ca20610ec
Raised the version number
2020-01-20 15:19:15 +03:00
Adriano dos Santos Fernandes
73287e3d62
Fixed CORE-6116 - The Metadata script extracted using ISQL of a database restored from
...
a Firebird 2.5.9 Backup is invalid/incorrect when table has COMPUTED BY field.
2020-01-19 23:09:22 -03:00
Adriano dos Santos Fernandes
778542d122
Backport fix for CORE-5862 - Varchar computed column without explicit type does not populate RDB$CHARACTER_LENGTH.
2020-01-19 23:03:48 -03:00
firebirds
b4a41ce8c8
increment build number
2020-01-18 00:05:38 +00:00
hvlad
839c9f6b85
Fixed bug CORE-6231 : access violation on shutdown of xnet connection to local database when events have been registered
2020-01-17 15:14:53 +02:00
firebirds
499864a16a
increment build number
2020-01-15 00:05:24 +00:00
AlexPeshkoff
2ce4f72752
Backported CORE-6227: isc_info_svc_user_dbpath always returns alias of main security database
2020-01-14 17:13:23 +03:00
firebirds
118018b52d
increment build number
2020-01-14 00:05:41 +00:00
AlexPeshkoff
91c99bd43f
Backported CORE-2251: gbak doesn't return error code
2020-01-13 20:24:12 +03:00
Kovalenko Dmitry
63f95ea838
Correction of RefPtr::assign
...
When RefPtr::assign returns to caller it (object) may be already destroyed. As result "return ptr" will access (read 'ptr' member) the destroyed object.
The correct code - 'return p;'
Note: usually smart pointers do not return internal/raw pointers. They return reference to himself.
2020-01-13 19:15:33 +03:00
AlexPeshkoff
c6df8f4487
Backported CORE-6208: Grant lost in security.db after backup/restore cycle
2020-01-13 17:30:01 +03:00
AlexPeshkoff
9fdd0d36d6
Make firebird engine use classic mode during boot build
2020-01-13 17:10:38 +03:00
AlexPeshkoff
e126a21a7c
Disable simultaneous access to read-only database from multiple processes in SS mode
2020-01-13 17:10:26 +03:00
firebirds
9bc1c60234
increment build number
2020-01-13 00:06:02 +00:00
Dmitry Yemanov
76e4f0838f
Avoid unnecessary operations in the destructor. This also prevents possible hangs in Classic builds.
2020-01-12 10:38:44 +03:00
firebirds
0e00467dbf
increment build number
2020-01-11 00:05:22 +00:00
AlexPeshkoff
67dcc12ae8
Backported CORE-6217: Wrong work with pointer: delete ptr; ptr=new ;
2020-01-10 14:11:36 +03:00
AlexPeshkoff
d27a422c63
Backported CORE-6221: Incorrect (throw-based) allocFunc for zlib
2020-01-10 13:59:43 +03:00
firebirds
0c14ba9d3d
increment build number
2020-01-07 00:05:58 +00:00
firebirds
de9264cf65
increment build number
2020-01-04 00:05:33 +00:00
firebirds
c511f35f16
increment build number
2020-01-02 00:05:39 +00:00
firebirds
28457cf492
increment build number
2019-12-23 00:05:43 +00:00
Dmitry Yemanov
4ddc81f86b
This should fix regression for test core_0053.fbt
2019-12-22 11:34:52 +03:00
firebirds
85f1788d95
increment build number
2019-12-21 00:06:01 +00:00
Dmitry Yemanov
160ec3901b
Fixed dumb mistake in my recent commit
2019-12-20 12:39:17 +03:00
Dmitry Yemanov
f7e7c513a1
Minor correction for Vlad's solution to CORE-4680
2019-12-20 12:39:17 +03:00
firebirds
c785afe4c4
increment build number
2019-12-17 00:06:11 +00:00
Dmitry Yemanov
2294d6573d
Fixed races during shmem reattaching
2019-12-16 18:50:59 +03:00
Dmitry Yemanov
6c262aa30a
Reworked my recent optimizer patch
2019-12-16 18:50:59 +03:00
firebirds
2a7fc5f5b0
increment build number
2019-12-14 00:05:43 +00:00
Dmitry Yemanov
92e2f4d66a
Attempted to fix the optimizer regression related to sorting vs compound indices
2019-12-13 10:29:57 +03:00
Dmitry Yemanov
6cae06628c
Cast the parameters to match the API declaration. This removes warnings in the generated code.
2019-12-13 10:29:57 +03:00
Dmitry Yemanov
d0353a8972
Fixed inconsistency between attachment/transaction states and their request states
2019-12-13 10:29:57 +03:00
firebirds
f62c4f5e5f
increment build number
2019-12-12 00:06:28 +00:00
hvlad
97131a52d7
Fixed bug CORE-6204 : FB crash because TraceSvcJrd::checkPrivileges can pass NULL in 'alias'
2019-12-11 20:56:19 +02:00
firebirds
cc614c3a91
increment build number
2019-12-11 00:09:02 +00:00
AlexPeshkoff
5cc9880778
Backported CORE-6141: fbsvcmgr action_repair rpr_list_limbo_trans does not show list of transactions in LIMBO state
2019-12-10 19:42:17 +03:00
firebirds
5bbc7d2ad3
increment build number
2019-12-10 00:07:14 +00:00
hvlad
89243337e6
Let logAndDie() call abort() on all platforms.
...
It prevent hung when process exits (instead of aborts) and tries to release resources.
2019-12-09 13:59:29 +02:00
firebirds
e157266d52
increment build number
2019-12-08 00:05:56 +00:00
hvlad
d678801a85
Backport addition for CORE-4463:
...
Avoid handle leak after killing hung child process.
Print child's stderr after child is gone to not loose very last childs output.
2019-12-07 20:04:04 +02:00
firebirds
a0774ed7a3
increment build number
2019-12-07 00:05:28 +00:00
AlexPeshkoff
176ab0e64f
Backported CORE-6203: "Error reading data from the connection" is raised sometimes when using non-default authentication plugin
2019-12-06 18:26:35 +03:00
Vlad Khorsun
f165f6f996
Merge pull request #239 from FirebirdSQL/work/core-4463
...
Sub-task CORE-4463: Windows implementation for CORE-4462 (Make it pos…
2019-12-06 12:58:20 +02:00
hvlad
ec0d1432eb
Better name for print_child_error() method
2019-12-06 11:49:27 +02:00
Andrey Kravchenko
fc67e18131
Fix deleted memory use in optimizer ( #242 )
...
In function gen_retrieval (jrd/opt.cpp) created OptimizerRetrieval and
call getInversion, where created InversionCandidateList and after
analyzeNavigation variable navigationCandidate linked to item of list.
After clean up the list in function gen_retrieval call getNavigation
where using variable navigationCandidate.
2019-12-06 10:18:42 +03:00
hvlad
c2cfa78241
Prevent child process hung if it writes too much data to the pipe and overflow the pipe buffer.
...
Preserve child eol's when print child stderr data.
Try to distinguish case when child's stdout closed abnormally.
2019-12-05 12:34:35 +02:00
firebirds
b85a307334
increment build number
2019-12-04 00:05:25 +00:00
Adriano dos Santos Fernandes
5791d8fa17
Merge pull request #238 from FirebirdSQL/work/v3-github-actions
...
Add Travis MacOS build, GitHub Actions MacOS/Windows build and adjust MacOS build to be (almost) relocatable.
While MacOS people seems to be ok with fixed locations for applications and libraries, this complicates a lot the (post)
build process, needing to change each id and rpaths in a very error prone process.
Relocatable binaries makes this a lot easier, but unfortunately "restricted" (chmod +s, like firebird executable)
programs cannot use @loader_path or @executable_path in its rpath.
So the solution has to make internal libraries relocatable and make rpath of firebird fixed. Also, as the ecosystem
seems to use fixed path, the id of fbclient.dylib has set to its fixed path.
Also MacOS post build makefile has adjusted to allow creation of packages for the debug build.
The MacOS build could still be improved with some scripts to build ICU (instead of done directly in the CI scripts,
but I leave that for now) and copies its files to our lib path. However situation seems to be better than before in
relation to ICU and TomMath.
Note: Linux build is not working in GitHub Actions. It segfaults when running (exiting) utilities.
I had this problem lot's of time in the past, maybe it's not completely fixed in v3.
2019-12-03 13:11:05 -03:00
hvlad
f219283b72
Sub-task CORE-4463: Windows implementation for CORE-4462 (Make it possible to restore compressed .nbk files without explicitly decompressing them)
2019-12-02 13:03:58 +02:00
firebirds
e66ea16254
increment build number
2019-11-28 00:04:50 +00:00
Roman Simakov
74f4810822
Backport of the fix from the master branch: Now CREATE FUNCTION/PROCEDURE inside CREATE PACKAGE does not require CREATE FUNCTION/PROCEDURE privilege
...
It's not really necessary since there are no packages in 3.0 but the
patch fixes TDBB_trusted_ddl flag reset. So let it be.
2019-11-27 17:50:20 +03:00
firebirds
ba18366723
increment build number
2019-11-27 00:04:34 +00:00
Adriano dos Santos Fernandes
9ed0e28b09
Add Travis MacOS build, GitHub Actions MacOS/Windows build and adjust MacOS build to be (almost) relocatable.
...
While MacOS people seems to be ok with fixed locations for applications and libraries, this complicates a lot the (post)
build process, needing to change each id and rpaths in a very error prone process.
Relocatable binaries makes this a lot easier, but unfortunately "restricted" (chmod +s, like firebird executable)
programs cannot use @loader_path or @executable_path in its rpath.
So the solution has to make internal libraries relocatable and make rpath of firebird fixed. Also, as the ecosystem
seems to use fixed path, the id of fbclient.dylib has set to its fixed path.
Also MacOS post build makefile has adjusted to allow creation of packages for the debug build.
The MacOS build could still be improved with some scripts to build ICU (instead of done directly in the CI scripts,
but I leave that for now) and copies its files to our lib path. However situation seems to be better than before in
relation to ICU and TomMath.
Note: Linux build is not working in GitHub Actions. It segfaults when running (exiting) utilities.
I had this problem lot's of time in the past, maybe it's not completely fixed in v3.
2019-11-26 13:11:55 -03:00
Dmitry Starodubov
78510edbf2
Fixed CORE-6198: Wrong error checking for pread / pwrite calls
2019-11-26 15:21:19 +03:00
firebirds
973991d726
increment build number
2019-11-25 00:04:53 +00:00
Adriano dos Santos Fernandes
db635c9dcd
Fix CORE-6197 - Memory leak in INET_connect().
2019-11-24 20:25:21 -03:00
firebirds
64a1ba948e
increment build number
2019-11-14 00:07:04 +00:00
hvlad
62ef3c6edf
MSVC declare uintXXX_t types at stdint.h
2019-11-13 19:19:25 +02:00
Adriano dos Santos Fernandes
9007a085b1
Try to fix VS 2015 build.
2019-11-13 13:01:56 -03:00
Adriano dos Santos Fernandes
21cdc0a79f
Fixed CORE-5902 - Add Firebird Event fails with error ( #232 )
...
* Fixed CORE-5902 - Add Firebird Event fails with error
"While isc_que_events - Failed to establish a secondary connection for event processing".
2019-11-13 12:11:28 -03:00
firebirds
83098ce6eb
increment build number
2019-11-07 00:04:44 +00:00
hvlad
1c13dbbe45
Fixed bug CORE-6182 : ExtConnPoolLifeTime acts as countdown for activity in MOST RECENT database (of several) rather then separate for each of used databases
2019-11-06 16:18:43 +02:00
firebirds
437e5f2c4c
increment build number
2019-10-30 00:05:01 +00:00
Dmitry Yemanov
c05df456f9
Fixed CORE-6171: No current record for fetch operation with queries with aggregated subselect
2019-10-29 14:48:50 +03:00
firebirds
e9c89ec6da
increment build number
2019-10-28 00:04:02 +00:00
Dmitry Yemanov
5c2579eefb
Simplification as suggested by Adriano
2019-10-27 09:26:07 +03:00
firebirds
fb320be12c
increment build number
2019-10-26 00:04:39 +00:00
Dmitry Yemanov
1304b312ad
Fixed races during attach/detach to the monitoring shared file (similarly to how it was done for other shmem files)
2019-10-25 14:40:27 +03:00
firebirds
8bd2339b41
increment build number
2019-10-20 00:04:38 +00:00
Alex Peshkoff
c3aea14d1d
Backported CORE-6163: Generator pages are not encrypted
2019-10-19 14:49:32 +02:00
firebirds
23bddfe706
increment build number
2019-10-12 00:04:36 +00:00
AlexPeshkoff
66742f8849
Backported CORE-6000: gbak issues "Your user name and password are not defined" when command switch "-fe(tch_password) ..." is specified when run as service
2019-10-11 19:59:08 +03:00
firebirds
2a33ed93c7
increment build number
2019-10-02 00:05:05 +00:00
firebirds
a0a2dc18df
increment build number
2019-10-01 00:04:22 +00:00
hvlad
25148074f6
This should fix double close of srcBlob if extBlob->close() failed
2019-09-30 14:43:11 +03:00
hvlad
6f96daf168
This should fix broken LRU pending chain
2019-09-30 14:36:36 +03:00
hvlad
53c0bd7664
Fixed bug CORE-6150 : Bugcheck when PK\UK\FK constraint check read record already marked as damaged
2019-09-30 14:36:12 +03:00
firebirds
738e3de1cf
increment build number
2019-09-20 00:04:28 +00:00
Ilya Eremin
eb31af0f38
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:34:56 +03:00
firebirds
4d001c9e1c
increment build number
2019-09-15 00:04:04 +00:00
hvlad
7e70c013ee
Fixed bug CORE-6138 : Inconsistent behavior regarding visibility of master record on detail inserts
...
Dmitry, please review
2019-09-14 14:25:17 +03:00
firebirds
5d64979bdf
increment build number
2019-09-14 00:04:24 +00:00
Alex Peshkoff
cdbb04dd57
Backported CORE-6143: Error 'Multiple maps found for ...' is raised in not appropriate case
2019-09-13 20:31:50 +03:00
hvlad
2c7fcdb993
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 11:54:09 +03:00
firebirds
535b2a3add
increment build number
2019-09-06 00:04:42 +00:00
hvlad
83396d5b19
Fixed bug CORE-6137 : Server crashes when it run SQL
2019-09-05 22:08:05 +03:00
Alex Peshkoff
d8f449d1a2
An attempt to fix CORE-6134: Win_Sspi in the list of auth plugins leads message about failed login to be changed (from 'Your user name and password are not defined...' to 'Missing security context ...')
2019-09-05 16:56:32 +03:00
firebirds
874bdb7337
increment build number
2019-09-04 00:04:18 +00:00
Adriano dos Santos Fernandes
47f0659a1f
Fix usage of C++11 in v3.
2019-09-03 13:34:30 -03:00
Adriano dos Santos Fernandes
da7a3cc554
Fixed CORE-6108 - Regression: FB3 throws "Datatypes are not comparable in expression" in procedure parameters.
2019-09-03 12:48:15 -03:00
Adriano dos Santos Fernandes
e98f05fe70
Fixed CORE-6087 - Problem with casting within UNION.
2019-09-03 12:20:39 -03:00
Adriano dos Santos Fernandes
04deca31dd
Fix CORE-6068 - Server hangs when compiling big package with error.
2019-09-03 12:15:23 -03:00
firebirds
0a7f078b93
increment build number
2019-08-14 00:04:10 +00:00
firebirds
367e008865
increment build number
2019-07-24 00:04:24 +00:00
Dmitry Yemanov
b3b57d39b6
Backport fixed diagnostics
2019-07-23 10:30:04 +03:00
firebirds
90511d7074
increment build number
2019-07-21 00:04:16 +00:00
Dmitry Yemanov
b63c2d933f
Update generated .pas file
2019-07-20 11:52:48 +03:00
Dmitry Yemanov
64487b7a10
Make indentation consistent
2019-07-20 11:52:48 +03:00
Dmitry Yemanov
4280f2b704
Fixed CORE-6104: incorrect erroris thrown when an embedded user does not have SELECT permissions
2019-07-20 11:52:48 +03:00
firebirds
eb46a8dd7e
increment build number
2019-07-13 00:04:25 +00:00
Dmitry Yemanov
7591e316ee
This should fix CORE-6097: Connection does not see itself in the MON
2019-07-12 11:26:52 +03:00
hvlad
c77d381d5c
Improvement CORE-6095 : Extend trace record for COMMIT/ROLLBACK RETAINING to allow chaining of transaction ids
2019-07-12 10:56:59 +03:00
firebirds
a0c3911232
increment build number
2019-07-11 00:04:22 +00:00
Alex Peshkoff
eae0235e0e
Backported CORE-5784: Lock folder inizialization is not multi-process safe
2019-07-10 18:33:40 +03:00
firebirds
6ff6a60df9
increment build number
2019-07-09 00:04:37 +00:00
firebirds
0091e77d83
increment build number
2019-07-06 00:04:28 +00:00
Alex Peshkoff
d9481dbe43
Authentication block, received by client plugin from engine, might contain trash
2019-07-05 13:58:04 +03:00
firebirds
5bb27cc07f
increment build number
2019-07-04 00:04:26 +00:00
firebirds
68f3083f26
increment build number
2019-07-02 00:04:44 +00:00
Alex Peshkoff
f6334a00cd
Postfix for CORE-6091, thanks to Vlad
2019-07-01 20:07:32 +03:00
Alex Peshkoff
b02b4d6b14
Fixed CORE-6091: Errors when processing correct SQL statements in engine12 provider loaded by FB4 server
2019-07-01 19:44:23 +03:00
firebirds
f02adf035d
increment build number
2019-07-01 00:04:42 +00:00
Dmitry Yemanov
2e1f3f82c5
Rework bugfix for CORE-5600 to avoid regression CORE-6089
2019-06-30 21:05:47 +03:00
Dmitry Yemanov
27ae588920
This should fix CORE-6090: BLOB fields may be suddenly set to NULLs during UPDATE after a table format change
2019-06-30 21:05:47 +03:00
firebirds
c4782d17c0
increment build number
2019-06-29 00:04:44 +00:00
Alex Peshkoff
2d233da36a
Fix for CORE-6072 - make firebird always work with security database from databases.conf
2019-06-28 18:49:28 +03:00
Alex Peshkoff
5ba7e2f420
Avoid unneeded cast
2019-06-28 18:25:11 +03:00
Alex Peshkoff
326b546844
Partial fix for CORE-6072 - reworked potentially buggy approach when adding different kind of strings to the clumplet
2019-06-28 18:23:52 +03:00
Alex Peshkoff
0ed7a468dd
Partial fix for CORE-6072 - use configured providers internally (except loopback)
2019-06-27 14:11:28 +03:00