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

Function iscLogStatus

src/common/isc.cpp:513–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511
512
513void iscLogStatus(const TEXT* text, const ISC_STATUS* status_vector)
514{
515/**************************************
516 *
517 * i s c L o g S t a t u s
518 *
519 **************************************
520 *
521 * Functional description
522 * Log error to error log.
523 *
524 **************************************/
525 fb_assert(status_vector[1] != FB_SUCCESS);
526
527 try
528 {
529 Firebird::string buffer(text ? text : "");
530
531 TEXT temp[BUFFER_LARGE];
532 while (fb_interpret(temp, sizeof(temp), &status_vector))
533 {
534 if (!buffer.isEmpty())
535 {
536 buffer += "\n\t";
537 }
538 buffer += temp;
539 }
540
541 gds__log("%s", buffer.c_str());
542 }
543 catch (const Firebird::Exception&)
544 {} // no-op
545}
546
547
548void iscLogStatus(const TEXT* text, const Firebird::IStatus* status)

Callers 15

freeClientDataMethod · 0.85
authenticateStep0Function · 0.85
authenticateMethod · 0.85
SRVR_multi_threadFunction · 0.85
accept_connectionFunction · 0.85
process_packetFunction · 0.85
CLIB_ROUTINE mainFunction · 0.85
start_connections_threadFunction · 0.85
shutdownMethod · 0.85
handlerMethod · 0.85
checkLogStatusMethod · 0.85
LockManagerMethod · 0.85

Calls 4

mergeStatusMethod · 0.80
isEmptyMethod · 0.45
c_strMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected