mirror of
https://github.com/MariaDB/server.git
synced 2025-07-10 04:22:00 +03:00
Added THD as parameter to filesort. Removed not used 'special' argument.
This commit is contained in:
@ -2099,8 +2099,8 @@ copy_data_between_tables(TABLE *from,TABLE *to,
|
||||
|
||||
if (setup_order(thd, &tables, fields, all_fields, order) ||
|
||||
!(sortorder=make_unireg_sortorder(order, &length)) ||
|
||||
(from->found_records = filesort(from, sortorder, length,
|
||||
(SQL_SELECT *) 0, 0L, HA_POS_ERROR,
|
||||
(from->found_records = filesort(thd, from, sortorder, length,
|
||||
(SQL_SELECT *) 0, HA_POS_ERROR,
|
||||
&examined_rows))
|
||||
== HA_POS_ERROR)
|
||||
goto err;
|
||||
|
Reference in New Issue
Block a user