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

Function ERR_punt

src/jrd/err.cpp:324–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322
323
324void ERR_punt()
325{
326/**************************************
327 *
328 * E R R _ p u n t
329 *
330 **************************************
331 *
332 * Functional description
333 * Error stuff has been copied to status vector. Now punt.
334 *
335 **************************************/
336
337 thread_db* tdbb = JRD_get_thread_data();
338 Database* dbb = tdbb->getDatabase();
339
340 if (dbb && (dbb->dbb_flags & DBB_bugcheck))
341 {
342 iscDbLogStatus(dbb->dbb_filename.nullStr(), tdbb->tdbb_status_vector);
343 if (Config::getBugcheckAbort())
344 {
345 abort();
346 }
347 }
348
349 status_exception::raise(tdbb->tdbb_status_vector);
350}
351
352
353void ERR_warning(const Arg::StatusVector& v)

Callers 15

setErrorMethod · 0.85
CchHdrMethod · 0.85
PhysHdrMethod · 0.85
lockAndReadHeaderMethod · 0.85
changeCryptStateMethod · 0.85
internalAttachMethod · 0.85
JRD_receiveFunction · 0.85
JRD_sendFunction · 0.85
JRD_startFunction · 0.85
JRD_start_and_sendFunction · 0.85
EXE_looperFunction · 0.85
trigger_failureFunction · 0.85

Calls 5

JRD_get_thread_dataFunction · 0.85
iscDbLogStatusFunction · 0.85
raiseFunction · 0.85
getDatabaseMethod · 0.80
nullStrMethod · 0.45

Tested by

no test coverage detected