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
robocop
441817bd82
1.- Misc changes
...
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
brodsom
78bdd28196
Macro cleaning
2004-05-17 15:14:10 +00:00
brodsom
8699aec9c9
-Avoid shadow warning
2004-05-12 19:23:17 +00:00
brodsom
2add5b1f60
-Unify 3 srq implementations and move it to que.h
...
-Remove duplicated lock constants between jrd.h and lock.h (naming fix and srq move outside lock.h was prerequisites for this change)
2004-05-03 17:36:27 +00:00
brodsom
0daa189563
Removing ib_stdio.h
2004-04-28 22:36:29 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
skidder
4e30dadd8b
Enable gfix/gstat services API on classic builds. Rollback Blas' changes in this area
2003-12-14 04:44:58 +00:00
robocop
9fafc348bf
const correctness
...
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
27cbcdd73e
-Removing some unneeded headers (WIN_NT) or explaining why are needed
2003-11-16 12:57:23 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
robocop
480c1ee968
const correctness
2003-10-08 08:42:48 +00:00
aafemt
bb792bd478
'struct' cleanup
2003-09-18 10:24:03 +00:00
brodsom
3816635fab
-Remove msvc unused var warning
2003-09-15 16:29:31 +00:00
brodsom
bdac17190c
Clean a bit services interface
...
- Include service entrypoint in each proto file and remove from it the private function common to service and standalone. (burp, alice and gsec)
- Replace functions output_svc/output_thread/output_netware with SVC_output callback common for all. (burp, alice and gsec)
- Create typedef pfn_svc_output common for all svc, and correct SVC_read_ib_log and thread_test to be compatible with pfn_svc_output typedef. (svc.cpp)
- Put inside an ifdef code for '-svc_re' switch (in all sources).
2003-09-15 13:13:45 +00:00