8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 14:03:02 +01:00

Make firebird engine use classic mode during boot build

This commit is contained in:
AlexPeshkoff 2020-01-13 17:10:38 +03:00
parent e126a21a7c
commit 9fdd0d36d6

View File

@ -189,7 +189,7 @@ const Config::ConfigEntry Config::entries[MAX_CONFIG_KEY] =
{TYPE_STRING, "UserManager", (ConfigValue) "Srp"}, {TYPE_STRING, "UserManager", (ConfigValue) "Srp"},
{TYPE_STRING, "TracePlugin", (ConfigValue) "fbtrace"}, {TYPE_STRING, "TracePlugin", (ConfigValue) "fbtrace"},
{TYPE_STRING, "SecurityDatabase", (ConfigValue) "security.db"}, // sec/db alias - rely on databases.conf {TYPE_STRING, "SecurityDatabase", (ConfigValue) "security.db"}, // sec/db alias - rely on databases.conf
{TYPE_STRING, "ServerMode", (ConfigValue) "Super"}, {TYPE_STRING, "ServerMode", (ConfigValue) ""}, // actual value differs in boot/regular cases
{TYPE_STRING, "WireCrypt", (ConfigValue) NULL}, {TYPE_STRING, "WireCrypt", (ConfigValue) NULL},
{TYPE_STRING, "WireCryptPlugin", (ConfigValue) "Arc4"}, {TYPE_STRING, "WireCryptPlugin", (ConfigValue) "Arc4"},
{TYPE_STRING, "KeyHolderPlugin", (ConfigValue) ""}, {TYPE_STRING, "KeyHolderPlugin", (ConfigValue) ""},
@ -707,7 +707,7 @@ int Config::getServerMode()
} }
// use default // use default
rc = MODE_SUPER; rc = fb_utils::bootBuild() ? MODE_CLASSIC : MODE_SUPER;
return rc; return rc;
} }