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

728 Commits

Author SHA1 Message Date
asfernandes
5d2ca89242 Misc 2008-03-01 18:24:06 +00:00
robocop
28d58050b4 Cleanup. 2008-03-01 11:49:04 +00:00
alexpeshkoff
48e9858b57 fixed CORE-1756: AV in isc_start_transaction (isc_start_multiple) 2008-02-29 16:44:17 +00:00
dimitr
5ca270c096 1) Cleanup SERVER_SHUTDOWN.
2) Make the engine shutdown asynchronous.
2008-02-29 12:47:20 +00:00
dimitr
cbda8ca729 Misc and cleanup. 2008-02-29 08:47:31 +00:00
dimitr
b51b0a0d5c Misc and cleanup. 2008-02-29 08:46:38 +00:00
dimitr
3724604ec8 Misc and cleanup. 2008-02-29 08:45:59 +00:00
dimitr
3cba78804c Fixed the Windows build. 2008-02-29 07:19:39 +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
2e4d036eed Get rid of the Win9x/ME specifics. We don't support them anymore. 2008-02-26 11:03:09 +00:00
dimitr
c1f75dcdf8 Ported SQLSTATE from Vulcan.
Part II: handling of isc_arg_sql_state.
2008-02-24 15:02:04 +00:00
robocop
95e59f72b5 Undo the check for 255 bytes in JRD_num_attachments (let the callers handle long paths).
Fix some memory leaks (at least one of them signaled by myself years ago) when calling JRD_num_attachments.
Introduce an enumeration for the "flag" parameter in the same function.
2008-02-21 04:24:42 +00:00
dimitr
aabe5ecd02 Let's shutdown the JRD subsystem properly when Windows is being shutdown itself. 2008-02-20 16:28:59 +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
alexpeshkoff
48f80bc4a3 fixed races during server shutdown 2008-02-06 17:26:35 +00:00
dimitr
a8154839d4 Fixed the Windows build. 2008-02-02 20:21:08 +00:00
alexpeshkoff
8901a0e003 Services cleanup - make class Service traditional C++ class 2008-02-02 18:33:37 +00:00
dimitr
6bb281b030 1) Call SRVR_shutdown() when shutting down the server process.
2) Get rid of the unnecessary sync calls.
2008-02-02 14:42:16 +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
dimitr
132176a475 Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 12:52:51 +00:00
alexpeshkoff
936eb2b3a8 Initialize context pool on server startup 2008-01-24 11:08:00 +00:00
dimitr
214cb37f1b Fixed the win32 build. 2008-01-23 19:03:20 +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
asfernandes
61b51855a8 Misc 2008-01-20 23:51:21 +00:00
paulbeach
79a649377d Welcome to 64bit MacOS builds 2008-01-18 14:12:26 +00:00
dimitr
46b3b6c0dd Preparation for merging my own changes. 2008-01-17 13:07:03 +00:00
alexpeshkoff
5cd4cbc310 Applied Damyan's patch - MIPS linux port 2008-01-17 12:54:35 +00:00
asfernandes
05b90fa684 Eliminate some warnings 2008-01-16 14:37:26 +00:00
dimitr
c577fde263 The merge is being fixed. 2008-01-16 12:29:45 +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
hvlad
1f1a8c81fe More general fix for bug CORE-1561 : False isc_req_sync error may be reported by fbclient to the client application 2008-01-02 08:54:53 +00:00
paulbeach
b77b688fd5 Apply MacOS changes to HEAD 2007-12-20 09:02:21 +00:00
paulbeach
f0e34ffc83 Apply MacOS changes to HEAD 2007-12-19 14:35:52 +00:00
dimitr
804be84213 Fixed possible crashes due to an already disconnected port. 2007-12-15 10:30:03 +00:00
asfernandes
3b1be7ccdc Misc 2007-12-13 23:25:28 +00:00
robocop
5cf8293407 Totally misc. 2007-12-13 08:28:34 +00:00
hvlad
f13d7bb85b Fixed bug CORE-1651 : False isc_req_sync error may be reported by fbclient to the client application 2007-12-12 13:42:28 +00:00
robocop
e134683564 I decided to close some exotic (and probably irrelevant) buffer overruns. 2007-12-04 09:59:54 +00:00
asfernandes
ad13b126d1 Misc 2007-11-30 00:35:44 +00:00
dimitr
f3e3ba6cf6 Fixed (hopefully) CORE-1565. 2007-11-29 09:24:42 +00:00
asfernandes
4e426d0739 Commit forgotten change 2007-11-26 09:57:19 +00:00
alexpeshkoff
3e0d8ebc5b Fixed CORE-1603: Possible buffer overflow with long user name 2007-11-19 16:18:59 +00:00
robocop
89f8a85398 Since we avoid the practice of naming a variable and a struct the same, I changed that (and did little cleanup). 2007-11-19 07:24:06 +00:00
hvlad
2b47bbe55b Revert files back after wrong commit 2007-11-19 00:21:18 +00:00
hvlad
86f1141328 Execute statement with support of external data source 2007-11-18 22:59:20 +00:00
hvlad
542890b41f Rename thread to cntl_thread in cntl.cpp to avoid multiply "struct thread" definitions and make debugger happier 2007-11-18 19:25:56 +00:00
robocop
2d2b8cf718 Misc. 2007-11-17 10:18:10 +00:00
paulbeach
c823619e92 HPUX Port 2007-11-12 15:18:49 +00:00
alexpeshkoff
b50399cdb5 Better fix for CORE-1558 2007-11-05 13:18:40 +00:00
alexpeshkoff
52c9aca3d4 Fixed CORE-1558: Help people get core files in case of abort() on BUGCHECK 2007-11-02 15:14:57 +00:00
robocop
a3dfe97258 Parameter blocks are UCHAR streams.
Make their length unsigned, too.
2007-10-29 03:23:56 +00:00
robocop
bfa4af4467 Simplify code. 2007-10-29 03:18:20 +00:00
asfernandes
76f3f85b80 Misc 2007-10-29 00:19:27 +00:00
dimitr
9e6ad731e3 Let's use the new method for other similar cases as well. 2007-10-28 20:36:28 +00:00
skidder
09cfae0e0a Allow local protocol to work with servers running both under restricted accounts (e.g. Vista regular user) and unrestricted accounts (e.g. LocalService) 2007-10-28 14:47:19 +00:00
alexpeshkoff
5bf6bd05d9 Fixed CORE-1543: Security bug in trusted authentication 2007-10-26 13:17:33 +00:00
hvlad
cb18e4f44d Fixed bug CORE-1519 : AV in isc_dsql_fetch 2007-10-17 08:56:06 +00:00
asfernandes
981489e1a4 Misc 2007-10-15 01:02:01 +00:00
dimitr
0ec83aa0ec VMS cleanup continued -- thanks to Claudio. 2007-10-14 15:24:24 +00:00
hvlad
d1ade42420 Fixed bug CORE-1515 : Error isc_bad_req_handle at isc_commit_transaction call 2007-10-14 12:25:17 +00:00
asfernandes
16bc18df54 Misc 2007-09-15 02:37:04 +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
hvlad
48f6c27d24 Reduce XNET read\write wait timeout. It allows faster detect failures on the other part of connection 2007-09-13 13:24:59 +00:00
hvlad
f8a6ea8564 Fixed bug CORE-1456: Wrong events delivery in the case of concurrent XNET connections 2007-09-13 13:23:10 +00:00
dimitr
8d121c77a9 Fixed CORE-1452. 2007-09-12 08:17:16 +00:00
asfernandes
4dd7b4c668 Misc 2007-09-12 02:31:28 +00:00
robocop
158e200ede Misc. 2007-09-11 09:31:51 +00:00
hvlad
4a72397c71 Fixed bug CORE-1430 : AV in fbclient.dll if statement prepared and executed right after events was registered 2007-08-28 19:35:53 +00:00
dimitr
07ebaa0ce9 Fixed CORE-1403. 2007-08-03 08:41:45 +00:00
hvlad
1b06f7802a Fixed bug CORE-1397 : Possible vulnerability in remote server 2007-08-02 16:26:21 +00:00
asfernandes
613faffafb Misc 2007-08-02 02:00:37 +00:00
hvlad
4d2211d61f Fix for CORE-1388 : Can't attach to remote service manager if remote engine version is less than 2.0 2007-07-31 10:49:52 +00:00
robocop
6f3d9cf06d Misc. 2007-07-31 08:36:38 +00:00
dimitr
01232a2def Fixed client crashes when the server unexpectedly died. Hopefully, it should solve CORE-1194. 2007-07-30 09:58:18 +00:00
paul_reeves
d1f5482882 Be consistent in usage of FB_DEFAULT_INSTANCE. 2007-07-26 09:58:32 +00:00
hvlad
77f2bf6dd5 Fixed bug CORE-1372 : isc_dsql_fetch called after isc_commit_transaction not raised error 2007-07-20 12:40:12 +00:00
hvlad
caa5194ad8 Fixed bug CORE-1349 : Remote interface not checked in REM_receive and REM_fetch client supplied message length against length of format of message 2007-07-06 12:46:07 +00:00
robocop
0d71e5b00f Misc (to match an almost identical code elsewhere). 2007-06-24 08:53:51 +00:00
alexpeshkoff
139e9c9a64 fixed bug in my last commit 2007-06-21 12:04:49 +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
0593719f67 Additional patch for CORE-1310 : Got "request synchronization error" when calling isc_dsql_sql_info with isc_info_sql_records parameter after last record fetched 2007-06-09 11:06:59 +00:00
hvlad
a3757ab602 Fixed CORE-1310 : Got "request synchronization error" when calling isc_dsql_sql_info with isc_info_sql_records parameter after last record fetched 2007-06-08 12:41:18 +00:00
alexpeshkoff
ea8ba3370d Cleaned up mutexes - removed MUTX_T and related macros 2007-06-06 12:37:24 +00:00
robocop
d90bf91fbd Misc. 2007-06-06 08:08:36 +00:00
hvlad
5dab01a578 Fixed CORE-1303 : Infinite loop in SS remote listener 2007-06-04 14:17:15 +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
a010a612a6 Fixed bug reported by Adriano in fb-devel : exception occurred after 3rd suspend reported by fbclient after 1st fetch.
Solution is to check for statement's exception not at every fetched row but before first fetch only.
2007-05-28 20:09:18 +00:00
hvlad
0eb638700f Fix for CORE-1276: Sometime INET error reported as 0 in firebird.log instead of real error code 2007-05-21 20:25:42 +00:00
hvlad
88671bf258 Correct error handling for deferred executed statements 2007-05-17 13:03:57 +00:00
dimitr
bc7c4d0054 Added remote process name to the monitoring data. Applications are allowed to override this value via DPB. 2007-05-16 07:54:33 +00:00
robocop
f2f3d205ce Misc. 2007-04-20 09:47:14 +00:00
alexpeshkoff
24015c14cd fixed gcc warning 2007-04-19 09:12:32 +00:00
hvlad
a6314265ef Fixed CORE-1206 : 'Error reading data from connection' when Lazy Port feature active and more that one active cursors present 2007-04-14 08:26:57 +00:00