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

Method setDb

src/common/Auth.cpp:114–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void WriterImplementation::setDb(Firebird::CheckStatusWrapper* st, const char* value)
115{
116 try
117 {
118 if (value)
119 {
120 PathName target;
121 expandDatabaseName(value, target, NULL);
122 current.insertString(AuthReader::AUTH_SECURE_DB, target);
123 }
124 }
125 catch (const Firebird::Exception& ex)
126 {
127 ex.stuffException(st);
128 }
129}
130
131} // namespace Auth

Callers

nothing calls this directly

Calls 3

expandDatabaseNameFunction · 0.85
insertStringMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected