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

198 Commits

Author SHA1 Message Date
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
8d121c77a9 Fixed CORE-1452. 2007-09-12 08:17:16 +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
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
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
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
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
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
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
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
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
hvlad
cba92d53f3 Fixed CORE-1097 : isc_dsql_set_cursor_name() fails 2007-01-17 20:06:17 +00:00
asfernandes
a150855ef8 Misc 2006-12-09 01:23:17 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
bdc09b234a The remote subsystem should not guess about the internal structure of BLOB ID. 2006-12-04 21:42:27 +00:00
dimitr
7c405166aa 1) Support for client PID in the monitoring data.
2) Changed XNET to return local hostname instead of PID as its remote address.
2006-09-14 13:47:31 +00:00
asfernandes
292ad66e96 Misc 2006-05-20 01:53:51 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
robocop
07f4bed382 I don't want another "interprete", so I rename "defered" to "deferred". 2006-05-02 00:04:12 +00:00
hvlad
f94b8bd641 Merge B1_5_Remote_LazyPort branch into HEAD 2006-05-01 22:23:31 +00:00
robocop
179a4b7cfb Style. 2006-03-07 05:44:13 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
dimitr
7ca955e43a Minor cleanup. 2006-02-04 10:37:15 +00:00
dimitr
ed9eb5c9cd Fixed the wrong local connection. 2006-01-12 13:21:25 +00:00
alexpeshkoff
e76972ef21 rollback temporary fix after fixing status_exception 2006-01-07 16:53:35 +00:00
alexpeshkoff
dccce62333 simpler way to detect redirection attempt 2006-01-06 12:29:12 +00:00
alexpeshkoff
1ecaaa049e fixed "invalid database handle" error 2006-01-06 11:21:57 +00:00
alexpeshkoff
688cfd53eb Misc 2005-12-23 08:52:31 +00:00
robocop
b5210ff5fd Fix for crash in Alex' disable multi-hop config param. 2005-12-22 06:02:02 +00:00
alexpeshkoff
8de8ef96ce added Redirection parameter to firebird.conf 2005-12-21 10:10:37 +00:00
alexpeshkoff
2f880b3fd9 removed unneeded any more function 2005-12-01 17:32:56 +00:00
robocop
d823b52bdc Misc. 2005-11-30 07:45:49 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
robocop
107eceef33 Misc. 2005-11-24 04:03:25 +00:00
alexpeshkoff
b5417537e6 fixed redirection issues 2005-11-20 17:02:42 +00:00
robocop
d1373b1555 Fix clash with winbase.h on IGNORE. 2005-11-18 04:39:47 +00:00
dimitr
054af913ae Fixed possible event handler crashes during detach. 2005-05-31 16:10:15 +00:00
dimitr
6d333a5af5 Fixed bug introduced 1.5 years ago. 2005-05-06 13:15:32 +00:00
alexpeshkoff
b9ec5835b4 fix gcc warning 2005-03-20 13:55:21 +00:00
dimitr
9efa04ae30 Fixed improper loopback connection via XNET. 2005-03-09 16:26:41 +00:00
dimitr
7d371a8959 Disable XNET for the embedded server. 2005-01-18 21:45:56 +00:00
robocop
2814294027 Misc. 2004-12-16 03:03:13 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
alexpeshkoff
820dbe9156 restored broken by me const-correctness in remote 2004-11-16 11:43:05 +00:00
robocop
56201d1a86 Consistency. 2004-11-08 07:09:15 +00:00
alexpeshkoff
ff5dd732d3 more active use of Firebird::string in remote 2004-11-07 14:44:59 +00:00
robocop
5a33aeef91 Misc: extra semicolons do not help. :-) 2004-11-07 10:38:13 +00:00
robocop
f6b5de8a7a Redundant casts.
Getting rid of IPSERV.
2004-10-09 01:37:30 +00:00
robocop
25f115b66e Closing several possible buffer overruns.
Alex is expected to overwrite my changes in isc_file.cpp.
2004-10-08 04:48:02 +00:00
robocop
7dcb66a250 When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
dimitr
7d3578cea8 Fixed bug SF #223058 2004-09-05 14:08:04 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
alexpeshkoff
1591a54e5e Thread cleanup:
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
brodsom
75a0483d75 -Comment some common.h unused macros
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +00:00
brodsom
bf56ba0a45 -Inlining of *_thread_data macros.
-Solving another case of variable name = struct name.
2004-05-21 15:22:19 +00:00
brodsom
68cb86b274 - Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
b76a60e8b7 Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build) 2004-05-17 22:30:09 +00:00
brodsom
36d6d40469 Macro cleaning 2004-05-17 10:22:34 +00:00
brodsom
ee34db7e20 Macro cleaning (THREAD_*) 2004-05-15 00:58:46 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
brodsom
fbbc61156f -Fix another incredibly stupid legacy variable naming, variable name = struct name. 2004-05-03 13:35:38 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
skidder
8f46d45dc5 Fix crashes/lock-ups with multiple calls of isc_dsql_prepare for a single statement like IBO does 2004-03-25 04:44:43 +00:00
alexpeshkoff
67f1740fea Various cleanup to make engine compile and work after mentioned earlier changes.
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
skidder
a82deb1f83 Make it build after Claudio cleanup 2004-02-24 07:21:00 +00:00
robocop
2fa67d46bc Cleanup
Reduce reinterpret and C casts
Fix isql so it can show all predefined blob types in readable form.
2004-02-24 05:34:44 +00:00
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +00:00
brodsom
89e8f89f86 Extern "C" cleaning 2003-11-06 03:03:36 +00:00
robocop
35396625f5 const correctness
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
brodsom
ff070a16a8 Replacing assert with fb_assert 2003-11-03 23:59:24 +00:00
skidder
7b99b8a57b Basic INTL cleanup.
- Rework (mostly undo) John's changes
- Some function type safety
- Make INTL OO layer very thin (this should slightly improve performance)
2003-11-03 17:14:45 +00:00
robocop
cda707bd36 const correctness and other related changes 2003-11-01 10:26:43 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
brodsom
65d792cda0 -BOOLEAN cleaning 2003-09-11 18:59:34 +00:00
dimitr
efe2cbce0d Added the current XNET implementation.
Let's hope it works not only for me <g>
2003-09-08 14:14:23 +00:00
brodsom
602c201989 -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
aafemt
9dbf56310a sdl is UCHAR again 2003-08-15 10:23:46 +00:00
brodsom
f54342035c -Fix not defined warning
-Remove unneeded casts
2003-08-09 22:34:19 +00:00
aafemt
b672867147 sdl is a plain char again. Some cleanup around it 2003-07-24 10:21:42 +00:00
brodsom
5829455596 Move win32 specific sources in remote to remote/os/win32 2003-07-14 23:29:45 +00:00