Commit e661d6ee authored by brian@zim.(none)'s avatar brian@zim.(none)

Making sure thar archive is inited for info AUTO call.

parent 9e1565e3
...@@ -1486,6 +1486,7 @@ int ha_archive::info(uint flag) ...@@ -1486,6 +1486,7 @@ int ha_archive::info(uint flag)
if (flag & HA_STATUS_AUTO) if (flag & HA_STATUS_AUTO)
{ {
init_archive_reader();
azflush(&archive, Z_SYNC_FLUSH); azflush(&archive, Z_SYNC_FLUSH);
stats.auto_increment_value= archive.auto_increment; stats.auto_increment_value= archive.auto_increment;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment