Commit bd54e676 authored by stewart@mysql.com's avatar stewart@mysql.com

BUG#20725 MySQLD cluster use "fast count" is broken

fix based on review by tomas.

conform to bug we haven't fixed yet.
parent bc91efe0
......@@ -430,6 +430,13 @@ ha_rows ha_ndbcluster::records()
{
retval= stat.row_count;
}
else
{
/**
* Be consistent with BUG#19914 until we fix it properly
*/
DBUG_RETURN(-1);
}
THD *thd= current_thd;
if (get_thd_ndb(thd)->error)
......
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