Commit c0abd9e4 authored by osku's avatar osku

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

InnoDB's SQL parser.
parent f752e64d
...@@ -1347,14 +1347,6 @@ loop: ...@@ -1347,14 +1347,6 @@ loop:
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