summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2003-12-20 03:42:17 +0200
committerunknown <monty@mysql.com>2003-12-20 03:42:17 +0200
commitd5708aeb6873611d0b86e27b2540bb9535e40e21 (patch)
tree1da128f0a9e85ffe2afebf0e6720da55a0ac53b5 /sql/sql_delete.cc
parent28f7dbdb05780986027094540bf53115ebaa4e5b (diff)
parent65c44414c21c21ce7b57bd672873558ec2ed3031 (diff)
downloadmariadb-git-d5708aeb6873611d0b86e27b2540bb9535e40e21.tar.gz
Merge fix
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r--sql/sql_delete.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index a8b13288bf3..9ac7b7596fe 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -131,7 +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,
+ 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,