diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc index 7045e5c31d5..5b2af70f34e 100644 --- a/sql/ha_innobase.cc +++ b/sql/ha_innobase.cc @@ -3700,7 +3700,7 @@ ha_innobase::store_lock( binlog) requires the use of a locking read */ prebuilt->select_lock_type = LOCK_S; - } else { + } else if (lock_type != TL_IGNORE) { /* We set possible LOCK_X value in external_lock, not yet here even if this would be SELECT ... FOR UPDATE */