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

88 Commits

Author SHA1 Message Date
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
robocop
7274dc89c1 Totally misc. 2007-02-20 08:40:38 +00:00
hvlad
c0989bce8b Fixed CORE-1031 : fb_lock_print.exe fails on windows 2003 R2 / XP SP 2
and CORE-1133 : XNET (IPC) communication protocol does not work across sessions
2007-02-19 13:05:27 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
dimitr
ba3d3c2093 A kind of cleanup. 2007-01-25 13:26:32 +00:00
robocop
d0b711f2bc Totally misc. 2006-04-30 06:41:38 +00:00
robocop
351674ec0c Get rid of another uppercase typedef. The name "owner" caused collisions, so "own" was left. Probably lockOwner is better in the long term. 2006-04-29 00:34:06 +00:00
robocop
2f88f5765a Misc. 2006-04-08 03:29:17 +00:00
robocop
97122ee389 Replace jrd_time.h by our timestamp.h, but I left timestamp.h's #includes commented where it *seemed* not necessary. 2006-02-03 08:39:36 +00:00
robocop
2814294027 Misc. 2004-12-16 03:03:13 +00:00
robocop
5a33aeef91 Misc: extra semicolons do not help. :-) 2004-11-07 10:38:13 +00:00
skidder
5dcb60e4ff Use MSVC6 variant of code everywhere to avoid excess conditionals 2004-10-03 20:14:35 +00:00
robocop
d90eee597b MSVC6 doesn't know how to convert UINT64 to double. 2004-10-03 04:44:49 +00:00
skidder
e8d37fc3c4 Small lock manager fixes.
Use 64-bit lock manager performance counters. 32-bit counters overflowed every few hours under load and this was considerably reduced their usefulness.
Use separate version for 64-bit lock manager tables. While you can have both 32-bit and 64-bit versions of engine running on the same machine lock manager structures have different layout and mismatch is not desireable.
2004-10-01 21:29:30 +00:00
brodsom
c2d05fe48c -Rollback 2004-06-09 18:57:07 +00:00
brodsom
e2fadb2ce5 -Correction 2004-06-09 01:50:39 +00:00
brodsom
ab9bc18a81 -C++ struct declaration style.
-Const corrections
2004-06-08 18:24:49 +00:00