summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorbell@laptop.sanja.is.com.ua <>2003-08-16 13:26:48 +0300
committerbell@laptop.sanja.is.com.ua <>2003-08-16 13:26:48 +0300
commit85f397781bc32fbc2edb82ce57e46cd613a591f0 (patch)
tree196e72d196b908a9b1a230f0e0095fa06571fc11 /sql/sql_update.cc
parent55094f903fe5d5cad55b90b2d12dfad3f8bc730b (diff)
downloadmariadb-git-85f397781bc32fbc2edb82ce57e46cd613a591f0.tar.gz
Code cleanup
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index 21d0a5aeb42..5a6b5523cd3 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -94,8 +94,7 @@ int mysql_update(THD *thd,
if (setup_tables(update_table_list) ||
setup_conds(thd,update_table_list,&conds) ||
- setup_ref_array(thd, &thd->lex.select_lex.ref_pointer_array,
- order_num) ||
+ thd->lex.select_lex.setup_ref_array(thd, order_num) ||
setup_order(thd, thd->lex.select_lex.ref_pointer_array,
&tables, all_fields, all_fields, order) ||
setup_ftfuncs(&thd->lex.select_lex))