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

Function my_ok

sql/sql_class.h:2929–2935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2927/** A short cut for thd->get_stmt_da()->set_ok_status(). */
2928
2929inline void
2930my_ok(THD *thd, ulonglong affected_rows= 0, ulonglong id= 0,
2931 const char *message= NULL)
2932{
2933 thd->set_row_count_func(affected_rows);
2934 thd->get_stmt_da()->set_ok_status(affected_rows, id, message);
2935}
2936
2937
2938/** A short cut for thd->get_stmt_da()->set_eof_status(). */

Callers

nothing calls this directly

Calls 3

set_row_count_funcMethod · 0.80
set_ok_statusMethod · 0.80
get_stmt_daMethod · 0.80

Tested by

no test coverage detected