diff options
author | unknown <tomas@poseidon.> | 2007-01-05 15:33:39 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.> | 2007-01-05 15:33:39 +0100 |
commit | 82ac37e2dfc4b4c8b9dba64eb613c411a80bb04d (patch) | |
tree | 11a3911e924059d7d0a6c0187fdf2e85319a5fec /ndb | |
parent | 03f609cc3572a622ea71e70450b5ddbb67dd4b9b (diff) | |
download | mariadb-git-82ac37e2dfc4b4c8b9dba64eb613c411a80bb04d.tar.gz |
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
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/common/debugger/EventLogger.cpp | 3 | ||||
-rw-r--r-- | ndb/src/kernel/blocks/dbtc/Dbtc.hpp | 1 | ||||
-rw-r--r-- | ndb/src/ndbapi/ndberror.c | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/ndb/src/common/debugger/EventLogger.cpp b/ndb/src/common/debugger/EventLogger.cpp index e168c705d47..3efd52808e2 100644 --- a/ndb/src/common/debugger/EventLogger.cpp +++ b/ndb/src/common/debugger/EventLogger.cpp @@ -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; diff --git a/ndb/src/kernel/blocks/dbtc/Dbtc.hpp b/ndb/src/kernel/blocks/dbtc/Dbtc.hpp index c6089113382..d6c4529bb72 100644 --- a/ndb/src/kernel/blocks/dbtc/Dbtc.hpp +++ b/ndb/src/kernel/blocks/dbtc/Dbtc.hpp @@ -138,7 +138,6 @@ #define ZNOT_FOUND 626 #define ZALREADYEXIST 630 -#define ZINCONSISTENTHASHINDEX 892 #define ZNOTUNIQUE 893 #define ZINVALID_KEY 290 diff --git a/ndb/src/ndbapi/ndberror.c b/ndb/src/ndbapi/ndberror.c index 8800aedae5a..45248000703 100644 --- a/ndb/src/ndbapi/ndberror.c +++ b/ndb/src/ndbapi/ndberror.c @@ -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" }, |