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

193 Commits

Author SHA1 Message Date
robocop
27b24cccf3 The boss prefers clean() instead of the sui generis unset(). 2008-03-30 09:49:22 +00:00
robocop
5b7cb4214b Fixing the damn interface.
Cleanup.
2008-03-30 09:37:57 +00:00
robocop
88349111c8 Probably I could put RFlags with a better name elsewhere for general usage, but for now I'll test the waters with Rsr. 2008-03-30 03:02:12 +00:00
robocop
9030e2a9d5 Misc. 2008-03-28 14:17:21 +00:00
robocop
443feabad9 Since Vlad and Alex did the hard work, I took the comment from Mike (approx 6 years ago) and did the small change function->method. 2008-03-28 13:36:19 +00:00
alexpeshkoff
4e5a83e767 1. Make remote port RefCounted object.
2. Removed deferred cleanup hack.
3. Fixed races when events are delivered - thanks to Vlad.
2008-03-27 10:15:05 +00:00
asfernandes
1e59afbc6e Misc 2008-03-27 02:27:56 +00:00
hvlad
9318660f3a Finish cleanup in remote started by Alex (remove ALLR etc) 2008-03-25 18:58:31 +00:00
alexpeshkoff
6809f624fc Remote cleanup:
1. Avoid ALLR memory allocation routine (use new / delete).
2. Use common (TypedHandle) class to control consistency of handles.
3. Make ctors and dtors work - in most cases more work is needed to make them meaningful.
2008-03-24 15:28:38 +00:00
hvlad
262379d8f9 Fix invalid variable for received data size 2008-03-19 18:52:31 +00:00
robocop
82f50ff590 Allocate only the needed buffer. 2008-03-18 12:58:21 +00:00
hvlad
5c2300fc65 Fixed few my mistakes noted by Claudio 2008-03-15 13:46:28 +00:00
robocop
b741dd8a0d Simplification. 2008-03-15 10:28:25 +00:00
asfernandes
4762e049ee Misc 2008-03-14 02:50:40 +00:00
hvlad
2423a4bc3e Use EnsureUnlock where appropriate. Remove not used thread accounting in CNTL. Fix few mistakes\typos in my previous commit. 2008-03-13 13:48:05 +00:00
alexpeshkoff
627e7f2846 Fixed unexpected server exits. Slightly better diagnostics for them added. 2008-03-13 12:05:49 +00:00
robocop
d5ff786e3d Misc. 2008-03-13 10:41:38 +00:00
dimitr
ff090e6a7b Cleanup. 2008-03-12 16:42:51 +00:00
hvlad
4115317607 Make remote module thread-safe, remove THREAD_EXIT\THREAD_ENTER from it, refactor server code and some cleanup. To be continued. Please check posix builds. 2008-03-11 14:11:32 +00:00
robocop
2912e6a5be Cleanup and misc. 2008-03-10 08:44:07 +00:00
alexpeshkoff
7dacbbbd74 Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
Related cleanup.
2008-03-03 17:47:09 +00:00
alexpeshkoff
58f8675e57 1. Make use of gds__log_status() more consustent (no Database: line in log when database is not specified).
2. A bit better logic when error happens during provider shutdown.
2008-03-03 13:59:09 +00:00
alexpeshkoff
00c63c1f8d 1. Make signals handling in yValve MT safe.
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
dimitr
c1f75dcdf8 Ported SQLSTATE from Vulcan.
Part II: handling of isc_arg_sql_state.
2008-02-24 15:02:04 +00:00
dimitr
e41bdb2aa5 Shutdown the port instead of exiting the process. This has the same effect on CS but works for other modes as well. 2008-02-12 14:06:27 +00:00
dimitr
04e90d8033 Misc. 2008-02-02 14:40:50 +00:00
alexpeshkoff
e867656bf4 cleanup + additional security DB protection 2008-01-29 15:01:04 +00:00
dimitr
a3782c9362 Oops. Incomplete stuff has been accidentally committed. Rolled back now. 2008-01-28 14:09:05 +00:00
dimitr
b353ff4afb Misc sync changes. 2008-01-28 13:44:11 +00:00
dimitr
b68df58eac Misc. 2008-01-26 23:23:15 +00:00
alexpeshkoff
936eb2b3a8 Initialize context pool on server startup 2008-01-24 11:08:00 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
46b3b6c0dd Preparation for merging my own changes. 2008-01-17 13:07:03 +00:00
dimitr
f25819fb19 The merge continued. 2008-01-16 07:55:28 +00:00
asfernandes
e0226e17fb Misc 2008-01-09 23:57:18 +00:00
dimitr
3201c3de4c Fixed CORE-1681. 2008-01-09 10:20:57 +00:00
dimitr
804be84213 Fixed possible crashes due to an already disconnected port. 2007-12-15 10:30:03 +00:00
alexpeshkoff
5bf6bd05d9 Fixed CORE-1543: Security bug in trusted authentication 2007-10-26 13:17:33 +00:00
dimitr
697d77edec Fixed CORE-1459. 2007-09-14 06:55:15 +00:00
dimitr
204b2881e7 Fixed CORE-1460.
Make INET to use the same buffer as other transports instead of the hackery usage of p_resp_blob_id.
2007-09-14 06:00:17 +00:00
dimitr
07ebaa0ce9 Fixed CORE-1403. 2007-08-03 08:41:45 +00:00
alexpeshkoff
31beadfb64 fixed BOF during op_connect processing, avoid use of sprintf() in remote 2007-06-21 08:40:04 +00:00
hvlad
f31a3116ec Fixed bug with wrongly initialized remote statement when lazy_port feature active.
It visible with TCS's test DSQL_DOMAIN_20
2007-06-01 12:46:30 +00:00
hvlad
88671bf258 Correct error handling for deferred executed statements 2007-05-17 13:03:57 +00:00
alexpeshkoff
d63491e3c5 Finished gcc-warnings cleanup 2007-04-11 16:05:40 +00:00
hvlad
c13e67fe49 Restored broken compatibility between clients and servers of different versions (2.1 and other) 2007-04-04 10:31:47 +00:00
robocop
b776f1f19c Minor corrections. 2007-04-03 08:18:11 +00:00
hvlad
2c10b3ff92 Implement one more LazyPort feature : defer op_execute packet when it possible 2007-04-01 21:42:40 +00:00
alexpeshkoff
dec4ded1f5 fixed unregistered bug, reported by Dmitry privately - partial and full XDR packets may be mixed now in network packets in any way 2007-03-30 12:56:57 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00