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
dimitr
7fc85de737
Misc.
2008-04-17 07:54:10 +00:00
robocop
bf0db00991
Misc.
2008-04-13 06:40:26 +00:00
hvlad
fe3f8c184b
New EXECUTE STATEMENT with support of external data source implementation
2008-04-09 20:18:47 +00:00
robocop
922206ecc7
Fix comment.
2008-04-09 13:46:22 +00:00
hvlad
4224fce3ff
Clear lock error in TRA_sweep else it is wrongly reported as failure of currently starting transaction.
2008-04-05 23:06:31 +00:00
asfernandes
21da64cca7
Link blobs of autonomous transaction with the outer transaction - to fix invalid BLOB ID errors.
2008-04-05 19:28:52 +00:00
dimitr
2f41d8e8ba
Corrections for the currently disabled code.
2008-04-02 12:42:09 +00:00
dimitr
f5659c0b70
1) Major cleanup of the old-style blk and allocator-based blk_type.
...
2) Added synchronization for the JRD locks.
2008-03-19 16:19:56 +00:00
robocop
f5db14b277
Pass some tdbb's as arguments.
2008-03-18 13:04:05 +00:00
asfernandes
12c50384b5
Misc
2008-03-13 02:43:32 +00:00
dimitr
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
04106ddde6
More fixes for CORE-1600.
...
CORE-1777.
2008-03-12 07:33:12 +00:00
asfernandes
74d8711856
Misc
2008-03-08 21:20:26 +00:00
robocop
c8082004d2
CORE-1600. Needs testing with any sort of valid and invalid TPBs.
2008-03-07 07:28:57 +00:00
robocop
2d8ac2acb9
CORE-1600, work in progress, before I have to return to my private work.
2008-03-06 09:43:43 +00:00
dimitr
99caa91b85
DSQL integration into the engine.
2008-02-28 13:48:16 +00:00
robocop
f8007f4071
Misc.
2008-02-24 03:23:40 +00:00
alexpeshkoff
19b903f0c5
fixed posix build
2008-02-14 11:52:59 +00:00
dimitr
9c69da779a
Misc.
2008-02-13 16:46:11 +00:00
robocop
4c3381ef6b
Style, constness and macro cleanup.
2008-02-03 10:41:44 +00:00
dimitr
a38b327886
Cleanup. Get rid of the JrdMemoryPool.
2008-01-29 10:11:52 +00:00
dimitr
43594ed53a
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 13:17:19 +00:00
alexpeshkoff
955819dfd4
better way to fix a problem - suggested by Dmitry
2008-01-23 14:20:40 +00:00
alexpeshkoff
28a6d557ed
One more deletePool - also added destructor
2008-01-23 14:12:15 +00:00
alexpeshkoff
578e81508b
Call transaction destructor before removing transaction pool
2008-01-23 13:44:03 +00:00
dimitr
48e81dd58a
The merge is being fixed.
2008-01-16 12:22:11 +00:00
alexpeshkoff
eea9070f48
Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster
2007-12-03 15:46:39 +00:00
hvlad
2b47bbe55b
Revert files back after wrong commit
2007-11-19 00:21:18 +00:00
hvlad
86f1141328
Execute statement with support of external data source
2007-11-18 22:59:20 +00:00
robocop
4de70004e6
Relax the txn option checks as required by Dmitry.
2007-09-11 07:47:41 +00:00
asfernandes
0359e65d4f
It's difficult for human beings distinguish between l (letter) and 1 (number one)
2007-09-10 00:26:45 +00:00
robocop
d59376ef7c
Fix CORE-1440.
2007-09-04 08:22:48 +00:00
asfernandes
f3ba6d4fa5
Misc
2007-08-29 02:33:35 +00:00
robocop
66d30dac5c
Let's detect wait/no_wait conflict as requested by Dmitry.
2007-08-28 05:28:24 +00:00
robocop
786039bb28
Implement a variation of the suggested fix in CORE-1416:
...
- Use isc_bad_tpb_content instead of isc_bad_tpb_form seems better, considering the rest of the cases.
- Detect another trivial case: wait once no_wait has been seen previously.
2007-08-25 08:06:09 +00:00
dimitr
1d4a090bcf
Misc.
2007-03-09 08:56:31 +00:00
alexpeshkoff
cef61d5d3c
Fixed unregistered bug, reported privately by Adriano
2007-02-12 15:52:57 +00:00
dimitr
bdee46366b
Misc.
2007-02-12 10:18:43 +00:00
dimitr
99c2df56b6
Changed cancellation implementation to work at the transaction level as being more efficient.
2007-01-07 15:15:06 +00:00