• Konstantin Osipov's avatar
    Backport of: · 669258ab
    Konstantin Osipov authored
    ----------------------------------------------------------
    revno: 2630.4.36
    committer: Konstantin Osipov <konstantin@mysql.com>
    branch nick: mysql-6.0-3726
    timestamp: Wed 2008-06-25 17:03:37 +0400
    message:
      As per discussion with Serg and Dmitri, remove the code
      that is trying to emulate LOCK TABLES when locking tables for prelocking.
      This code was worked around by the engines, and has no effect.
      We may still have to do something to ensure that statement-based
      replication is consistent in MVCC engines, or other engines
      that downgrade table level locks, but this will have to be done
      somehow differently.
    669258ab
sql_base.cc 268 KB