diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def index 7555df95b04..5b481175685 100644 --- a/mysql-test/t/disabled.def +++ b/mysql-test/t/disabled.def @@ -10,6 +10,7 @@ # ############################################################################## +archive : Change between azio and gzio is causing an issue events : Test case instability - infinite locking. To be fixed. func_group : Bug#15448 func_math : Bug#15448 diff --git a/sql/ha_archive.cc b/sql/ha_archive.cc index 0991985701b..31978c3dbfb 100644 --- a/sql/ha_archive.cc +++ b/sql/ha_archive.cc @@ -1239,7 +1239,7 @@ int ha_archive::optimize(THD* thd, HA_CHECK_OPT* check_opt) azflush(&writer, Z_SYNC_FLUSH); share->dirty= FALSE; - azclose(share->archive_write); + azclose(&(share->archive_write)); share->archive_write= writer; my_rename(writer_filename,share->data_file_name,MYF(0));