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

Method is_error

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

TRUE if there is an error in the error stack. Please use this method instead of direct access to net.report_error. If TRUE, the current (sub)-statement should be aborted. The main difference between this member and is_fatal_error is that a fatal error can not be handled by a stored procedure continue handler, whereas a normal error can. To raise this flag, use my_err

Source from the content-addressed store, hash-verified

2457 To raise this flag, use my_error().
2458 */
2459 inline bool is_error() const { return get_stmt_da()->is_error(); }
2460
2461 /// Returns Diagnostics-area for the current statement.
2462 Diagnostics_area *get_stmt_da()

Callers 9

hide_view_errorMethod · 0.45
clear_errorMethod · 0.45
fatal_errorMethod · 0.45
printMethod · 0.45
raise_conditionMethod · 0.45
dispatch_commandFunction · 0.45
mysql_parseFunction · 0.45
parse_sqlFunction · 0.45
sql_alloc_error_handlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected