Commit ced966f2 authored by mskold@mysql.com's avatar mskold@mysql.com

Post fix review of patch for bug#17891 Partitions: NDB, crash on select .. where col is null or col

parent 672c50e4
...@@ -373,7 +373,6 @@ NdbScanOperation::executeCursor(int nodeId){ ...@@ -373,7 +373,6 @@ NdbScanOperation::executeCursor(int nodeId){
Uint32 magic = tCon->theMagicNumber; Uint32 magic = tCon->theMagicNumber;
Uint32 seq = tCon->theNodeSequence; Uint32 seq = tCon->theNodeSequence;
m_executed= true; // Mark operation as executed
if (tp->get_node_alive(nodeId) && if (tp->get_node_alive(nodeId) &&
(tp->getNodeSequence(nodeId) == seq)) { (tp->getNodeSequence(nodeId) == seq)) {
...@@ -390,6 +389,7 @@ NdbScanOperation::executeCursor(int nodeId){ ...@@ -390,6 +389,7 @@ NdbScanOperation::executeCursor(int nodeId){
if (doSendScan(nodeId) == -1) if (doSendScan(nodeId) == -1)
return -1; return -1;
m_executed= true; // Mark operation as executed
return 0; return 0;
} else { } else {
if (!(tp->get_node_stopping(nodeId) && if (!(tp->get_node_stopping(nodeId) &&
......
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