alexpeshkoff
4ca6e669fe
1. Fixed CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot.
...
2. Cleanup: avoid functional style in stuff exception.
2012-11-01 11:40:18 +00:00
robocop
f601bbdb8b
Misc.
2012-08-08 02:20:30 +00:00
asfernandes
a9324d3733
Misc.
2012-07-19 01:52:38 +00:00
hvlad
cbcbdeb1f6
Improvement CORE-3879 : Make fb_lock_print a bit more handy
2012-06-28 07:49:14 +00:00
dimitr
42a4c93b97
1) Removed the no longer actual "parent lock" concept from both the lock and event managers.
...
2) Reworked the lock manager synchronization: added the RAII mutex holders and avoided dirty reads for the shared memory.
3) Encapsulated lck_length into the Lock class + small related refactoring.
4) Front ported recent fixes from the v2.x branches.
5) Misc cleanup.
2012-06-21 15:37:38 +00:00
alexpeshkoff
2f7c526728
Implemented CORE-3788: Make all utilities follow same rules when expanding database name
2012-03-14 08:46:27 +00:00
robocop
42089b62ce
Misc: delete obsolete workaround.
2012-03-05 03:56:36 +00:00
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00
dimitr
e719c87753
Make locks unconditionally granted in the fair order. The legacy behavior is unsafe in the highly loaded systems.
2011-12-23 17:50:44 +00:00
dimitr
498a61af43
Allowed multiple waiting requests per owner. This resolves various crashes and asserts in the SharedDatabase + SharedCache mode. Page-level deadlocks are still expected, the cache manager needs fixing.
...
Also, made the lock table synchronization a bit stricter. Some refactoring and cleanup was performed as well.
2011-12-23 17:07:33 +00:00
dimitr
18df9a3ab7
Raised the lock table version. Some cleanup.
2011-11-29 08:14:49 +00:00
alexpeshkoff
c8bcf1e7d6
warnings
2011-01-21 16:45:15 +00:00
alexpeshkoff
2e6361c58d
misc
2011-01-14 17:01:40 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
robocop
4edd547b17
Misc.
2010-06-30 08:55:16 +00:00
asfernandes
5baf890a21
Misc
2010-06-26 01:18:53 +00:00
alexpeshkoff
6cbefa1f46
Introduced class SharedMemory - base class for everything, using IPC. Related to CORE-3035.
2010-06-25 11:55:11 +00:00
alexpeshkoff
e5017f1a12
Extend format of firebird configuration file with a set of additional parameters for any parameter.
...
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
dimitr
1936cdc50b
Fixed the interactive lock print header for waits. It was showing non-supported columns.
2009-12-07 16:22:39 +00:00
asfernandes
0797f937a3
Misc
2009-12-07 15:55:40 +00:00
dimitr
abd3a32e0f
Implemented CORE-1906: Allow interactive arguments (seconds and intervals) of fb_lock_print to be 32-bit integers.
2009-12-07 09:47:00 +00:00
hvlad
9473425cb2
Fix fb_lock_print compilation
2009-12-06 09:36:52 +00:00
asfernandes
90dfb9a411
Misc
2009-09-30 01:10:11 +00:00
robocop
c0d166edf3
Just in case.
2009-09-29 07:33:30 +00:00
alexpeshkoff
ecbf4312a1
Implemented CORE-2644: Make lock table expandable on HPUX
2009-09-28 16:03:44 +00:00
dimitr
5cdc00d947
Corrections per Claudio's request.
2009-08-21 12:04:53 +00:00
dimitr
c16b693999
Added ISC_mutex_fini(), per Claudio's request. Also added ISC_unmap_file().
...
Moved the consistency switch handling into the proper scope. Fixed the memory allocation.
2009-08-19 17:05:07 +00:00
dimitr
28adc69db6
Fixed CORE-2598: fb_lock_print -c[onsistency] switch doesn't work on Windows.
2009-08-19 09:54:52 +00:00
robocop
e71bd1400d
Comments.
2009-08-14 07:25:09 +00:00
robocop
7c01c50390
Style.
2009-08-13 14:23:38 +00:00
asfernandes
8a94ecf6bc
Misc
2009-06-29 02:06:00 +00:00
robocop
fc2fcf98da
Style.
2009-06-27 07:00:34 +00:00
robocop
f10e1b72eb
Style.
2009-06-27 06:23:36 +00:00
alexpeshkoff
77498cac9b
Fixed some warnings
2009-04-03 10:49:07 +00:00
robocop
5acf561eb6
Get rid of some typedefs.
2009-04-02 08:53:25 +00:00
alexpeshkoff
cc69cf7c6e
Fixed CORE-2354: "fb_lock_print -ia" output is not flushed to a file between iterations
2009-03-10 12:27:48 +00:00
robocop
096d8e78e6
Trying to be more consistent in the detection of headers (HAVE_* macros).
2009-02-08 11:38:00 +00:00
robocop
24e8b3b942
At least to me, this change is a bug fix.
2009-02-03 10:59:58 +00:00
dimitr
a5cf1d69bf
Misc. This change follows the solution in unix.cpp.
2009-01-29 17:18:52 +00:00
alexpeshkoff
9843069833
fixed posix build
2009-01-28 14:13:56 +00:00
dimitr
115780718f
Make fb_lock_print compatible with the latest commit. Still requires some polishing.
2009-01-28 13:38:06 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
robocop
3b189eaf71
Misc: unused assignment.
2008-12-30 11:27:44 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
dimitr
f18f99ff32
Cleanup.
2008-10-20 11:12:01 +00:00
hvlad
6ce4216ba3
Fixed bug CORE-1984 : Lock manager reported false deadlocks if one of deadlock participants waits with permitted timeout
2008-07-09 07:57:50 +00:00
asfernandes
7fc608346a
Misc
2008-06-21 02:25:39 +00:00
skidder
f3bd98b5d8
In firebird 2.1/2.5 fb_lock_print was corrupting (truncating) lock table if run against non-working engine or when -F option is used. This was a regression from Firebird 2.0 for Unix platforms
2008-06-20 03:52:59 +00:00
dimitr
ec1d5a91b4
1) Encapsulated the lock manager and integrated it into the engine.
...
2) Replaced "early" (before LM) checkouts with "late" (inside LM) ones.
3) Removed the mutex protection that's no longer necessary.
Note: the new LM contains some future code (currently commented out) which will be enabled and tested after the Alpha release.
2008-06-07 09:08:16 +00:00