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
asfernandes
c861f0cd54
Revert my last change after it broke the Windows build.
2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71
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.
2015-02-17 14:56:59 +00:00
dimitr
cc8cc680a3
Core (engine-level) support for scrollable DSQL cursors. Fixed the IResultSet API to match the JDBC spec. Renamed FB_EOF to FB_NO_DATA. Refactored some DSQL internals.
2015-01-27 10:29:30 +00:00
asfernandes
0463754347
Misc.
2014-10-25 18:39:45 +00:00
alexpeshkoff
5ccc32e0ed
Better place for trace-related constants, thanks to Vlad
2014-09-30 15:04:14 +00:00
alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
alexpeshkoff
2a293c2691
Implemented CORE-4538: Access rights for CREATE DATABASE operator
2014-09-02 16:55:14 +00:00
alexpeshkoff
d513daa574
Divide IStatus information into 3 parts: errors, warnings and completion code.
...
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.
Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
dimitr
36af3d8cb2
Cleanup and small refactoring to avoid redundancy.
2014-08-15 14:19:02 +00:00
dimitr
6199136792
Refactored database monitoring, made its handling attachment bound. This should make deadlocks impossible, as well as avoid blocking worker connections while the monitoring request is processed.
2014-07-31 08:56:53 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
alexpeshkoff
568861d2d7
Cleanup - removed unused any more service time only switches trusted_user & trusted_role
2014-06-25 11:20:42 +00:00
alexpeshkoff
6a2016235a
Fixed CORE-4435: After calling release() for attachment to database (instead detach) in embedded mode attachment remains active forever (and some cleanup re. reference counters)
2014-06-10 07:13:34 +00:00
dimitr
96c17523f3
Totally misc.
2014-05-29 07:19:29 +00:00
alexpeshkoff
cbfed4663a
Names cleanup - thanks to Claudio
2014-04-07 07:17:42 +00:00
dimitr
e6186e457a
Fixed one more possible case of LM error kept in the status vector after successful execution.
2014-04-05 18:27:10 +00:00
robocop
c90d9d4547
Misc.
2014-04-05 01:44:32 +00:00
alexpeshkoff
20e846369e
Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names)
2014-04-04 15:57:18 +00:00
robocop
966a2c8db3
Do not take explicit locks on virtual/sys/temp tables using TPBs.
2014-03-28 22:00:05 +00:00
robocop
66af445e2e
Misc.
2014-03-22 20:51:24 +00:00
asfernandes
2aa3e8dd4d
Working in progress on the fix for CORE-4271: unify as possible the handling of procedures and functions.
2013-12-12 14:42:31 +00:00
asfernandes
9c9dd72977
Misc.
2013-11-24 03:21:11 +00:00
alexpeshkoff
4a8fe5a0de
Implemented CORE-4273: Per-database control on access to database from remote stations
2013-11-22 15:21:11 +00:00
asfernandes
d543daf51a
Misc.
2013-11-21 01:17:08 +00:00
dimitr
5356088542
Misc.
2013-11-12 14:24:19 +00:00
hvlad
37344e12bf
Fixed bug CORE-4260 : Bugcheck 165 (cannot find tip page) happens if engine crashed right after CREATE DATABASE
2013-11-11 14:44:52 +00:00
asfernandes
dc99961e8b
Misc.
2013-10-13 23:44:57 +00:00
hvlad
db70a7742d
Fixed bug CORE-3921 : "record disappeared (186), file: vio.cpp line: 408"
2013-09-12 19:08:59 +00:00
alexpeshkoff
a8f8465366
Postfix for CORE-3935 & CORE-3944: helps avoid segfaults/deadlocks when shutting down firebird
2013-08-16 12:44:10 +00:00
hvlad
c12e731b6a
Fixed bug CORE-4134 : Race condition when auto-sweep is started
2013-06-29 11:32:55 +00:00
hvlad
bd4b8d9e28
Removed allocation of temp transaction object.
2013-06-19 11:46:38 +00:00
hvlad
3c7f8623fd
Fixed bug CORE-4100 : Automatic sweep could be run when there is no need for it
2013-05-15 14:28:51 +00:00
alexpeshkoff
97b4b8c2c2
Postfix for CORE-3908: Engine leaks memory and crashes when lot of autonomous transactions have been started and finished
2013-02-28 16:23:56 +00:00
alexpeshkoff
3f2477e8f5
Fixed CORE-3908: Engine leaks memory and crashes when lot of autonomous transactions have been started and finished
2013-02-27 14:49:14 +00:00
dimitr
e29b50f980
Front ported my yesterday's commits to trunk.
2012-12-23 07:10:56 +00:00