• Alexey Botchkov's avatar
    Bug#42465 mysqlhotcopy fails with "Table '<y>' was locked with a READ lock" error message. · a8d2da23
    Alexey Botchkov authored
        Since 5.5 FLUSH TABLES requires unlocked tables so the old LOCK TABLES/FLUSH TABLES
        model fails. Use atomic FLUSH TABLES WITH READ LOCK instead.
    
    per-file comments:
      scripts/mysqlhotcopy.sh
    Bug#42465      mysqlhotcopy fails with "Table '<y>' was locked with a READ lock" error message.
         Use FLUSH TABLES WITH READ LOCK instead of LOCK TABLES / FLUSH TABLES pair.
         Keep the old scheme for older servers.
    a8d2da23
mysqlhotcopy.sh 31.5 KB