diff options
author | konstantin@mysql.com <> | 2005-02-21 17:27:36 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2005-02-21 17:27:36 +0300 |
commit | b902a66e274f999d078af43804a8e1e109e5fe36 (patch) | |
tree | 4fe22e07f0aba1b381f6cf1d57055d60e9eb01fc /sql | |
parent | 1bd47888b31a9bc9145791fb69362bec758e1131 (diff) | |
download | mariadb-git-b902a66e274f999d078af43804a8e1e109e5fe36.tar.gz |
Fix -ansi -pedantic compilation failure.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_parse.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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, |