From b902a66e274f999d078af43804a8e1e109e5fe36 Mon Sep 17 00:00:00 2001 From: "konstantin@mysql.com" <> Date: Mon, 21 Feb 2005 17:27:36 +0300 Subject: Fix -ansi -pedantic compilation failure. --- sql/sql_parse.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql') diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 0dcb59f689d..a22feda7d89 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -2780,8 +2780,8 @@ unsent_create_error: TABLE *table= tables->table; /* Skip first table, which is the table we are inserting in */ - tables= (TABLE_LIST *) - lex->select_lex.table_list.first= (byte*) first_local_table->next; + lex->select_lex.table_list.first= (byte*) first_local_table->next; + tables= (TABLE_LIST *) lex->select_lex.table_list.first; first_local_table->next= 0; if (!(res= mysql_prepare_insert(thd, tables, first_local_table, -- cgit v1.2.1