Commit 680b2ee4 authored by monty@mysql.com's avatar monty@mysql.com

Fixed typo. Affected INSERT DELAYED ... SELECT commands

parent 30e31831
......@@ -1990,7 +1990,7 @@ mysql_execute_command(void)
}
/* Fix lock for first table */
if (tables->lock_type == TL_WRITE_DELAYED)
tables->lock_type == TL_WRITE;
tables->lock_type= TL_WRITE;
/* Don't unlock tables until command is written to binary log */
select_lex->options|= SELECT_NO_UNLOCK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment