diff options
author | unknown <kostja@dipika.(none)> | 2008-04-07 23:57:47 +0400 |
---|---|---|
committer | unknown <kostja@dipika.(none)> | 2008-04-07 23:57:47 +0400 |
commit | 797bfd6e3fda46deb88ab34ef368223e01759111 (patch) | |
tree | 63e7fddb92bcb9e6b2ea571f0efb467459c3430d | |
parent | 17ec1c3c3b036bc8d856824dc0912539ca6e7da9 (diff) | |
download | mariadb-git-797bfd6e3fda46deb88ab34ef368223e01759111.tar.gz |
Fix a compilation warning (unused variable).
-rw-r--r-- | sql/sql_update.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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<Item> all_fields; SELECT_LEX *select_lex= &thd->lex->select_lex; DBUG_ENTER("mysql_prepare_update"); |