1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

fixes after merge. Now it compiles and passes the test suite

This commit is contained in:
sasha@mysql.sashanet.com
2001-05-10 17:08:29 -06:00
parent 7c9b9f471c
commit 15df552e99
5 changed files with 15 additions and 4 deletions

View File

@@ -205,6 +205,7 @@ int mysql_delete(THD *thd,
TABLE_LIST tables;
List<Item> fields;
List<Item> all_fields;
ha_rows examined_rows;
bzero((char*) &tables,sizeof(tables));
tables.table = table;
@@ -214,7 +215,8 @@ int mysql_delete(THD *thd,
if (setup_order(thd, &tables, fields, all_fields, order) ||
!(sortorder=make_unireg_sortorder(order, &length)) ||
(table->found_records = filesort(&table, sortorder, length,
(SQL_SELECT *) 0, 0L, HA_POS_ERROR))
(SQL_SELECT *) 0, 0L, HA_POS_ERROR,
&examined_rows))
== HA_POS_ERROR)
{
delete select;