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