Commit 2dadbbe4 authored by Zardosht Kasheff's avatar Zardosht Kasheff

closes #66, have may_table_be_empty call use the same transaction that opens...

closes #66, have may_table_be_empty call use the same transaction that opens and possibly creates the table, otherwise it may block behind that transaction's lock tree locks
parent 2ed0f958
......@@ -1830,7 +1830,7 @@ int ha_tokudb::initialize_share(
init_auto_increment();
}
if (may_table_be_empty(NULL)) {
if (may_table_be_empty(txn)) {
share->try_table_lock = true;
}
else {
......
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