MySQL & MariaDB error 1165 ER_DELAYED_INSERT_TABLE_LOCKED
MySQLINSERT DELAYED can't be used with table '…' because it is locked with LOCK TABLES
MariaDBINSERT DELAYED can't be used with table '…' because it is locked with LOCK TABLES
How the message changed between versions