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

869 Commits

Author SHA1 Message Date
paulbeach
13274ac5a9 Frontport and solve symbol issue for MacOSX 2009-01-21 13:04:36 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
robocop
3a03e0515c Style: aligning the opening and ending braces in switch() statements and in large blocks of code. 2009-01-18 11:36:08 +00:00
asfernandes
cd010ff939 Misc 2009-01-17 19:07:07 +00:00
robocop
5cdbf4cf00 Style. 2009-01-17 10:11:29 +00:00
hvlad
a789c93954 Avoid races - twice close handle of listener port during server shutdown. It was not dangerous but not comfortable for developers as under debugger CloseHandle() throw exception at second close attempt. 2009-01-16 23:58:10 +00:00
dimitr
4e54096846 Misc. 2009-01-16 20:25:31 +00:00
robocop
546290b68b Style. 2009-01-16 09:55:38 +00:00
alexpeshkoff
832394fd5a cleanup suggested by Claudio 2009-01-15 10:22:03 +00:00
robocop
f1fab1b53c Style. 2009-01-14 12:37:23 +00:00
robocop
b627ad2a39 Style. 2009-01-07 09:30:57 +00:00
robocop
fda9c3bc75 Style. 2009-01-05 08:22:58 +00:00
asfernandes
79e89d573d Misc 2009-01-03 19:02:04 +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
asfernandes
a177d28d60 Misc 2008-12-31 20:22:10 +00:00
robocop
dbb595ad86 Shut up compiler warning (unreachable code). 2008-12-31 05:07:26 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
alexpeshkoff
4b20155e75 Fixed CORE-2262: Client connection is abruptly terminated 2008-12-30 15:23:06 +00:00
alexpeshkoff
9bdb3ecb7c assertion is wrong for event ports - to be reviewed by Vlad 2008-12-30 15:17:50 +00:00
alexpeshkoff
e7355ab712 misc 2008-12-30 15:16:47 +00:00
dimitr
c714df0aa9 Misc. 2008-12-29 20:57:40 +00:00
hvlad
df3c623874 Fixed bug CORE-2248 : AV in server.cpp\loopThread()
Removed not needed check for request's port in parent port clients list as
a) this check not needed anymore
b) this loop is performance killer
2008-12-19 09:01:44 +00:00
asfernandes
d03b6ede7f Misc 2008-12-18 01:24:58 +00:00
asfernandes
84dfa0e092 Fixed CORE-316 - Can't open database with MBCS/Extended characters in name.
Documentation soon.
2008-12-15 14:59:34 +00:00
robocop
f140cbb7d2 Before I put the "explicit" modifier on AtomicCounter's constructor, the compiler was generating a temporary AtomicCounter on the fly and later assigning it to the target AtomicCounter instance to satisfy an assignment of an integer to an AtomicCounter. I'm not sure we want to allow (and worse, foster) the copying of AtomicCounter instances or temporaries created by the compiler, hence I implemented a new method and fixed the code, but I don't know how to write the best code for one group of platforms in fb_atomic.h, hence I wrote the method with a syntax problem to be caught by someone who knows better. 2008-12-13 09:19:22 +00:00
hvlad
a93f6c32f0 Some thread safety 2008-12-12 10:06:32 +00:00
asfernandes
05947b7afc Misc 2008-12-12 00:55:03 +00:00
hvlad
ff268a4fb3 Sorry, again some debugging code was left 2008-12-11 11:51:10 +00:00
hvlad
9bcfe005cb Wait for end of all server's threads (at fb_shut_finish handler) to ensure no threads will access global variables (mutexes) during gds__cleanup phase of process shutdown. It must guarantee no races and AV's during process shutdown. 2008-12-11 11:49: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
asfernandes
744e83f240 Misc 2008-12-03 01:05:53 +00:00
robocop
9f52942ab0 Style. 2008-12-02 07:09:49 +00:00
robocop
eb6ea18df4 Misc. 2008-12-01 09:21:31 +00:00
asfernandes
c1c7a4fb31 Fix Linux build 2008-11-30 20:09:28 +00:00
hvlad
ca8b78bcff Make WNET use overlapped (non-blocking) IO. It allows to break blocked IO operations and implement force_close() call correctly.
Also don't write in firebird.log "FileRead end-of-file" error on clean disconnect and don't write more than one OS error on the same port.
2008-11-30 11:47:30 +00:00
hvlad
56e5b9b544 FB_CANCEL_OPERATION supports only by TCP\IP transport currently 2008-11-30 11:41:03 +00:00
hvlad
2b6ba03d63 Implement new option (fb_cancel_abort) for fb_cancel_operation(). It allows forcebly close client port and allow application to shutdown even it wait of execution finish of some long running query. Use carefull !
Not implemented for WNET, work in progress.
2008-11-27 22:59:42 +00:00
hvlad
3c8c5b565c Fixed few bugs for XNET under high load. Improve XNET connections error diagnostics. Don't stop processing XNET incoming connections if one of them failed at initial stage (at XNET_conect). 2008-11-27 22:48:21 +00:00
alexpeshkoff
9ca7135efa fixed gcc warning 2008-11-24 17:04:29 +00:00
asfernandes
db82e7cd6b Misc 2008-11-06 00:23:21 +00:00
roman-simakov
4e6eaa17cd Fixed server crash by right mouse button clicking at server properties page on Windows x64 2008-11-05 16:48:27 +00:00
dimitr
d7d1e1d0a4 Let's don't use system_call_failed() for local exception handling. 2008-11-05 11:24:17 +00:00
hvlad
7918aaa256 Fixed AV in CS worker process (there was double deallocation of port).
Avoid wrong error message in firebird.log when listener is shutted down.
2008-11-04 14:22:51 +00:00
hvlad
a1ccc92d67 Fixed brocken -d mode of CS.
Fixed AV in CS worker process (there was double deallocation of port).
Add missed mutex control when port's list accessed.
2008-11-04 14:20:57 +00:00
dimitr
4c05d2d8dd Fixed CORE-2137: Database restore may crash the server when DummyPacketInterval is set. 2008-10-22 15:43:16 +00:00
dimitr
8e72ece026 Uncouple Mutex and RefMutex. This resolves the circular dependency: "AtomicCounter->Mutex->RefCounted->AtomicCounter" and thus enables all non-x86 POSIX builds. 2008-10-19 11:41:43 +00:00
robocop
66f41f7986 Simplify the #ifdef. 2008-10-16 08:52:16 +00:00