8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 07:23:08 +01:00
Commit Graph

354 Commits

Author SHA1 Message Date
c1296050a6 Fixed CORE-5610: Provide info about database (or alias) which was in use during "Error during sweep: connection shutdown" 2017-09-20 13:08:38 +03:00
bc00115038 Fixed CORE-5591: Engine hangs soon after some errors during transaction start 2017-08-02 15:03:58 +03:00
3897136029 Fixed deadlock introduced by me half-a-year ago 2017-05-19 17:29:17 +03:00
Adriano dos Santos Fernandes
0dbef7f93d Fixed CORE-5533 - Crash on 3.0 and 4.0 when DB contains database-level trigger. 2017-05-10 15:46:58 +00:00
hvlad
9eed4d0595 Missed piece in 64-bit transaction numbers support 2017-05-05 16:40:29 +03:00
hvlad
bad0c72025 A bit changed fix for bug CORE-5415, now it includes current tx (Next) too 2017-03-21 14:20:49 +02:00
hvlad
fcc44c19b2 Fixed bug CORE-5415 : [security3.fdb] wrong page type page 22 is of wrong type (expected pointer, found index root) 2017-03-21 13:07:59 +02:00
Adriano dos Santos Fernandes
cae7bdd658 Misc. 2017-01-15 12:53:50 -02:00
hvlad
3cc273d99d Correction 2017-01-06 17:03:09 +02:00
hvlad
23a55f0b45 Improvement CORE-5434 : Read-only transactions in SuperServer could avoid immediate write of Header and TIP pages after change 2017-01-03 18:42:32 +02:00
5e70385a16 Fixed CORE-5433: Minor performance optimization - avoid additional database attachment from security objects mapping code 2016-12-30 19:28:37 +03:00
Adriano dos Santos Fernandes
1e592de776 Misc. 2016-11-13 09:55:21 -02:00
Dmitry Starodubov
70acd97746 Added check for access rights to BLOBs (#53)
This security fix helps to avoid a case when user guessing blob ID in one or other way gets access to the blob which should not be accessible for him.
2016-10-18 10:39:04 +03:00
Dmitry Yemanov
6d70adfc97 Fix a couple of issues with transaction numbers. 2016-07-24 11:22:07 +03:00
Dmitry Yemanov
53630eb84e Merge pull request #29 from aafemt/CORE-5252
Fix CORE-5252
2016-06-29 23:19:39 +03:00
hvlad
6c1fb82629 Additional fix for CORE-4645, thanks to Dmitry 2016-06-28 14:47:00 +03:00
d042f60ed7 Fix CORE-5252 2016-06-14 19:03:14 +02:00
7ad99b795e Added support for system privileges 2016-05-31 20:07:08 +03:00
hvlad
eb5c0123c7 Little optimization 2016-05-31 18:20:01 +03:00
Dmitry Yemanov
46a7d66246 Change the savepoint start function, as suggested by Dimitry Sibiryakov. 2016-05-15 18:51:55 +03:00
Dmitry Yemanov
f2d0b64ba2 Misc adjustments after CORE-5232 and more encapsulation for the Lock
class.
2016-05-10 10:44:30 +03:00
Dmitry Yemanov
522f4c09bd Switch to 64-bit savepoint numbers as a straightforward solution for
CORE-5228 (Restore may hang if the database contains more than 4 billion
records).
2016-05-06 23:18:36 +03:00
Dmitry Yemanov
174c252e0c Major refactoring of savepoints. Beware of possible regressions. 2016-05-06 20:16:14 +03:00
Adriano dos Santos Fernandes
899e92c20c Misc. 2016-04-10 00:08:35 -03:00
hvlad
3f06ba27c2 Fixed code formatting accidentally broken by my recent commit 2016-04-08 23:11:06 +03:00
hvlad
6a169ddf0a Front ported fix for bug CORE-4645 : internal Firebird consistency check (cannot find tip page (165), file: tra.cpp line: 2375) 2016-04-07 21:55:17 +03:00
Adriano dos Santos Fernandes
ede09bf269 Misc. 2016-04-03 16:26:11 -03:00
83845251c5 Added VIO prefix as requested 2016-03-29 11:52:25 +02:00
Dmitry Yemanov
6ae1145394 Merge pull request #10 from aafemt/CORE-5174
Fix CORE-5174
2016-03-28 18:07:26 +03:00
Adriano dos Santos Fernandes
cf1a65dece Misc. 2016-03-27 23:36:37 -03:00
a8949baecf Fix CORE-5174 2016-03-27 14:43:25 +02:00
Dmitry Yemanov
a1086589b6 Fixed handling of non-ASCII table names inside TPB. 2016-03-23 10:29:35 +03:00
hvlad
9ae426a757 Please MSVC14:
-add space before XXXFORMAT macros to not confuse it with user-defined literals

-use existing snprintf

This should fix part of the issues at CORE-5099 and CORE-5120
2016-03-17 12:33:26 +02:00
aafemt
27395a0831 Savepoints refactoring that fixes CORE-4701, CORE-4424 and CORE-4483 2016-03-02 15:33:16 +00:00
hvlad
f2c8f05846 Front ported for CORE-5067 : Blocking new connections as a consequence of the too long sweep security2.fdb 2016-02-17 09:21:09 +00:00
dimitr
dc7aad88ed 1) Slightly refactored recheduling and checkout logic.
2) Re-enabled checkouts in PIO routines, this resolves CORE-4179. Windows build may be broken, please validate.
3) Implemented faster reaction on asynchronous cancellation/shutdown requests.
4) Avoided locking dbb_sync in AST. This change also solves races during massive attachment shutdown.
2015-11-29 15:12:31 +00:00
dimitr
b5c3e3503f Fixed regression for bugs.core_2268. 2015-10-22 17:40:49 +00:00
dimitr
d395f35235 Misc. 2015-10-20 13:07:53 +00:00
dimitr
4e4d8002e5 CORE-4965: Extend the transaction ID space beyond 2^32 transactions. Initially developed in the v2.5 custom branch, then reworked and now merged into v3.0. 2015-10-19 13:32:02 +00:00
alexpeshkoff
139331c7e3 Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
hvlad
0ebb4a1891 Protect dbb_pc_transactions vector in concurrent environment. 2015-09-22 10:17:38 +00:00
alexpeshkoff
16768b177d Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry 2015-03-27 17:51:19 +00:00
alexpeshkoff
c4c9daf132 Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods. 2015-03-20 18:02:30 +00:00
alexpeshkoff
7fed9ff78c cleanup 2015-03-05 16:18:46 +00:00
dimitr
e545a9866c Let's be on the paranoid side when committing. 2015-02-25 20:35:09 +00:00
hvlad
93024a2aa0 Fixed regression in 32-bit builds: transaction numbers in sweep info (both trace event and firebird.log message) printed incorrectly 2015-02-22 10:49:56 +00:00
dimitr
2ae888cac2 Protection against exceptions thrown from VIO_verb_cleanup() during commit/rollback. 2015-02-19 15:58:58 +00:00
dimitr
6abc6ae7d1 1) Fixed CORE-4382: User savepoints are not released on commit.
2) Respect the "no-auto-undo" option when retaining a transaction context.
Thanks to Dimitry Sibiryakov.
2015-02-19 14:43:26 +00:00
dimitr
6ae3e2cbaf 1) Fixed CORE-4383: Index and BLOBs garbage collection doesn't work for update_in_place().
2) Applied the same approach to temporary GC records.
3) Refactored the Record class to avoid reallocations, to improve encapsulation and to simplify the code.
4) Slightly refactored UndoItem to isolate its logic from the Record class.
5) Reduced the in-memory size of the undo log.
6) Slightly better alternative to the legacy NULL reporting for outer joins.
7) Minor fixes and adjustments in BufferedStream.
2015-02-19 14:15:00 +00:00
asfernandes
47f64b0da4 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.

(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00