Commit 82ac37e2 authored by unknown's avatar unknown

remove unused errorcode

corrected previous patch removing  "if (signal)", which should acually be "if (signum)"


ndb/src/common/debugger/EventLogger.cpp:
  corrected previous patch removing  "if (signal)", which should acually be "if (signum)"
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
  remove unused errorcode
ndb/src/ndbapi/ndberror.c:
  remove unused errorcode
parent 03f609cc
......@@ -115,7 +115,8 @@ void getTextNDBStopForced(QQQQ) {
int sphase = theData[4];
int extra = theData[5];
getRestartAction(theData[1],action_str);
reason_str.appfmt(" Initiated by signal %d.", signum);
if (signum)
reason_str.appfmt(" Initiated by signal %d.", signum);
if (error)
{
ndbd_exit_classification cl;
......
......@@ -138,7 +138,6 @@
#define ZNOT_FOUND 626
#define ZALREADYEXIST 630
#define ZINCONSISTENTHASHINDEX 892
#define ZNOTUNIQUE 893
#define ZINVALID_KEY 290
......
......@@ -208,7 +208,6 @@ ErrorBundle ErrorCodes[] = {
/**
* 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" },
{ 901, IE, "Inconsistent ordered index. The index needs to be dropped and recreated" },
{ 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