mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +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
|
#endif
|
||||||
|
|
||||||
/* Initialize the service and
|
Firebird::string mutex_name;
|
||||||
Setup sig_mutex for the process
|
mutex_name.printf(SERVER_MUTEX, instance);
|
||||||
*/
|
CreateMutex(ISC_get_security_desc(), FALSE, mutex_name.c_str());
|
||||||
|
|
||||||
|
// Initialize the service
|
||||||
|
|
||||||
ISC_signal_init();
|
ISC_signal_init();
|
||||||
ISC_enter();
|
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_DISPLAY_DESCR = "Firebird Server Guardian - www.firebirdsql.org";
|
||||||
static const char* const ISCGUARD_EXECUTABLE = "bin\\fbguard";
|
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 GUARDIAN_MUTEX = "FirebirdGuardianMutex%s";
|
||||||
|
|
||||||
static const char* const FB_DEFAULT_INSTANCE = "DefaultInstance";
|
static const char* const FB_DEFAULT_INSTANCE = "DefaultInstance";
|
||||||
|
Loading…
Reference in New Issue
Block a user