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

Function ERR_bugcheck

src/jrd/err.cpp:60–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60void ERR_bugcheck(int number, const TEXT* file, int line)
61{
62/**************************************
63 *
64 * E R R _ b u g c h e c k
65 *
66 **************************************
67 *
68 * Functional description
69 * Things seem to be going poorly today.
70 *
71 **************************************/
72 thread_db* const tdbb = JRD_get_thread_data();
73 Database* const dbb = tdbb->getDatabase();
74
75 dbb->dbb_flags |= DBB_bugcheck;
76 CCH_shutdown(tdbb);
77
78 internal_error(isc_bug_check, number, file, line);
79}
80
81
82void ERR_bugcheck_msg(const TEXT* msg)

Callers

nothing calls this directly

Calls 4

JRD_get_thread_dataFunction · 0.85
CCH_shutdownFunction · 0.85
getDatabaseMethod · 0.80
internal_errorFunction · 0.70

Tested by

no test coverage detected