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

Method get_last_sqlstate

sql/sql_prepare.h:266–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 const char *get_last_error() const { return m_diagnostics_area.message(); }
265 unsigned int get_last_errno() const { return m_diagnostics_area.sql_errno(); }
266 const char *get_last_sqlstate() const { return m_diagnostics_area.get_sqlstate(); }
267
268 /**
269 Provided get_field_count() is not 0, this never fails. You don't

Callers

nothing calls this directly

Calls 1

get_sqlstateMethod · 0.45

Tested by

no test coverage detected