mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
Make gsec take into an account settings from firebird.conf
This commit is contained in:
parent
a1db87b9b2
commit
63e6eb01b5
@ -231,7 +231,8 @@ int gsec(Firebird::UtilSvc* uSvc)
|
|||||||
Firebird::string databaseText;
|
Firebird::string databaseText;
|
||||||
databaseText.printf("SecurityDatabase = %s\n", databaseName.c_str());
|
databaseText.printf("SecurityDatabase = %s\n", databaseName.c_str());
|
||||||
ConfigFile gsecDatabase(ConfigFile::USE_TEXT, databaseText.c_str());
|
ConfigFile gsecDatabase(ConfigFile::USE_TEXT, databaseText.c_str());
|
||||||
Firebird::RefPtr<Config> pseudoConfig(new Config(gsecDatabase));
|
Firebird::RefPtr<Config> defaultConfig(Config::getDefaultConfig());
|
||||||
|
Firebird::RefPtr<Config> pseudoConfig(new Config(gsecDatabase, *defaultConfig));
|
||||||
|
|
||||||
uSvc->checkService();
|
uSvc->checkService();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user