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(). */
| 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 |
no test coverage detected