Commit 6b2ea727 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2741], fix on main, before calling loader->abort, set status message to say...

[t:2741], fix on main, before calling loader->abort, set status message to say we are aborting bulk load

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21287 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8b95882d
......@@ -2946,6 +2946,8 @@ int ha_tokudb::end_bulk_insert() {
}
}
else {
error = sprintf(write_status_msg, "aborting bulk load");
thd_proc_info(thd, write_status_msg);
loader->abort(loader);
loader = NULL;
share->try_table_lock = true;
......@@ -2954,6 +2956,8 @@ int ha_tokudb::end_bulk_insert() {
cleanup:
if (loader) {
error = sprintf(write_status_msg, "aborting bulk load");
thd_proc_info(thd, write_status_msg);
loader->abort(loader);
loader = NULL;
}
......
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