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

198 Commits

Author SHA1 Message Date
robocop
eb6ea18df4 Misc. 2008-12-01 09:21:31 +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
alexpeshkoff
7c8427bc35 Separated CVT functions to common and jrd parts.
This made possible to avoid ugly CVT_move export.

Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00
asfernandes
4aa6ecbaf1 Misc 2008-07-06 18:08:23 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
dimitr
bff84e9e7a Cleanup. 2008-06-06 15:55:36 +00:00
alexpeshkoff
5e81cfa225 event_thread() should have own reference to the port. This minimizes chances
to get AV when client exits.
2008-05-21 12:43:41 +00:00
alexpeshkoff
796e02d2a5 1. Cleanup - use constants ISC_USER/ISC_PASSWORD instead of always repeated string constants.
2. Let services uses environment and OS auth when run embedded.
2008-05-19 13:58:37 +00:00
alexpeshkoff
0ba2ab7ea7 Make fb_cancel_operation() public API call. Related cleanup. 2008-04-29 09:55:41 +00:00
robocop
3a5712db9e Style. 2008-04-19 11:33:37 +00:00
dimitr
e1d3bbcb61 1) Simplified the internal provider API a little.
2) Passed the original filename (possibly an alias) via DPB. This way it can be transmitted through the remote subsystem.

Hopefully, this should fix CORE-1105, CORE-1390 and CORE-1566 at once.
Although a better hope would be that it won't break anything else :-)
2008-04-17 14:22:04 +00:00
alexpeshkoff
b0cc1c0481 Implemented remote cancel operation call. Switched to PROTOCOL_VERSION12. 2008-04-14 09:45:16 +00:00
asfernandes
29fbfbb8ff Misc 2008-04-06 14:45:51 +00:00
robocop
1c52bbf025 It seems that finally the interfaces are synchronized.
The compiler produces a lot of errors when linking why.cpp against inter_proto.h (that has the real function signatures) instead of entry.h, but it's the only way to verify that the parameters are coherent.
2008-04-04 13:43:44 +00:00
robocop
b2e8da134f Trying to fix the interface again.
Sorry for going back and forth with constness, but in some cases it was impossible to ensure that input params aren't overwritten, thus I took const away to avoid making promises that can't be met (see the case of fetch that uses a supposedly input-only param to return data). Overwriting memory that was declared const initially is a serious error in C++ with undefined outcome so we better do not lie.
2008-04-03 10:17:24 +00:00
asfernandes
b5f62a63b0 Misc 2008-03-30 20:43:36 +00:00
robocop
09be343d2f Misc. 2008-03-30 11:30:00 +00:00
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
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
hvlad
afaa923f13 Use delete[] for arrays. Noted by Claudio. 2008-03-26 08:53:05 +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
alexpeshkoff
2571b5c1e1 Fixed races in client when working with events 2008-03-14 10:43:36 +00:00
hvlad
1a941e1ebe Correction. Thank to Adriano 2008-03-14 07:58:20 +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
dimitr
ff090e6a7b Cleanup. 2008-03-12 16:42:51 +00:00
hvlad
2dfe40d2d0 Fixed fbclient's problem with releasing blob after transaction end. Reported by Dmitry Kovalenko in fb-devel.
The fix is like code in server.cpp
2008-03-12 09:50:46 +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
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
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
132176a475 Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 12:52:51 +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
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
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
a3dfe97258 Parameter blocks are UCHAR streams.
Make their length unsigned, too.
2007-10-29 03:23:56 +00:00
dimitr
9e6ad731e3 Let's use the new method for other similar cases as well. 2007-10-28 20:36:28 +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