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

Method set_error_status

sql/sql_error.cc:487–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485*/
486
487void
488Diagnostics_area::set_error_status(uint sql_errno)
489{
490 set_error_status(sql_errno,
491 ER(sql_errno),
492 mysql_errno_to_sqlstate(sql_errno),
493 NULL);
494}
495
496/**
497 Set ERROR status in the Diagnostics Area.

Callers 2

raise_conditionMethod · 0.80
sql_alloc_error_handlerFunction · 0.80

Calls 3

mysql_errno_to_sqlstateFunction · 0.85
strmakeFunction · 0.85
set_error_conditionMethod · 0.80

Tested by

no test coverage detected