diff options
author | guilhem@mysql.com <> | 2003-09-25 00:24:06 +0200 |
---|---|---|
committer | guilhem@mysql.com <> | 2003-09-25 00:24:06 +0200 |
commit | e4c7496c141ad9990a42121bcdd53eb22e90df2f (patch) | |
tree | 628ac8621c9857e5428eb26d2190cc23ad495675 | |
parent | c5242d2f4692195e83d79a64f3d9591103ceb5e8 (diff) | |
download | mariadb-git-e4c7496c141ad9990a42121bcdd53eb22e90df2f.tar.gz |
a small comment about why we call end_io_cache in mysql_load
-rw-r--r-- | sql/sql_load.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc index ca540a8cdc0..e692e7b8dab 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -336,6 +336,11 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list, } 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(); if (lf_info.wrote_create_file) { |