8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 15:23:03 +01:00
Commit Graph

104 Commits

Author SHA1 Message Date
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
roman-simakov
db1c8760c3 Completed HTML format output for fb_lock_print. Added links to que. 2008-04-05 14:55:16 +00:00
roman-simakov
2b408da73a Added HTML format output for fb_lock_print 2008-04-04 14:15:59 +00:00
hvlad
259fafa647 Implement CORE-1819 : More efficient solution for CORE-1300 2008-04-02 23:46:59 +00:00
dimitr
3d47e0c21e Added thread ID to the owner block (mostly for debugging purposes). 2008-03-25 10:39:29 +00:00
dimitr
b7a575e43f Cleanup. 2008-02-13 16:47:34 +00:00
dimitr
49d23b6d22 Major changes in the lock manager, targeted to allow mixed in-process/cross-process working modes. Namely, they are:
1) Separate process and owner blocks. Multiplex blocking signals via single blocking thread.
2) Enable direct in-process AST delivery.
3) Drop PREVENT_OWNER_STARVATION code as not compatible with the new LM structure.
4) Synchronize LM using its own mutex instead of SCH.
5) Implement wakeup'n'remap code for waiting owners.
6) Add more debugging points for memory remaps.
7) Cleanup and style.
Hopefully, this attempt is more POSIX-friendly than my previous one.
2008-02-11 17:30:23 +00:00
robocop
dc74571185 Use a native, two dimensional array. 2008-02-02 17:06:24 +00:00
dimitr
1dd06bb484 The merge continued. 2008-01-16 07:40:12 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
hvlad
8d6787665c Fix alignment issues 2007-09-07 07:41:07 +00:00
robocop
97dbdef560 Paranoid buffer overrun protection. 2007-09-02 09:52:42 +00:00
asfernandes
ff4145e88d Misc 2007-08-30 02:40:29 +00:00
hvlad
871df7e5c5 Use memcpy instead of byte copying as Adriano suggested 2007-08-29 22:27:31 +00:00
hvlad
b741d97fd5 Make fb_lock_print print lock keys for database pages in page_space:page_number format 2007-08-29 08:33:48 +00:00