Commit e33f3709 authored by unknown's avatar unknown

Making sure thar archive is inited for info AUTO call.


storage/archive/ha_archive.cc:
  Adding init for HA_STATUS_AUTO call
parent ac8c78bb
...@@ -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