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

67 Commits

Author SHA1 Message Date
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
brodsom
4ac9946d75 -Fix warnings 2003-09-14 00:46:05 +00:00
robocop
632c692dcb cleanup, hopefully right 2003-09-10 11:43:31 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
brodsom
fbf6ffd6ff Code cleaning (Thanks to Claudio) 2003-09-07 00:53:59 +00:00
brodsom
a4416db52a -Replace BOOLEAN, TRUE and FALSE 2003-09-04 21:26:15 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
aafemt
0fcbb66baa STATUS -> ISC_STATUS 2003-04-10 10:08:31 +00:00