summaryrefslogtreecommitdiff
path: root/storage/ndb/src/ndbapi/NdbScanOperation.cpp
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2006-03-08 08:35:34 +0100
committerunknown <mskold@mysql.com>2006-03-08 08:35:34 +0100
commit95eb3715218e43e4003aea24ccdaaf2ffb00f226 (patch)
treec1f8c7e484f3f5d110b298c635a7be911e2fce5a /storage/ndb/src/ndbapi/NdbScanOperation.cpp
parent8abdb541a4715ab93565c8bedaf45f543abc193e (diff)
downloadmariadb-git-95eb3715218e43e4003aea24ccdaaf2ffb00f226.tar.gz
Post fix review of patch for bug#17891 Partitions: NDB, crash on select .. where col is null or col
Diffstat (limited to 'storage/ndb/src/ndbapi/NdbScanOperation.cpp')
-rw-r--r--storage/ndb/src/ndbapi/NdbScanOperation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/ndb/src/ndbapi/NdbScanOperation.cpp b/storage/ndb/src/ndbapi/NdbScanOperation.cpp
index fd7ae41f48f..9e6ff352987 100644
--- a/storage/ndb/src/ndbapi/NdbScanOperation.cpp
+++ b/storage/ndb/src/ndbapi/NdbScanOperation.cpp
@@ -373,7 +373,6 @@ NdbScanOperation::executeCursor(int nodeId){
Uint32 magic = tCon->theMagicNumber;
Uint32 seq = tCon->theNodeSequence;
- m_executed= true; // Mark operation as executed
if (tp->get_node_alive(nodeId) &&
(tp->getNodeSequence(nodeId) == seq)) {
@@ -390,6 +389,7 @@ NdbScanOperation::executeCursor(int nodeId){
if (doSendScan(nodeId) == -1)
return -1;
+ m_executed= true; // Mark operation as executed
return 0;
} else {
if (!(tp->get_node_stopping(nodeId) &&