Commit a9fff11f authored by kostja@dipika.(none)'s avatar kostja@dipika.(none)

Fix a compilation warning (unused variable).

parent 63944ed5
...@@ -853,7 +853,9 @@ bool mysql_prepare_update(THD *thd, TABLE_LIST *table_list, ...@@ -853,7 +853,9 @@ bool mysql_prepare_update(THD *thd, TABLE_LIST *table_list,
Item **conds, uint order_num, ORDER *order) Item **conds, uint order_num, ORDER *order)
{ {
Item *fake_conds= 0; Item *fake_conds= 0;
#ifndef NO_EMBEDDED_ACCESS_CHECKS
TABLE *table= table_list->table; TABLE *table= table_list->table;
#endif
List<Item> all_fields; List<Item> all_fields;
SELECT_LEX *select_lex= &thd->lex->select_lex; SELECT_LEX *select_lex= &thd->lex->select_lex;
DBUG_ENTER("mysql_prepare_update"); DBUG_ENTER("mysql_prepare_update");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment