summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <kostja@dipika.(none)>2008-04-07 23:57:47 +0400
committerunknown <kostja@dipika.(none)>2008-04-07 23:57:47 +0400
commit797bfd6e3fda46deb88ab34ef368223e01759111 (patch)
tree63e7fddb92bcb9e6b2ea571f0efb467459c3430d
parent17ec1c3c3b036bc8d856824dc0912539ca6e7da9 (diff)
downloadmariadb-git-797bfd6e3fda46deb88ab34ef368223e01759111.tar.gz
Fix a compilation warning (unused variable).
-rw-r--r--sql/sql_update.cc2
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");