mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
This commit is contained in:
commit
a074e676bf
1 changed files with 3 additions and 0 deletions
|
@ -686,7 +686,10 @@ int merge_many_buff(SORTPARAM *param, uchar *sort_buffer,
|
|||
}
|
||||
close_cached_file(to_file); // This holds old result
|
||||
if (to_file == t_file)
|
||||
{
|
||||
*t_file=t_file2; // Copy result file
|
||||
setup_io_cache(t_file);
|
||||
}
|
||||
|
||||
DBUG_RETURN(*maxbuffer >= MERGEBUFF2); /* Return 1 if interrupted */
|
||||
} /* merge_many_buff */
|
||||
|
|
Loading…
Reference in a new issue