Commit 4eccbd87 authored by guilhem@mysql.com's avatar guilhem@mysql.com

Avoid segfault when LOAD DATA FROM MASTER is run on a master which does no

binary logging.
parent 8af74e5b
......@@ -860,7 +860,7 @@ int load_master_data(THD* thd)
of LOAD DATA FROM MASTER - no reason to forbid it, really,
although it does not make much sense for the user to do it
*/
if (row[0] && row[1])
if (row && row[0] && row[1])
{
strmake(active_mi->master_log_name, row[0],
sizeof(active_mi->master_log_name));
......
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