Commit 82ac37e2 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -115,6 +115,7 @@ void getTextNDBStopForced(QQQQ) {
  int sphase        = theData[4];
  int extra         = theData[5];
  getRestartAction(theData[1],action_str);
  if (signum)
    reason_str.appfmt(" Initiated by signal %d.", signum);
  if (error)
  {
+0 −1
Original line number Diff line number Diff line
@@ -138,7 +138,6 @@

#define ZNOT_FOUND 626
#define ZALREADYEXIST 630
#define ZINCONSISTENTHASHINDEX 892
#define ZNOTUNIQUE 893

#define ZINVALID_KEY 290
+0 −1
Original line number Diff line number Diff line
@@ -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" },