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

Method send_error

sql/protocol.cc:568–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566*/
567
568bool Protocol::send_error(uint sql_errno, const char *err_msg,
569 const char *sql_state)
570{
571 DBUG_ENTER("Protocol::send_error");
572 const bool retval= net_send_error_packet(thd, sql_errno, err_msg, sql_state);
573 DBUG_RETURN(retval);
574}
575
576
577/****************************************************************************

Callers

nothing calls this directly

Calls 1

net_send_error_packetFunction · 0.85

Tested by

no test coverage detected