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

Function ERR_bugcheck_msg

src/jrd/err.cpp:82–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82void ERR_bugcheck_msg(const TEXT* msg)
83{
84/**************************************
85 *
86 * E R R _ b u g c h e c k _ m s g
87 *
88 **************************************
89 *
90 * Functional description
91 * Things seem to be going poorly today.
92 *
93 **************************************/
94 thread_db* const tdbb = JRD_get_thread_data();
95 Database* const dbb = tdbb->getDatabase();
96
97 dbb->dbb_flags |= DBB_bugcheck;
98 CCH_shutdown(tdbb);
99
100 ERR_post(Arg::Gds(isc_bug_check) << Arg::Str(msg));
101}
102
103
104void ERR_soft_bugcheck(int number, const TEXT* file, int line)

Callers 15

lockMethod · 0.85
lockAllocWriteMethod · 0.85
lockAllocReadMethod · 0.85
finalizeTpcMethod · 0.85
initializeTpcMethod · 0.85
StatusBlockDataMethod · 0.85
clearMethod · 0.85
setStateMethod · 0.85
endSnapshotMethod · 0.85
CCH_init2Function · 0.85
fetchMethod · 0.85
StateWriteGuardMethod · 0.85

Calls 6

JRD_get_thread_dataFunction · 0.85
CCH_shutdownFunction · 0.85
GdsClass · 0.85
StrClass · 0.85
getDatabaseMethod · 0.80
ERR_postFunction · 0.70

Tested by

no test coverage detected