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

Method getHashLength

src/remote/server/server.cpp:275–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 }
274
275 int getHashLength(Firebird::CheckStatusWrapper* status) override
276 {
277 Reference r(*port);
278 loadClientKey();
279
280 if (keyCallback)
281 return keyCallback->getHashLength(status);
282
283 if (!networkCallback.isStopped())
284 {
285 ISC_STATUS err[] = {isc_arg_gds, isc_wish_list};
286 status->setErrors2(FB_NELEM(err), err);
287
288 return -1;
289 }
290
291 return 0;
292 }
293
294 void getHashData(Firebird::CheckStatusWrapper* status, void* h) override
295 {

Callers

nothing calls this directly

Calls 3

getHashLengthMethod · 0.45
isStoppedMethod · 0.45
setErrors2Method · 0.45

Tested by

no test coverage detected