mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Server-side fix for CORE-1820.
This commit is contained in:
parent
ac730b43ac
commit
1c343cbadc
@ -201,9 +201,12 @@ int WINAPI WinMain(HINSTANCE hThisInst,
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Initialize the service and
|
||||
Setup sig_mutex for the process
|
||||
*/
|
||||
Firebird::string mutex_name;
|
||||
mutex_name.printf(SERVER_MUTEX, instance);
|
||||
CreateMutex(ISC_get_security_desc(), FALSE, mutex_name.c_str());
|
||||
|
||||
// Initialize the service
|
||||
|
||||
ISC_signal_init();
|
||||
ISC_enter();
|
||||
|
||||
|
@ -35,6 +35,7 @@ static const char* const ISCGUARD_DISPLAY_NAME = "Firebird Guardian - %s";
|
||||
static const char* const ISCGUARD_DISPLAY_DESCR = "Firebird Server Guardian - www.firebirdsql.org";
|
||||
static const char* const ISCGUARD_EXECUTABLE = "bin\\fbguard";
|
||||
|
||||
static const char* const SERVER_MUTEX = "FirebirdServerMutex%s";
|
||||
static const char* const GUARDIAN_MUTEX = "FirebirdGuardianMutex%s";
|
||||
|
||||
static const char* const FB_DEFAULT_INSTANCE = "DefaultInstance";
|
||||
|
Loading…
Reference in New Issue
Block a user