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

Method getRemoteError

src/jrd/extds/InternalDS.cpp:98–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void InternalProvider::getRemoteError(const FbStatusVector* status, string& err) const
99{
100 err = "";
101
102 char buff[1024];
103 const ISC_STATUS* p = status->getErrors();
104
105 for (;;)
106 {
107 const ISC_STATUS* code = p + 1;
108 if (!fb_interpret(buff, sizeof(buff), &p))
109 break;
110
111 string rem_err;
112 rem_err.printf("%lu : %s\n", *code, buff);
113 err += rem_err;
114 }
115}
116
117Connection* InternalProvider::doCreateConnection()
118{

Callers

nothing calls this directly

Calls 2

getErrorsMethod · 0.45
printfMethod · 0.45

Tested by

no test coverage detected