Commit 7d09ee39 authored by unknown's avatar unknown

bug#6538

ndb: Fix return value in index_last wo/ rows


sql/ha_ndbcluster.cc:
  Return correct when not finding any row from index_last
parent fdc79aa3
...@@ -2318,7 +2318,7 @@ int ha_ndbcluster::index_last(byte *buf) ...@@ -2318,7 +2318,7 @@ int ha_ndbcluster::index_last(byte *buf)
DBUG_RETURN(0); DBUG_RETURN(0);
} }
} }
DBUG_RETURN(1); DBUG_RETURN(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