ha_federated.cc:
patch for bug#29801 sql/ha_federated.cc: patch for bug#29801
This commit is contained in:
parent
fd8471363a
commit
333447eb99
@ -2528,7 +2528,12 @@ int ha_federated::info(uint flag)
|
|||||||
status_query_string.length(0);
|
status_query_string.length(0);
|
||||||
|
|
||||||
result= mysql_store_result(mysql);
|
result= mysql_store_result(mysql);
|
||||||
if (!result)
|
|
||||||
|
/*
|
||||||
|
We're going to use fields num. 4, 12 and 13 of the resultset,
|
||||||
|
so make sure we have these fields.
|
||||||
|
*/
|
||||||
|
if (!result || (mysql_num_fields(result) < 14))
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
if (!mysql_num_rows(result))
|
if (!mysql_num_rows(result))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user