Commit fa59b13a authored by Rich Prohaska's avatar Rich Prohaska

DB-781 check killed in tokudb get_next to terminate a big partition copy. ...

DB-781 check killed in tokudb get_next to terminate a big partition copy.  should be done in partition storage engine, however
parent efb32d46
......@@ -5363,9 +5363,12 @@ int ha_tokudb::get_next(uchar* buf, int direction, DBT* key_to_compare, bool do_
}
if (!error) {
tokudb_trx_data* trx = (tokudb_trx_data *) thd_get_ha_data(ha_thd(), tokudb_hton);
THD *thd = ha_thd();
tokudb_trx_data* trx = (tokudb_trx_data *) thd_get_ha_data(thd, tokudb_hton);
trx->stmt_progress.queried++;
track_progress(ha_thd());
track_progress(thd);
if (thd_killed(thd))
error = ER_ABORTING_CONNECTION;
}
cleanup:
return error;
......
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