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

Method affected_rows

sql/sql_error.h:660–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658 { DBUG_ASSERT(m_status == DA_ERROR); return m_sqlstate; }
659
660 ulonglong affected_rows() const
661 { DBUG_ASSERT(m_status == DA_OK); return m_affected_rows; }
662
663 ulonglong last_insert_id() const
664 { DBUG_ASSERT(m_status == DA_OK); return m_last_insert_id; }

Callers 2

end_statementMethod · 0.80
get_affected_rowsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected