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(). */
| 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 |