mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 09:04:29 +02:00
If doing write, then peeking is not needed
This commit is contained in:
parent
65942df9c9
commit
cebcd28232
1 changed files with 1 additions and 1 deletions
|
|
@ -2076,7 +2076,7 @@ int ha_ndbcluster::write_row(byte *record)
|
||||||
/*
|
/*
|
||||||
* If IGNORE the ignore constraint violations on primary and unique keys
|
* If IGNORE the ignore constraint violations on primary and unique keys
|
||||||
*/
|
*/
|
||||||
if (m_ignore_dup_key)
|
if (!m_use_write && m_ignore_dup_key)
|
||||||
{
|
{
|
||||||
int peek_res= peek_indexed_rows(record);
|
int peek_res= peek_indexed_rows(record);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue