Commit 9f03e483 authored by unknown's avatar unknown

Fixed typo. Affected INSERT DELAYED ... SELECT commands

parent 4bdfe0fb
......@@ -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