MDEV-10388 MariaDB 10.1.x keeps (deleted) ML* files in tmpdir after LOAD DATA completes
truncate unused IO_CACHE backing store files in binlog_cache_data to release the disk space they were occupying
This commit is contained in:
parent
1d702ff07c
commit
f5e0522d92
@ -263,6 +263,9 @@ public:
|
|||||||
{
|
{
|
||||||
compute_statistics();
|
compute_statistics();
|
||||||
truncate(0);
|
truncate(0);
|
||||||
|
if(cache_log.file != -1)
|
||||||
|
my_chsize(cache_log.file, 0, 0, MYF(MY_WME));
|
||||||
|
|
||||||
changes_to_non_trans_temp_table_flag= FALSE;
|
changes_to_non_trans_temp_table_flag= FALSE;
|
||||||
incident= FALSE;
|
incident= FALSE;
|
||||||
before_stmt_pos= MY_OFF_T_UNDEF;
|
before_stmt_pos= MY_OFF_T_UNDEF;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user