Commit a6d703b7 authored by tim@cane.mysql.fi's avatar tim@cane.mysql.fi

Fix berkeley_show_logs().

parent ea2d545e
...@@ -237,7 +237,7 @@ int berkeley_show_logs(THD *thd) ...@@ -237,7 +237,7 @@ int berkeley_show_logs(THD *thd)
packet->length(0); packet->length(0);
net_store_data(packet,*a); net_store_data(packet,*a);
net_store_data(packet,"BDB"); net_store_data(packet,"BDB");
if (f && strcmp(*a, *f) == 0) if (f && *f && strcmp(*a, *f) == 0)
{ {
net_store_data(packet, SHOW_LOG_STATUS_FREE); net_store_data(packet, SHOW_LOG_STATUS_FREE);
++f; ++f;
......
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