change explicit granting of LOCK TABLES