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

Method sql_errno

sql/sql_error.h:654–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652 { DBUG_ASSERT(m_status == DA_ERROR || m_status == DA_OK); return m_message; }
653
654 uint sql_errno() const
655 { DBUG_ASSERT(m_status == DA_ERROR); return m_sql_errno; }
656
657 const char* get_sqlstate() const
658 { DBUG_ASSERT(m_status == DA_ERROR); return m_sqlstate; }

Callers 3

hide_view_errorMethod · 0.80
end_statementMethod · 0.80
get_last_errnoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected