From 05b07b3d9dbbfa05730db98e4ef332cc9456b103 Mon Sep 17 00:00:00 2001 From: unknown <dlenev@mysql.com> Date: Wed, 7 Dec 2005 22:36:13 +0300 Subject: [PATCH] Fix -ansi -pedantic compilation failure. Fix coding style. --- sql/sql_parse.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 6a453407cd0..dc5237d9b7d 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -2617,7 +2617,7 @@ mysql_execute_command(THD *thd) goto error; /* purecov: inspected */ thd->enable_slow_log= opt_log_slow_admin_statements; res = mysql_backup_table(thd, first_table); - (TABLE_LIST*) select_lex->table_list.first=first_table; + select_lex->table_list.first= (byte*) first_table; lex->query_tables=all_tables; break; } @@ -2630,7 +2630,7 @@ mysql_execute_command(THD *thd) goto error; /* purecov: inspected */ thd->enable_slow_log= opt_log_slow_admin_statements; res = mysql_restore_table(thd, first_table); - (TABLE_LIST*) select_lex->table_list.first=first_table; + select_lex->table_list.first= (byte*) first_table; lex->query_tables=all_tables; break; } @@ -3134,7 +3134,7 @@ mysql_execute_command(THD *thd) mysql_bin_log.write(&qinfo); } } - (TABLE_LIST*) select_lex->table_list.first=first_table; + select_lex->table_list.first= (byte*) first_table; lex->query_tables=all_tables; break; } @@ -3146,7 +3146,7 @@ mysql_execute_command(THD *thd) goto error; /* purecov: inspected */ thd->enable_slow_log= opt_log_slow_admin_statements; res = mysql_check_table(thd, first_table, &lex->check_opt); - (TABLE_LIST*) select_lex->table_list.first=first_table; + select_lex->table_list.first= (byte*) first_table; lex->query_tables=all_tables; break; } @@ -3168,7 +3168,7 @@ mysql_execute_command(THD *thd) mysql_bin_log.write(&qinfo); } } - (TABLE_LIST*) select_lex->table_list.first=first_table; + select_lex->table_list.first= (byte*) first_table; lex->query_tables=all_tables; break; } @@ -3193,7 +3193,7 @@ mysql_execute_command(THD *thd) mysql_bin_log.write(&qinfo); } } - (TABLE_LIST*) select_lex->table_list.first=first_table; + select_lex->table_list.first= (byte*) first_table; lex->query_tables=all_tables; break; } -- 2.30.9