From 9f03e48321e1be3e1227d582bdfaecd7dbe872e9 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 17 Dec 2003 18:12:59 +0100 Subject: [PATCH] Fixed typo. Affected INSERT DELAYED ... SELECT commands --- sql/sql_parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 50e515d7179..5c08127bfdc 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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;