From 95eb3715218e43e4003aea24ccdaaf2ffb00f226 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 8 Mar 2006 08:35:34 +0100 Subject: [PATCH] Post fix review of patch for bug#17891 Partitions: NDB, crash on select .. where col is null or col --- storage/ndb/src/ndbapi/NdbScanOperation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) &&