MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / fatal_error

Method fatal_error

sql/sql_class.h:2440–2445  ·  view source on GitHub ↗

Mark the current error as fatal. Warning: this does not set any error, it sets a property of the error, so must be followed or prefixed with my_error(). */

Source from the content-addressed store, hash-verified

2438 followed or prefixed with my_error().
2439 */
2440 inline void fatal_error()
2441 {
2442 DBUG_ASSERT(get_stmt_da()->is_error() || killed);
2443 is_fatal_error= 1;
2444 DBUG_PRINT("error",("Fatal error set"));
2445 }
2446 /**
2447 TRUE if there is an error in the error stack.
2448

Callers

nothing calls this directly

Calls 1

is_errorMethod · 0.45

Tested by

no test coverage detected