MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / specialProcessing

Method specialProcessing

src/common/config/config.cpp:579–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579ConfigValue Config::specialProcessing(ConfigKey key, ConfigValue val)
580{
581 // irregular case
582 switch (key)
583 {
584 case KEY_SECURITY_DATABASE:
585 if (!val.strVal)
586 {
587 val.strVal = MasterInterfacePtr()->getConfigManager()->getDefaultSecurityDb();
588 if (!val.strVal)
589 val.strVal = "security.db";
590 }
591 break;
592 }
593
594 return val;
595}
596
597bool Config::getValue(unsigned int key, string& str) const
598{

Callers

nothing calls this directly

Calls 3

MasterInterfacePtrClass · 0.85
getDefaultSecurityDbMethod · 0.45
getConfigManagerMethod · 0.45

Tested by

no test coverage detected