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

247 Commits

Author SHA1 Message Date
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
alexpeshkoff
b3a854629c more checks - thanks to Claudio 2008-11-23 14:04:41 +00:00
alexpeshkoff
0c47a1c508 cleanup 2008-11-20 17:23:06 +00:00
asfernandes
2a757281c6 Misc 2008-10-31 00:02:49 +00:00
alexpeshkoff
cdc4458dec Fixed CORE-2158: AV in client/embedded library when unloading it 2008-10-29 17:05:22 +00:00
alexpeshkoff
9b69175326 Improvement CORE-1107: Services API extension for new (single, full) shutdown modes 2008-09-16 14:19:09 +00:00
asfernandes
7a5b0121d8 Misc 2008-09-14 23:17:58 +00:00
robocop
180916807d Misc. 2008-09-12 11:05:35 +00:00
alexpeshkoff
c0614a1bbc Use more carefull way to merge vectors - never have partially-copied arguments 2008-09-11 13:08:01 +00:00
alexpeshkoff
a3c947ea76 Renamed Service's methods according to Claudio's request to reflect data movement direction 2008-09-11 11:51:25 +00:00
alexpeshkoff
370ed679ec Refactored services code 2008-09-11 09:03:08 +00:00
asfernandes
f49c1afd8f Warning 2008-09-08 15:16:52 +00:00
alexpeshkoff
6e7c4db680 fixed shutdown using fbmgr 2008-09-08 14:07:19 +00:00
asfernandes
0f387a9bee Misc 2008-09-06 18:42:55 +00:00
alexpeshkoff
de1cc4f41a Fixed broken by me this week use of status vector in services - thanks to D.Kovalenko 2008-09-05 11:41:00 +00:00
robocop
b36b4dc179 Misc. 2008-08-31 06:24:24 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +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
robocop
6a439b2866 Solved CORE-1911 in a simple albeit not very clever way.
svc.cpp only needs to read the gbak switches table, but burp.cpp needs to toggle the in_sw_state field, hence I made the global instance a constant and copied it to a local array inside burp.cpp's "gbak" function.
2008-05-23 13:05:35 +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
990c259373 Fixed CORE-1843: gbak with service manager don't allow path with space 2008-05-16 14:08:45 +00:00
alexpeshkoff
86cd8cb6b3 1. Added parameter 'shutdown reason' to fb_shutdown() API call. It's passed to shutdown
callback function, and helps to take correct action in it. This fixes CORE-1827: Win32
Embedded Server should pass control to application before calling exit(3).
2. Removed unneeded any more flag in isql and qli, used earlier to distinguish between
kinds of shutdown.
2008-05-16 11:31:57 +00:00
alexpeshkoff
7ff8e4d2be Fixed CORE-1879: Server uses wrong authentication method 2008-05-04 13:38:02 +00:00
robocop
119b7f1fe0 Misc. 2008-05-01 10:58:39 +00:00
alexpeshkoff
b96cae73fb Use internal trusted authentication in services 2008-04-21 16:29:04 +00:00
asfernandes
d75951e8e5 Misc 2008-04-18 01:37:44 +00:00
dimitr
c255169fe9 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:05:44 +00:00
alexpeshkoff
ed638ceb03 Fixed CORE-1845: Some standard calls show server installation directory to regular users 2008-04-17 13:50:14 +00:00
asfernandes
f0299cfb29 Misc 2008-04-03 01:11:26 +00:00
alexpeshkoff
aafed20fe1 Fixed problems with shutting down actively running engine - related with CORE-1805. 2008-04-02 14:26:17 +00:00
alexpeshkoff
c1e726d7fa fixed service status vector contents - related with CORE-1805 2008-03-27 16:36:03 +00:00
alexpeshkoff
ed25245303 Applied shutdown changes, discussed in fb-devel a week ago. 2008-03-17 16:49:47 +00:00
dimitr
afb970dba1 1) Cleanup.
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
dadefcb479 Binary things are UCHAR. Let's try to fix them from the innermost layer to the outermost layer until we can fix the public interfaces. 2008-03-10 09:31:40 +00:00
dimitr
d597154a4b 1) Added timeout value to the shutdown API call.
2) Fixed the slow fbembed detach noticed by Claudio and Vlad.
3) Cleanup.
2008-03-04 13:27:02 +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
dimitr
5ca270c096 1) Cleanup SERVER_SHUTDOWN.
2) Make the engine shutdown asynchronous.
2008-02-29 12:47:20 +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
asfernandes
1ce834c8dc Misc 2008-02-14 01:31:15 +00:00
dimitr
61b19f7c07 Misc. 2008-02-13 16:52:29 +00:00
alexpeshkoff
dbf65528b8 Fixed CORE-1726: isc_service_start failed, use InitHolder for SecurityDatabase in services too. 2008-02-13 13:10:23 +00:00
alexpeshkoff
fad180bed8 test for out-of-memory condition has no sense here any more 2008-02-11 09:59:35 +00:00
alexpeshkoff
a9155f7e51 avoid gds__alloc/free in services 2008-02-11 09:55:16 +00:00
alexpeshkoff
134bc0ed7b Fixed CORE-1726: isc_service_start failed 2008-02-08 16:57:00 +00:00
alexpeshkoff
f6416546e8 removed old comments: they are wrong now 2008-02-04 12:01:26 +00:00
robocop
4c3381ef6b Style, constness and macro cleanup. 2008-02-03 10:41:44 +00:00
asfernandes
b39ac40c9d Misc 2008-02-03 02:32:39 +00:00
alexpeshkoff
8901a0e003 Services cleanup - make class Service traditional C++ class 2008-02-02 18:33:37 +00:00