Commit 559429a1 authored by unknown's avatar unknown

Fix berkeley_show_logs().


sql/ha_berkeley.cc:
  - fix coredump in berkeley_show_logs()
parent fff38c90
......@@ -237,7 +237,7 @@ int berkeley_show_logs(THD *thd)
packet->length(0);
net_store_data(packet,*a);
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);
++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