ndb - fix bug in UtilTransactions::compare

  reset rowcount on temporary error during scan of base table
parent e2853bdd
...@@ -1382,6 +1382,7 @@ UtilTransactions::compare(Ndb* pNdb, const char* tab_name2, int flags){ ...@@ -1382,6 +1382,7 @@ UtilTransactions::compare(Ndb* pNdb, const char* tab_name2, int flags){
goto error; goto error;
} }
row_count= 0;
{ {
int eof; int eof;
while((eof = pOp->nextResult(true)) == 0) while((eof = pOp->nextResult(true)) == 0)
......
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