MCPcopy Create free account
hub / github.com/MariaDB/server / get_last_sqlstate

Method get_last_sqlstate

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

Source from the content-addressed store, hash-verified

276 const char *get_last_error() const { return m_diagnostics_area.message(); }
277 unsigned int get_last_errno() const { return m_diagnostics_area.sql_errno(); }
278 const char *get_last_sqlstate() const { return m_diagnostics_area.get_sqlstate(); }
279
280 /**
281 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