From a9fff11f49d88e3fec08232b24a721cc515639fc Mon Sep 17 00:00:00 2001 From: "kostja@dipika.(none)" <> Date: Mon, 7 Apr 2008 23:57:47 +0400 Subject: [PATCH] Fix a compilation warning (unused variable). --- sql/sql_update.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/sql_update.cc b/sql/sql_update.cc index fe34301cda0..103ac17a821 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -853,7 +853,9 @@ bool mysql_prepare_update(THD *thd, TABLE_LIST *table_list, Item **conds, uint order_num, ORDER *order) { Item *fake_conds= 0; +#ifndef NO_EMBEDDED_ACCESS_CHECKS TABLE *table= table_list->table; +#endif List all_fields; SELECT_LEX *select_lex= &thd->lex->select_lex; DBUG_ENTER("mysql_prepare_update");