diff options
author | sasha@mysql.sashanet.com <> | 2001-05-10 17:08:29 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2001-05-10 17:08:29 -0600 |
commit | 15df552e99b6d91bbf5482957074453941935b41 (patch) | |
tree | 11abf19d830918f05275466099b07d15bd3fba78 /sql/sql_delete.cc | |
parent | 7c9b9f471c86c53f8a55ec4a249499cf2fb6bab3 (diff) | |
download | mariadb-git-15df552e99b6d91bbf5482957074453941935b41.tar.gz |
fixes after merge. Now it compiles and passes the test suite
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index ab7ad16450e..85b1c947460 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -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; |