#At file:///net/atum17/export/home2/tmp/jw159207/mysql/repo/push-scan-scan/ based on revid:jan.wedvik@stripped
3215 Jan Wedvik 2010-08-10
This commit fixes the following error: The iterator in NdbResultStream was
not reset when asking for a new batch. Results from the new batch would
thus not be available to the application.
modified:
storage/ndb/src/ndbapi/NdbQueryOperation.cpp
=== modified file 'storage/ndb/src/ndbapi/NdbQueryOperation.cpp'
--- a/storage/ndb/src/ndbapi/NdbQueryOperation.cpp 2010-07-15 17:51:57 +0000
+++ b/storage/ndb/src/ndbapi/NdbQueryOperation.cpp 2010-08-10 08:53:47 +0000
@@ -463,6 +463,8 @@ NdbResultStream::reset()
// Root scan-operation need a ScanTabConf to complete
m_rowCount = 0;
+ m_iterState = Iter_notStarted;
+ m_currentRow = 0;
clearParentChildMap();
Attachment: [text/bzr-bundle] bzr/jan.wedvik@sun.com-20100810085347-955qpcij7dps3eg1.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0-spj-scan-vs-scan branch(jan.wedvik:3215) | Jan Wedvik | 10 Aug |