1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +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

@@ -175,6 +175,7 @@ int mysql_update(THD *thd,
TABLE_LIST tables;
List<Item> fields;
List<Item> all_fields;
ha_rows examined_rows;
bzero((char*) &tables,sizeof(tables));
tables.table = table;
@@ -184,7 +185,8 @@ int mysql_update(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;