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

Function reset_stmt_params

sql/sql_prepare.cc:3230–3239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3228*/
3229
3230static void reset_stmt_params(Prepared_statement *stmt)
3231{
3232 Item_param **item= stmt->param_array;
3233 Item_param **end= item + stmt->param_count;
3234 for (;item < end ; ++item)
3235 {
3236 (**item).reset();
3237 (**item).sync_clones();
3238 }
3239}
3240
3241
3242static void mysql_stmt_execute_common(THD *thd,

Callers 6

mysqld_stmt_fetchFunction · 0.85
mysqld_stmt_resetFunction · 0.85
set_parametersMethod · 0.85
execute_loopMethod · 0.85
set_bulk_parametersMethod · 0.85
execute_bulk_loopMethod · 0.85

Calls 2

sync_clonesMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected