Commit 0181a936 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

simplify the track_progress method refs[t:2082]

git-svn-id: file:///svn/mysql/tokudb-engine/src@15085 c7de825b-a66e-492c-adef-691d508d4ae1
parent b02ad593
...@@ -4013,14 +4013,7 @@ void ha_tokudb::track_progress(THD* thd) { ...@@ -4013,14 +4013,7 @@ void ha_tokudb::track_progress(THD* thd) {
next_status += r; next_status += r;
first = false; first = false;
} }
if (first) sprintf( if (!first)
write_status_msg,
"Queried about %llu rows, inserted about %llu rows, updated about %llu rows, deleted about %llu rows",
trx->stmt_progress.queried,
trx->stmt_progress.inserted,
trx->stmt_progress.updated,
trx->stmt_progress.deleted
);
thd_proc_info(thd, write_status_msg); thd_proc_info(thd, write_status_msg);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment