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

183 Commits

Author SHA1 Message Date
alexpeshkoff
4db90789fe Fixed error reported by Sergey Mereutsa 2009-04-16 07:52:39 +00:00
asfernandes
d136f88092 Misc 2009-04-11 19:41:01 +00:00
robocop
c13c556b69 Misc. 2009-04-11 05:47:13 +00:00
alexpeshkoff
eb095416cb Use shared robust mutexes if present.
This provides successfull recovery in case when any of firebird processes
died with locked shared mutex (like it was with semaphores SystemV).
2009-04-10 16:53:01 +00:00
alexpeshkoff
58bdb6c241 Cleanup - unsupported port HP10 2009-04-10 15:36:58 +00:00
alexpeshkoff
b305740736 Cleanup unused macro SHMEM_PICKY and related stuff.
Fixed code for systems with broken mmap (like HPUX) - avoid shared memory leak.
2009-04-09 16:47:20 +00:00
alexpeshkoff
1e7898ea22 Fix for CORE-2402: bad permissions on temp files, /tmp is polluted with a lot of files 2009-04-08 11:00:58 +00:00
robocop
5acf561eb6 Get rid of some typedefs. 2009-04-02 08:53:25 +00:00
dimitr
c7b95648de Remove the shmem backing files when they're not used anymore. 2009-04-01 17:35:04 +00:00
aafemt
fcd4ed854b Fix MinGW build 2009-03-01 13:26:03 +00:00
alexpeshkoff
0346cf6a83 Fixed a number of problems with file ownership and access rights on unix 2009-02-20 16:18:12 +00:00
robocop
7bc5e3cc83 Style. 2009-02-03 11:02:00 +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
3689f15321 Style. 2009-01-20 08:33:59 +00:00
alexpeshkoff
2315131ddd Avoid races when lock file is opened in different threads of same process 2009-01-13 14:29:07 +00:00
robocop
21bb7f3d20 Style. 2009-01-03 09:14:29 +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
alexpeshkoff
bd680bcb47 Solaris port 2008-12-28 15:26:05 +00:00
asfernandes
5311dd5a5e Misc 2008-12-20 19:57:43 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
alexpeshkoff
017a5b6759 HPUX port 2008-12-11 10:59:26 +00:00
robocop
9f52942ab0 Style. 2008-12-02 07:09:49 +00:00
alexpeshkoff
15800b90b9 Frontported fix for CORE-2221: Attach to any DB fails after modification of access rights of security2.fdb 2008-12-01 12:38:55 +00:00
alexpeshkoff
a95079b725 In case of System V semaphores mutex_fini() no-op too 2008-11-28 11:28:12 +00:00
alexpeshkoff
d8f817b2e8 fixed posix build 2008-11-28 11:01:00 +00:00
asfernandes
cbed660d28 Misc 2008-10-28 00:16:20 +00:00
dimitr
eba2fec16c Misc. 2008-10-24 06:22:55 +00:00
robocop
d50c65a3d9 Close some of my favorite B.O.'s since FB1. To be reviewed by Vlad. 2008-10-21 06:17:03 +00:00
robocop
43ee87b07d Misc. 2008-10-21 04:25:49 +00:00
asfernandes
ad716e38d9 Misc 2008-10-20 23:46:46 +00:00
dimitr
fa6eaff430 An attempt to fix non-HAVE_MMAP builds. To be refactored by Alex later. 2008-10-20 14:30:20 +00:00
robocop
96b399254e Misc. 2008-10-16 08:52:33 +00:00
alexpeshkoff
526fd5efee Added mutex for init-file open in MT world.
Fixed pid initialization in event.
2008-10-12 15:03:39 +00:00
asfernandes
843df670d7 Misc 2008-10-11 02:42: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
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
hvlad
47d76f4143 Allow CS processes to share MMF's again ;) 2008-07-18 12:21:11 +00:00
dimitr
17520b6531 Corrections for the new embedded implementation.
Removed some embedded specifics that shouldn't be necessary once the required changes are committed.
Please note that the lock table is still per-instance, so multi-process usage is still unsafe. To be fixed later.
2008-07-14 18:14:30 +00:00
robocop
80ba24a605 Fixing the Win32 build after Alex' changes. 2008-07-06 11:03:09 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
asfernandes
ce4bf91533 Misc 2008-07-01 01:12:02 +00:00
asfernandes
0d31f7c8b4 Fx Linux build 2008-06-29 15:52:46 +00:00
robocop
8a77b30645 Cleanup: get rid of useless third param in ISC_unmap_file 2008-06-26 11:23:40 +00:00
robocop
d786d35f83 Misc. 2008-06-26 10:43:57 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
asfernandes
23e4059ce5 Changed attribute name NUMERIC to NUMERIC-SORT - sugested by Claudio 2008-06-25 01:46:50 +00:00
roman-simakov
5dd400c24a Fixed server hanging while lock table is initializing by one attachment and one previous attachment is disconnecting. Thanks to Nikolay. 2008-06-22 17:31:12 +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
alexpeshkoff
b9be96d37f Applied Damyan's patch eliminating some warnings in gcc 4.3 2008-05-28 13:22:26 +00:00
dimitr
5d7d7692a0 Cleanup. 2008-05-21 18:25:55 +00:00