• heikki@hundin.mysql.fi's avatar
    ha_innodb.cc: · d7b9d5c9
    heikki@hundin.mysql.fi authored
      If AUTOCOMMIT=1, then we do not need to make a plain SELECT set shared locks even on the SERIALIZABLE isolation level, because we know the transaction is read-only: a read-only transaction can always be performed on the REPEATABLE READ level, and that does not endanger the serializability
    d7b9d5c9
ha_innodb.cc 134 KB