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

Function thd_progress_end

sql/sql_class.cc:5305–5315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5303
5304
5305extern "C" void thd_progress_end(MYSQL_THD thd)
5306{
5307 if (thd->stmt_arena != thd->progress.arena)
5308 return;
5309 /*
5310 It's enough to reset max_counter to set disable progress indicator
5311 in processlist.
5312 */
5313 thd->progress.max_counter= 0;
5314 thd->progress.arena= 0;
5315}
5316
5317
5318/**

Callers 6

cleanup_after_queryMethod · 0.85
mysql_alter_tableFunction · 0.85
checkMethod · 0.85
analyzeMethod · 0.85
repairMethod · 0.85
optimizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected