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

102 Commits

Author SHA1 Message Date
asfernandes
f8eb935eb7 Misc 2009-06-06 18:13:57 +00:00
robocop
3cc575b386 Misc. 2009-06-04 13:15:41 +00:00
alexpeshkoff
519372625c Fixed posix build 2009-06-01 11:26:32 +00:00
robocop
ee029d014f One more mutex-related call that was checked in previous versions. 2009-05-30 13:43:58 +00:00
robocop
409048562b Misc and minor correction. 2009-05-30 05:34:45 +00:00
asfernandes
158a05c78d Misc 2009-05-10 15:23:31 +00:00
hvlad
510cb46e97 More fixes for bug CORE-2444 : When more than one attachment register interests in events simultaneously and free space in events table is exhausted engine could hung
a) uncomment remapping code in acquire_shmem(), it used by Classic
b) removed silly code for synchronisation with watcher_thread during remapping. Its not needed and not worked.
c) don't set to zero m_processOffset in ~EventManager() as it could by used by busy watcher_thread delivering events
2009-05-07 13:05:45 +00:00
asfernandes
9178fc4100 Misc 2009-05-01 02:46:18 +00:00
hvlad
967958d303 Fixed bug CORE-2444 : When more than one attachment register interests in events simultaneously and free space in events table is exhausted engine could hung 2009-04-30 07:07:43 +00:00
robocop
2d7cb94844 Unused params
Some BLR checks
2009-04-28 13:08:04 +00:00
alexpeshkoff
cd54e5533e Fixed CORE-2437: Buffer overflow on client when delivering events. 2009-04-17 13:36:34 +00:00
robocop
0bf3d11247 Misc. 2009-04-10 14:28:35 +00:00
alexpeshkoff
c4f37d6f9b No sense keeping old value of shared memory pointer when file is already unmapped - thanks to Claudio 2009-04-10 10:35:45 +00:00
alexpeshkoff
d7bffdb8cd Fixed CORE-2402: bad permissions on temp files, /tmp is polluted with a lot of files 2009-04-08 13:16:26 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
robocop
5acf561eb6 Get rid of some typedefs. 2009-04-02 08:53:25 +00:00
alexpeshkoff
9b839ab0d0 Fixed build with not defined HAVE_MMAP 2009-03-11 07:51:45 +00:00
robocop
d766c4231d Simplify the call to ISC_event_wait. 2009-02-28 11:47:11 +00:00
asfernandes
f4fbdffe07 Misc 2009-01-29 17:44:21 +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
2c2fee86da Style. 2009-01-14 11:10:48 +00:00
asfernandes
91a4550d23 Misc 2009-01-06 17:46:08 +00:00
dimitr
deb5454ef0 Restored the original (legacy) way of returning the successful status vector.
But added an assert to track an unexpected status vector contents early in debug builds.
Slightly refactored the error handling for events, partially synchronized the globals there.
Plus some basic const'ness, better tdbb scope, etc.
2009-01-06 15:32:01 +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
0a94d6fee8 Style. 2008-12-18 10:57:12 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +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
asfernandes
ce4bf91533 Misc 2008-07-01 01:12:02 +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
dimitr
bff84e9e7a Cleanup. 2008-06-06 15:55:36 +00:00
alexpeshkoff
b237f4ebd8 Cleanup - avoid use of SUPERCLIENT macro in files, used by utilities
(and in some other places too).
2008-04-08 14:18:24 +00:00
dimitr
afb970dba1 1) Cleanup.
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
dimitr
b7a575e43f Cleanup. 2008-02-13 16:47:34 +00:00
dimitr
8f742ba52c Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 12:57:52 +00:00
dimitr
e3128c2479 The merge continued. 2008-01-16 08:54:50 +00:00
dimitr
0a1911d5ae The same fix for events. 2007-11-06 09:50:35 +00:00
hvlad
f7fdc098cf Fixed compilation on non-MULTI_THREAD platforms 2007-09-15 15:01:19 +00:00
asfernandes
16bc18df54 Misc 2007-09-15 02:37:04 +00:00
hvlad
cc42c8c462 Fixed bug CORE-1457: Server crashes attempting to deliver events for the just disconnected session.
Part one - AV in events code
2007-09-13 13:28:05 +00:00
asfernandes
a9fd08e21b Be compilable in non WIN_NT platforms 2006-05-01 02:30:08 +00:00
robocop
403f5e5c57 Tweak to be able to link after compiling print_event.cpp. 2006-04-30 06:42:40 +00:00
robocop
3eb636a8e6 Misc. 2006-04-29 02:48:04 +00:00
dimitr
45f4a99893 Cleanup. 2006-04-25 18:17:05 +00:00
dimitr
d6f3ce6424 Removed the code under the SERVER macro as not used. 2006-04-25 14:17:41 +00:00
dimitr
e5869b3921 Misc. 2006-04-25 07:37:19 +00:00
alexpeshkoff
5729790ed6 1. Applied class MetaName
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
9b112424fa Months ago I marked a buffer overrun in deliver_request().
Now I think I've fixed it.
2004-10-04 04:39:55 +00:00
brodsom
8023124f58 Rollback 2004-06-13 22:31:48 +00:00