Commit cfcf61e6 authored by osku's avatar osku

Revert r598, it is incompatible with the upcoming support for lock waits in

InnoDB's SQL parser.
parent 124d970f
...@@ -1347,14 +1347,6 @@ que_run_threads( ...@@ -1347,14 +1347,6 @@ que_run_threads(
que_thr_dec_refer_count(thr, &next_thr); que_thr_dec_refer_count(thr, &next_thr);
if (next_thr == NULL) { if (next_thr == NULL) {
trx_t* trx = thr_get_trx(thr);
if (trx->conc_state == TRX_ACTIVE) {
/* Check we haven't accidentally left the
transaction in TRX_LOCK_WAIT or something. */
ut_a(trx->que_state == TRX_QUE_RUNNING);
}
return; return;
} }
......
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