mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Fixed typo. Affected INSERT DELAYED ... SELECT commands
This commit is contained in:
@@ -1990,7 +1990,7 @@ mysql_execute_command(void)
|
|||||||
}
|
}
|
||||||
/* Fix lock for first table */
|
/* Fix lock for first table */
|
||||||
if (tables->lock_type == TL_WRITE_DELAYED)
|
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 */
|
/* Don't unlock tables until command is written to binary log */
|
||||||
select_lex->options|= SELECT_NO_UNLOCK;
|
select_lex->options|= SELECT_NO_UNLOCK;
|
||||||
|
Reference in New Issue
Block a user