Commit edf69984 authored by unknown's avatar unknown

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1

into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
parents e62af813 9cf50b37
...@@ -619,6 +619,12 @@ Grep::PSCoord::execCREATE_SUBID_REF(Signal* signal) { ...@@ -619,6 +619,12 @@ Grep::PSCoord::execCREATE_SUBID_REF(Signal* signal) {
{ {
jam(); jam();
err = GrepError::SUBSCRIPTION_ID_SUMA_FAILED_CREATE; err = GrepError::SUBSCRIPTION_ID_SUMA_FAILED_CREATE;
} else {
jam();
ndbrequire(false); /* Added since errorcode err unhandled
* TODO: fix correct errorcode
*/
err= GrepError::NO_ERROR; // remove compiler warning
} }
SubCoordinatorPtr subPtr; SubCoordinatorPtr subPtr;
...@@ -1819,6 +1825,7 @@ Grep::PSCoord::sendRefToSS(Signal * signal, ...@@ -1819,6 +1825,7 @@ Grep::PSCoord::sendRefToSS(Signal * signal,
break; break;
default: default:
ndbrequire(false); ndbrequire(false);
event= GrepEvent::Rep_Disconnect; // remove compiler warning
} }
/** /**
* Finally, send an event. * Finally, send an event.
...@@ -1906,6 +1913,7 @@ Grep::PSPart::sendRefToPSCoord(Signal * signal, ...@@ -1906,6 +1913,7 @@ Grep::PSPart::sendRefToPSCoord(Signal * signal,
break; break;
default: default:
ndbrequire(false); ndbrequire(false);
event= GrepEvent::Rep_Disconnect; // remove compiler warning
} }
/** /**
......
...@@ -155,7 +155,7 @@ NdbShutdown(NdbShutdownType type, ...@@ -155,7 +155,7 @@ NdbShutdown(NdbShutdownType type,
break; break;
default: default:
ndbout << "Error handler " << shutting << " system" ndbout << "Error handler " << shutting << " system"
<< " (unknown type: " << type << ")" << endl; << " (unknown type: " << (unsigned)type << ")" << endl;
type = NST_ErrorHandler; type = NST_ErrorHandler;
break; break;
} }
......
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