Commit 2e4ac396 authored by Tatiana A. Nurnberg's avatar Tatiana A. Nurnberg

auto-merge

parents a9c1df93 4093dcfb
......@@ -2667,7 +2667,7 @@ static void get_current_db()
(res= mysql_use_result(&mysql)))
{
MYSQL_ROW row= mysql_fetch_row(res);
if (row[0])
if (row && row[0])
current_db= my_strdup(row[0], MYF(MY_WME));
mysql_free_result(res);
}
......
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