diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2003-04-26 15:58:39 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2003-04-26 15:58:39 +0300 |
commit | 55e233ad2bf08e96608fc54530c063684f672f23 (patch) | |
tree | 1f444cfe4449ce621643ef1b10657e79b4233a97 /sql/sql_delete.cc | |
parent | 0c94064bbddde8358b9308f0b0f2ce10e971a35a (diff) | |
download | mariadb-git-55e233ad2bf08e96608fc54530c063684f672f23.tar.gz |
Post-merge fix.
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 3b8af37c1aa..6bb336a87a6 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -124,14 +124,14 @@ int mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds, ORDER *order, bzero((char*) &tables,sizeof(tables)); tables.table = table; - table->io_cache = (IO_CACHE *) my_malloc(sizeof(IO_CACHE), + table->sort.io_cache = (IO_CACHE *) my_malloc(sizeof(IO_CACHE), MYF(MY_FAE | MY_ZEROFILL)); if (setup_ref_array(thd, &thd->lex.select_lex.ref_pointer_array, all_fields.elements)|| setup_order(thd, thd->lex.select_lex.ref_pointer_array, &tables, fields, all_fields, order) || !(sortorder=make_unireg_sortorder(order, &length)) || - (table->found_records = filesort(thd, table, sortorder, length, + (table->sort.found_records = filesort(thd, table, sortorder, length, (SQL_SELECT *) 0, HA_POS_ERROR, &examined_rows)) == HA_POS_ERROR) |