Commit 9615bae3 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:5003], fix bug on main

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44234 c7de825b-a66e-492c-adef-691d508d4ae1
parent caaa06c1
......@@ -3158,7 +3158,7 @@ void ha_tokudb::start_bulk_insert(ha_rows rows) {
if (share->try_table_lock) {
if (get_prelock_empty(thd) && may_table_be_empty(transaction)) {
if (using_ignore) {
if (is_insert_ignore(thd)) {
acquire_table_lock(transaction, lock_write);
}
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