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

270 Commits

Author SHA1 Message Date
asfernandes
d369e26979 1) Fix posix build
2) Remove some warnings
2009-02-15 14:45:37 +00:00
dimitr
4c9413f8a9 Minor optimizations. 2009-02-11 08:26:55 +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
asfernandes
f4fbdffe07 Misc 2009-01-29 17:44:21 +00:00
dimitr
a5cf1d69bf Misc. This change follows the solution in unix.cpp. 2009-01-29 17:18:52 +00:00
dimitr
939f8e9724 If we write the dump into the globally accessible directory, let's have its name suggesting it belongs to the Firebird family :-) 2009-01-29 17:05:53 +00:00
alexpeshkoff
31a437f986 Choose better place for lock_table.dump 2009-01-29 16:54:58 +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
dimitr
1b3927b026 1) Globally named per-database shmem regions.
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +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
robocop
e9be920cc0 Shut up some compiler warnings (some warnings should be enabled again in autoconfig_msvc.h IMHO because hiding our possible mistakes won't help us). 2008-12-30 10:52:52 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
robocop
d39690fbff Style (and let lines grow up to 100 columns). 2008-12-04 09:29:16 +00:00
hvlad
111a770839 Release lock manager's mutex in its destructor 2008-11-27 20:20:38 +00:00
alexpeshkoff
d8ea120ded AIX port - use FB_ prefix for alignment constants 2008-11-05 11:26:23 +00:00
dimitr
1a7abd30d2 Cleanup. 2008-10-24 06:18:26 +00:00
dimitr
73b50d0fe0 Misc. 2008-10-24 04:49:15 +00:00
dimitr
c795c0f0bb It wasn't really necessary to bump the lock table version number the last time. 2008-10-24 04:47:14 +00:00
hvlad
e998ff070f Fixed accidentally brocken POSIX build 2008-10-21 10:37:39 +00:00
dimitr
f18f99ff32 Cleanup. 2008-10-20 11:12:01 +00:00
alexpeshkoff
e79f55708d 1. Cleanup - use Firebird::Semaphore instead of local events, removed code
related with local events from isc_sync.cpp.

2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().

3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).

4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).

5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
alexpeshkoff
796a2e4b23 Fixed CORE-2064: AV when process is closing under high load 2008-09-04 09:58:20 +00:00
alexpeshkoff
97f89cb5b1 Fixed CORE-2062: error remaping lock file in classic server 2008-09-03 12:00:59 +00:00
asfernandes
077f8360a0 Misc 2008-07-31 00:45:43 +00:00
hvlad
c1b161fc2d Fixed bug CORE-2000 : Lock manager reported false deadlocks under high load 2008-07-28 21:21:21 +00:00
roman-simakov
cf37531005 Add missed que changing in LockManager::setOwnerHandle 2008-07-23 16:14:54 +00:00
robocop
a302401357 Misc. 2008-07-09 12:34:43 +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
hvlad
40f3722373 Fixed bug CORE-1985 : Lock manager code may create 100% CPU load for some time 2008-07-09 07:52:50 +00:00
robocop
8a77b30645 Cleanup: get rid of useless third param in ISC_unmap_file 2008-06-26 11:23:40 +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
f1907db32d Fixed a deadlock which could occur during the shared memory region remapping. This bug has been introduced by myself along with the LM rework. 2008-06-12 07:34:50 +00:00
asfernandes
7bb0ae3616 Misc 2008-06-11 01:41:42 +00:00
robocop
7d58d35e15 Misc. 2008-06-10 12:10:03 +00:00
robocop
017d04dbfc Misc. 2008-06-10 10:11:39 +00:00
dimitr
cb2e3f0f61 Misc. 2008-06-10 04:18:50 +00:00
dimitr
19717fa63f Misc. 2008-06-09 09:10:55 +00:00
dimitr
1c885a3679 Worked around the compiler warnings. 2008-06-09 08:11:14 +00:00
alexpeshkoff
5b465f4159 fixed gcc build 2008-06-09 07:58:15 +00:00
asfernandes
26a79e3c6e Misc 2008-06-09 01:34:33 +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
dimitr
92fb3f0b7a Misc. 2008-05-21 07:32:39 +00:00
alexpeshkoff
f0cb8afa8b cleanup 2008-04-18 09:44:36 +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