Commit 26ea040e authored by tomas@poseidon's avatar tomas@poseidon

remove unused errorcode

corrected previous patch removing  "if (signal)", which should acually be "if (signum)"
parent da3a1cff
...@@ -115,6 +115,7 @@ void getTextNDBStopForced(QQQQ) { ...@@ -115,6 +115,7 @@ void getTextNDBStopForced(QQQQ) {
int sphase = theData[4]; int sphase = theData[4];
int extra = theData[5]; int extra = theData[5];
getRestartAction(theData[1],action_str); getRestartAction(theData[1],action_str);
if (signum)
reason_str.appfmt(" Initiated by signal %d.", signum); reason_str.appfmt(" Initiated by signal %d.", signum);
if (error) if (error)
{ {
......
...@@ -138,7 +138,6 @@ ...@@ -138,7 +138,6 @@
#define ZNOT_FOUND 626 #define ZNOT_FOUND 626
#define ZALREADYEXIST 630 #define ZALREADYEXIST 630
#define ZINCONSISTENTHASHINDEX 892
#define ZNOTUNIQUE 893 #define ZNOTUNIQUE 893
#define ZINVALID_KEY 290 #define ZINVALID_KEY 290
......
...@@ -208,7 +208,6 @@ ErrorBundle ErrorCodes[] = { ...@@ -208,7 +208,6 @@ ErrorBundle ErrorCodes[] = {
/** /**
* Internal errors * Internal errors
*/ */
{ 892, IE, "Inconsistent hash index. The index needs to be dropped and recreated" },
{ 896, IE, "Tuple corrupted - wrong checksum or column data in invalid format" }, { 896, IE, "Tuple corrupted - wrong checksum or column data in invalid format" },
{ 901, IE, "Inconsistent ordered index. The index needs to be dropped and recreated" }, { 901, IE, "Inconsistent ordered index. The index needs to be dropped and recreated" },
{ 202, IE, "202" }, { 202, IE, "202" },
......
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