mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
[t:5041], fix load data local on main
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44399 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
f332f537c2
commit
19b43690e0
1 changed files with 1 additions and 1 deletions
|
@ -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 (is_insert_ignore(thd) || thd->lex->duplicates != DUP_ERROR) {
|
||||
if (using_ignore || is_insert_ignore(thd) || thd->lex->duplicates != DUP_ERROR) {
|
||||
acquire_table_lock(transaction, lock_write);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue