hvlad
d5faade0ab
Backport improvement CORE-3537 : There is no need to undo changes made in GTT created with ON COMMIT DELETE ROWS option when transaction is rolled back.
2011-06-24 13:14:27 +00:00
hvlad
08842c35c9
Backport improvement CORE-3536 : Garbage collection in GTT is unnecessary delayed by active transactions in another attachments
2011-06-24 13:08:59 +00:00
hvlad
bfaab762ac
Backported : don't try to undo changes when invalidated transaction is rolled back. I.e. force rollback via TIP if transaction was invalidated.
2011-06-24 11:48:06 +00:00
hvlad
ecb52d34a1
Fixed bug CORE-3525 : Autonomous transactions should not inherit run-time flags of "parent" transaction
2011-06-16 08:44:27 +00:00
dimitr
1974ff619e
Refactored the shared counter to support multiple number spaces.
...
Changed att_id and tra_id to be generated sequentially (without caching), as agreed with Vlad privately.
Fixed CORE-2305: Make mon$statement_id value constant among monitoring snapshots.
2011-02-14 17:05:23 +00:00
hvlad
b2b911fe6c
Improvement CORE-3323 : Ability to cancel waiting in lock manager
2011-02-02 10:27:48 +00:00
dimitr
db756441ce
Avoid destructing the temporary transaction twice. This is expected to fix the crash reported in CORE-3207.
2010-11-08 19:43:53 +00:00
asfernandes
9e3ebc4807
Fix problem with table reservation and views based in procedures
2009-12-24 14:43:54 +00:00
alexpeshkoff
b19dacee16
Ported fix for CORE-2634: Performance regression when restoring database with big metadata
2009-09-29 10:35:16 +00:00
robocop
11b4c9b388
Style.
2009-08-23 09:49:58 +00:00
robocop
53e0eb32e0
Comment.
2009-08-21 09:45:08 +00:00
asfernandes
097b0ca2c2
Misc
2009-06-25 02:29:13 +00:00
hvlad
1a0c3da584
Fixed bug CORE-2268 : GFIX causes BUGCHECK errors with non valid transaction numbers
2009-06-24 11:45:16 +00:00
robocop
2e3ce0d23d
Misc.
2009-06-07 09:49:58 +00:00
hvlad
7c9a94b391
Implement sub-task CORE-1647 : Close external table's file even if it used by some cached (inactive) requests.
...
It also fixed bug CORE-2475 : External table data not visible to other sessions in Classic.
2009-06-03 09:59:45 +00:00
robocop
888000e21e
Unused function params.
2009-04-26 10:24:44 +00:00
dimitr
10683e50ee
Simplification.
2009-04-10 11:43:20 +00:00
alexpeshkoff
d7313f63db
Fixed check for length of isc_tpb_lock_timeout parameter - it can be up to 4 bytes, but should not be numerically greater than MAX_SSHORT
2009-04-10 10:28:51 +00:00
asfernandes
f6f364da49
Trim trailling spaces
2009-04-04 16:39:31 +00:00
dimitr
712c68d5a0
Misc.
2009-03-31 04:14:31 +00:00
hvlad
31596ff3e4
Move MAX_TRA_NUMBER to the header file.
...
Fix AV in TRA_sweep when new transaction can't be started
2009-03-01 10:25:54 +00:00
hvlad
311facc76f
Destroy temporary transaction block if exception occurs at transaction start.
2009-02-28 20:11:49 +00:00
alexpeshkoff
36ffc511e3
misc
2009-02-20 08:14:18 +00:00
asfernandes
e0848b3ba8
Do not delete a pointer from a forward declaration
2009-02-19 22:33:15 +00:00
alexpeshkoff
40e2f7f892
Fixed transactions support in user management commands
2009-02-19 12:59:32 +00:00
asfernandes
612c108e3e
Misc
2009-02-02 03:35:52 +00:00
hvlad
115602ff06
Trace services support
2009-02-01 22:10:12 +00:00
robocop
3689f15321
Style.
2009-01-20 08:33:59 +00:00
robocop
efbc559a8f
The last param to LCK_convert is not BOOL or bool but LCK_WAIT (1) or LCK_NO_WAIT (0) according to lock.h, -1 (infinite) or a custom value (provided as negative value by jrd_tra::getLockWait() since the user must input a positive value when starting the txn).
2009-01-03 09:34:42 +00:00
robocop
6406e45337
Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.)
2009-01-02 06:36:12 +00:00
asfernandes
5a85277726
Misc
2008-12-25 14:25:01 +00:00
robocop
762d7e1392
Style.
2008-12-25 06:09:37 +00:00
robocop
29f1b0d641
Style.
2008-12-18 12:09:35 +00:00
asfernandes
744e83f240
Misc
2008-12-03 01:05:53 +00:00
hvlad
36e1866a1d
Few fixes to correctly close brocken external connection.
...
Ability to stop execution of external query when :
- engine is shutted down
- database is shutted down
- local statement is cancelled
- local connection is cancelled
2008-11-27 23:06:48 +00:00
asfernandes
ad716e38d9
Misc
2008-10-20 23:46:46 +00:00
robocop
60d4b42518
Straighten some multi-line statements that can fit in less than 100 columns.
2008-10-16 11:30:10 +00:00
dimitr
c4530625d9
Undo log shouldn't depend on the outer transaction.
2008-10-16 05:36:36 +00:00
dimitr
e0db5f3ecd
Splitted the undo log into two parts: in-memory one for initial undo items (but they're much more dense now) and on-disk (cached up to TempSpaceLimit) one for full record versions (used in update-in-place).
...
This dramatically reduces the memory usage for bulk updates, thus solving CORE-1575 (serious memory bug on multiple update a table in a single transaction) and CORE-1477 (Avoiding excessive memory consumption by undo-log after series of updates) and predicting out-of-memory conditions that could often lead to record-level corruptions.
2008-10-14 10:32:54 +00:00
hvlad
a3d266ba83
Fixed bug CORE-2018 : Only one client can access a readonly database
2008-10-14 09:10:36 +00:00
alexpeshkoff
e79f55708d
1. Cleanup - use Firebird::Semaphore instead of local events, removed code
...
related with local events from isc_sync.cpp.
2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().
3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).
4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).
5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
alexpeshkoff
13a15d4bfe
1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
...
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
alexpeshkoff
a2e416210b
Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
...
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
alexpeshkoff
e0109ab067
1. Use DFW to store data for user management.
...
2. Minor cleanup in DFW, fixed memory leaks.
2008-05-21 08:13:20 +00:00
asfernandes
c9202a3767
Misc
2008-05-18 02:02:50 +00:00
alexpeshkoff
0552035ce5
Added transaction support in user management commands
2008-05-15 15:15:02 +00:00
hvlad
85aed9d302
Make ViewContext::vcx_context_name able to store more than 31 chars as was discussed in fb-devel. Thanks to Claudio for the tips.
2008-05-11 21:27:21 +00:00
dimitr
0a9e8c8382
Implemented CORE-1751. The changes include:
...
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
hvlad
9280a572a0
Avoid long blocking of att_mutex and make sure it is always released when attachment deleted.
...
Move active requests cancellation at engine shutdown from Y-valve into engine and let them stop execution before deletion of attachments.
Make sweep run in separate thread despite of engine architecture.
2008-05-04 12:49:29 +00:00
dimitr
c66a8cb62a
Misc.
2008-04-30 19:16:12 +00:00