mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
Bug #19493 NDB does not ignore duplicate keys when using LOAD DATA LOCAL
- correction of backport error
This commit is contained in:
parent
ca1fd91f16
commit
f3a286cc54
1 changed files with 1 additions and 1 deletions
|
@ -3001,7 +3001,7 @@ void ha_ndbcluster::start_bulk_insert(ha_rows rows)
|
|||
DBUG_PRINT("enter", ("rows: %d", (int)rows));
|
||||
|
||||
m_rows_inserted= (ha_rows) 0;
|
||||
if (!m_use_write && m_ignore_dup_key)
|
||||
if (m_ignore_dup_key && table->primary_key != MAX_KEY)
|
||||
{
|
||||
/*
|
||||
compare if expression with that in write_row
|
||||
|
|
Loading…
Reference in a new issue