MCPcopy Create free account
hub / github.com/MariaDB/server / fatal_error

Method fatal_error

sql/sql_class.h:5176–5181  ·  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

5174 followed or prefixed with my_error().
5175 */
5176 inline void fatal_error()
5177 {
5178 DBUG_ASSERT(get_stmt_da()->is_error() || killed);
5179 is_fatal_error= 1;
5180 DBUG_PRINT("error",("Fatal error set"));
5181 }
5182 /**
5183 TRUE if there is an error in the error stack.
5184

Callers 3

open_and_lock_tableMethod · 0.80
handle_delayed_insertFunction · 0.80
do_updatesMethod · 0.80

Calls 1

is_errorMethod · 0.45

Tested by

no test coverage detected