mirror of
https://github.com/MariaDB/server.git
synced 2026-05-08 08:04:29 +02:00
Post review fix of Bug#17431 INSERT IGNORE INTO returns failed: 1296: err 4350 'Transaction already aborted', shared locking is sufficient
sql/ha_ndbcluster.cc: Post review fix of Bug#17431 INSERT IGNORE INTO returns failed: 1296: err 4350 'Transacti
This commit is contained in:
parent
e0737d83c1
commit
65942df9c9
1 changed files with 1 additions and 2 deletions
|
|
@ -1560,8 +1560,7 @@ int ha_ndbcluster::peek_indexed_rows(const byte *record)
|
|||
int res;
|
||||
DBUG_ENTER("peek_indexed_rows");
|
||||
|
||||
NdbOperation::LockMode lm=
|
||||
(NdbOperation::LockMode)get_ndb_lock_type(m_lock.type);
|
||||
NdbOperation::LockMode lm= NdbOperation::LM_Read;
|
||||
first= NULL;
|
||||
if (table->s->primary_key != MAX_KEY)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue