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

Function configError

src/jrd/replication/Config.cpp:83–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 void configError(CheckStatusWrapper* status, const string& type, const string& key, const string& value)
84 {
85 string msg;
86 if (!(status->getState() & IStatus::STATE_ERRORS))
87 {
88 msg.printf("Incorrect entry in %s", REPLICATION_CFGFILE);
89 (Arg::Gds(isc_random) << Arg::Str(msg)).appendTo(status);
90 }
91
92 msg.printf("%s specifies %s: %s", key.c_str(), type.c_str(), value.c_str());
93 (Arg::Gds(isc_random) << Arg::Str(msg)).appendTo(status);
94 }
95
96 bool checkAccess(CheckStatusWrapper* status, const PathName& path, const string& key)
97 {

Callers 5

checkAccessFunction · 0.85
parseExternalValueFunction · 0.85
parseSyncReplicaFunction · 0.85
getMethod · 0.85
enumerateMethod · 0.85

Calls 6

GdsClass · 0.85
StrClass · 0.85
getStateMethod · 0.45
printfMethod · 0.45
appendToMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected