AlexPeshkoff
055ec89b6a
Fix for #7188 : Memory leak when using multi-database transactions
2022-06-09 20:52:03 +03:00
Vlad Khorsun
25ddf6750d
Missed piece for ancient backups and some misc stuff.
2022-06-09 18:55:18 +03:00
Vlad Khorsun
8450cc65a1
DIRECT_IO now works for restore too.
...
Also, fixed bug in backup introduced by recent change.
2022-06-09 18:54:09 +03:00
AlexPeshkoff
df959d04bc
Fixed small and rare memory leaks related with 7204
2022-06-09 18:42:09 +03:00
firebirds
8a6d09674c
increment build number
2022-06-09 00:05:37 +00:00
AlexPeshkoff
7d9f9f20f6
Fixed #7204 : Segfault in gbak when restoring broken backup file over the wire
2022-06-08 20:24:16 +03:00
Dmitry Starodubov
4667c93915
Corrected determining of relation's security class for checking access rights to BLOB.
2022-06-08 13:20:52 +03:00
Vlad Khorsun
659705f3c5
Optimize concurrent bulk inserts of blobs.
2022-06-07 19:49:00 +03:00
Vlad Khorsun
7227b9af2d
This makes concurrent bulk inserts to not fight for the same data page.
...
This is especially critical for CS performance.
2022-06-07 11:56:32 +03:00
firebirds
ac20b6c08d
increment build number
2022-06-07 00:05:34 +00:00
AlexPeshkoff
31807ead87
Fixed #7200 : DROP DATABASE lead FB to hang if it is issued while DB encrypting/decrypting is in progress
2022-06-06 19:54:55 +03:00
Dmitry Yemanov
8c6c7e483e
Correction
2022-06-06 12:32:19 +03:00
AlexPeshkoff
78c6792dd0
Restored global mutex location in the code
2022-06-06 10:35:42 +03:00
Vlad Khorsun
1e082b5e29
Some semaphores are replaced by condition variables to avoid polling with timeout.
2022-06-05 17:33:15 +03:00
Vlad Khorsun
7597cf932d
Avoid file flushing when database is restored by multiple workers.
2022-06-05 17:31:43 +03:00
firebirds
d90b361835
increment build number
2022-06-04 00:05:33 +00:00
AlexPeshkoff
0d5c71d90a
Posfix for #7199 : Various errors (strange messages in firebird.log, segfaults) with high rate of attach/detach database operations: partially restored old logic to avoid problems with replication shutdown
2022-06-03 18:38:59 +03:00
AlexPeshkoff
b0700cc328
Fixed #7199 : Various errors (strange messages in firebird.log, segfaults) with high rate of attach/detach database operations
2022-06-03 18:10:07 +03:00
Vlad Khorsun
c0de952179
Cleanup
2022-06-03 12:25:02 +03:00
Vlad Khorsun
e5badeb332
More corrections according to Adriano review
2022-06-03 11:22:57 +03:00
firebirds
32f1aa0278
increment build number
2022-06-03 00:05:20 +00:00
Vlad Khorsun
f881f3119c
Corrections according to Adriano review
2022-06-02 22:36:08 +03:00
Dmitry Yemanov
c61e186e2e
Fixed (fingers crossed) crash during index creation (observed during restore)
2022-06-02 20:30:50 +03:00
AlexPeshkoff
4a3649dd9f
Fixed #7197 : Segfault in linux CS after successful detach from database
2022-06-02 11:25:43 +03:00
firebirds
fec49660b2
increment build number
2022-06-02 00:05:28 +00:00
Andrey Kravchenko
89d90ae39c
Fix crash when accessing already cleared memory in the sorting module ( #7195 )
...
* Add reuse buffer flag to Sort
Fix crash when accessing already cleared memory. In the following case:
- specific record size;
- the maximum size of the allocated map buffer is greater than MAX_SORT_BUFFER_SIZE;
- unable to allocate memory in dbb_permament pool, throw BadAlloc exception;
- buffer of size MAX_SORT_BUFFER_SIZE must be allocated in the owner's pool.
In the Sort::releaseBuffer procedure, the allocated buffer goes into
the dbb_sort_buffers cache.
After the request is completed, the owner's pool is cleared and
the pointer in dbb_sort_buffers cache will be corrupted. The next
request, which will take the buffer from cache, throw with error.
* Simplifying the condition of the last commit
Co-authored-by: Andrey Kravchenko <andrey.kravchenko@red-soft.ru>
2022-06-01 20:05:28 +03:00
Vlad Khorsun
fa90269460
Parallel backup, restore and sweep.
2022-05-31 20:29:36 +03:00
firebirds
12b5de3983
increment build number
2022-05-25 00:06:59 +00:00
AlexPeshkoff
ed126e2e60
Avoid races in mapping clear delivery init/fini under high load
2022-05-24 14:19:39 +03:00
AlexPeshkoff
06cb1751ab
Implemented #7194 : Make it possible to avoid fbclient dependency in pascal programs using firebird.pas
2022-05-24 13:33:29 +03:00
firebirds
039ee9f1b2
increment build number
2022-05-24 00:06:21 +00:00
aleksey.mochalov
778b6a43de
Fixes #7191 : set failure exit code after exception caught in gstat routine
2022-05-23 16:00:49 +03:00
firebirds
d2e9a7b0b2
increment build number
2022-05-21 00:07:03 +00:00
Adriano dos Santos Fernandes
a94baa5100
Fix #7183 - Regression when derived table has column evaluated as result of subquery with IN(), ANY() or ALL() predicate:
...
"invalid BLR at offset ... / context already in use"
2022-05-20 11:08:51 -03:00
firebirds
f70a884e8f
increment build number
2022-05-20 00:07:10 +00:00
aleksey.mochalov
42c35d2e14
Fix for #7178 : gather DEFAULT roles granted to PUBLIC user along with roles granted to user directly
2022-05-19 14:01:47 -03:00
firebirds
93b005fa85
increment build number
2022-05-19 00:07:31 +00:00
Adriano dos Santos Fernandes
27f83f50b8
Postfix for #7179 - Wrong error message - "string right truncation. expected length 30, actual 30".
2022-05-18 18:06:52 -03:00
AlexPeshkoff
6a81088aa3
Fixed #7184 : gbak output not flushing
2022-05-18 13:51:26 +03:00
firebirds
38e4b4dac6
increment build number
2022-05-14 00:06:43 +00:00
Adriano dos Santos Fernandes
1bb89356c8
Add possibility to have default expressions in system packages' procedures and functions parameters.
2022-05-13 10:42:29 -03:00
firebirds
73aa49604f
increment build number
2022-05-12 00:06:27 +00:00
Adriano dos Santos Fernandes
dd18a3b11b
Fix #7179 - Wrong error message - "string right truncation. expected length 30, actual 30"
2022-05-11 15:02:39 -03:00
firebirds
bdd2332115
increment build number
2022-05-07 00:07:17 +00:00
Adriano dos Santos Fernandes
c653787881
Put debug option DSQL_KEEP_BLR into statement cache's key.
2022-05-05 22:34:02 -03:00
firebirds
917e88126e
increment build number
2022-05-06 00:06:51 +00:00
Adriano dos Santos Fernandes
00a0992e95
Postfix for #7176 .
2022-05-05 08:17:48 -03:00
Adriano dos Santos Fernandes
a8f26b3e3d
Fix #7176 - Incorrect error "Invalid token. Malformed string." with union + blob + non utf8 varchar.
2022-05-04 22:09:02 -03:00
firebirds
120201ed5a
increment build number
2022-05-01 00:06:59 +00:00
Mark Rotteveel
43cedfed24
Remove Travis-ci from master
2022-04-30 11:44:59 +02:00