summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <konstantin@oak.local>2003-12-20 03:06:33 +0300
committerunknown <konstantin@oak.local>2003-12-20 03:06:33 +0300
commit28f7dbdb05780986027094540bf53115ebaa4e5b (patch)
tree3f8c3e5d5440c2584530198fb6c7e55bd2ab416e /sql
parente87a2b317fc44828b24abbbbdf2bf0634a8179cb (diff)
downloadmariadb-git-28f7dbdb05780986027094540bf53115ebaa4e5b.tar.gz
one line was removed during merge
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_delete.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index 78512f705a9..a8b13288bf3 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -131,6 +131,7 @@ int mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds, SQL_LIST *order,
table->sort.io_cache = (IO_CACHE *) my_malloc(sizeof(IO_CACHE),
MYF(MY_FAE | MY_ZEROFILL));
if (thd->lex->select_lex.setup_ref_array(thd, order->elements) ||
+ setup_order(thd, thd->lex->select_lex.ref_pointer_array, &tables,
fields, all_fields, (ORDER*) order->first) ||
!(sortorder=make_unireg_sortorder((ORDER*) order->first, &length)) ||
(table->sort.found_records = filesort(thd, table, sortorder, length,