mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
a small comment about why we call end_io_cache in mysql_load
sql/sql_load.cc: small comment
This commit is contained in:
parent
1ae7ee3ba0
commit
8090030700
1 changed files with 5 additions and 0 deletions
|
@ -336,6 +336,11 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
As already explained above, we need to call end_io_cache() or the last
|
||||||
|
block will be logged only after Execute_load_log_event (which is wrong),
|
||||||
|
when read_info is destroyed.
|
||||||
|
*/
|
||||||
read_info.end_io_cache();
|
read_info.end_io_cache();
|
||||||
if (lf_info.wrote_create_file)
|
if (lf_info.wrote_create_file)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue