summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2005-01-11 18:36:35 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2005-01-11 18:36:35 +0100
commit533bd8fc3fa1960e7e43e9f14e72e2ed64b52b11 (patch)
tree6e6eaa0a19de5771ce3c2506fe181da93f27956c /ndb
parent58034683dcf6a94cced25f78a5ee492cf1a48c3f (diff)
parentccbe896a24199fafa19c2d9447d75a0d561a2933 (diff)
downloadmariadb-git-533bd8fc3fa1960e7e43e9f14e72e2ed64b52b11.tar.gz
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
Diffstat (limited to 'ndb')
-rw-r--r--ndb/include/mgmapi/ndb_logevent.h106
-rw-r--r--ndb/src/ndbapi/NdbDictionaryImpl.cpp6
-rw-r--r--ndb/src/ndbapi/NdbDictionaryImpl.hpp1
3 files changed, 106 insertions, 7 deletions
diff --git a/ndb/include/mgmapi/ndb_logevent.h b/ndb/include/mgmapi/ndb_logevent.h
new file mode 100644
index 00000000000..ca6f848206f
--- /dev/null
+++ b/ndb/include/mgmapi/ndb_logevent.h
@@ -0,0 +1,106 @@
+/* Copyright (C) 2003 MySQL AB
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#ifndef NDB_LOGEVENT_H
+#define NDB_LOGEVENT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ enum Ndb_logevent_type {
+ /* CONNECTION */
+ NDB_LE_Connected = 0,
+ NDB_LE_Disconnected = 1,
+ NDB_LE_CommunicationClosed = 2,
+ NDB_LE_CommunicationOpened = 3,
+ NDB_LE_ConnectedApiVersion = 51,
+ /* CHECKPOINT */
+ NDB_LE_GlobalCheckpointStarted = 4,
+ NDB_LE_GlobalCheckpointCompleted = 5,
+ NDB_LE_LocalCheckpointStarted = 6,
+ NDB_LE_LocalCheckpointCompleted = 7,
+ NDB_LE_LCPStoppedInCalcKeepGci = 8,
+ NDB_LE_LCPFragmentCompleted = 9,
+ /* STARTUP */
+ NDB_LE_NDBStartStarted = 10,
+ NDB_LE_NDBStartCompleted = 11,
+ NDB_LE_STTORRYRecieved = 12,
+ NDB_LE_StartPhaseCompleted = 13,
+ NDB_LE_CM_REGCONF = 14,
+ NDB_LE_CM_REGREF = 15,
+ NDB_LE_FIND_NEIGHBOURS = 16,
+ NDB_LE_NDBStopStarted = 17,
+ NDB_LE_NDBStopAborted = 18,
+ NDB_LE_StartREDOLog = 19,
+ NDB_LE_StartLog = 20,
+ NDB_LE_UNDORecordsExecuted = 21,
+
+ /* NODERESTART */
+ NDB_LE_NR_CopyDict = 22,
+ NDB_LE_NR_CopyDistr = 23,
+ NDB_LE_NR_CopyFragsStarted = 24,
+ NDB_LE_NR_CopyFragDone = 25,
+ NDB_LE_NR_CopyFragsCompleted = 26,
+
+ /* NODEFAIL */
+ NDB_LE_NodeFailCompleted = 27,
+ NDB_LE_NODE_FAILREP = 28,
+ NDB_LE_ArbitState = 29,
+ NDB_LE_ArbitResult = 30,
+ NDB_LE_GCP_TakeoverStarted = 31,
+ NDB_LE_GCP_TakeoverCompleted = 32,
+ NDB_LE_LCP_TakeoverStarted = 33,
+ NDB_LE_LCP_TakeoverCompleted = 34,
+
+ /* STATISTIC */
+ NDB_LE_TransReportCounters = 35,
+ NDB_LE_OperationReportCounters = 36,
+ NDB_LE_TableCreated = 37,
+ NDB_LE_UndoLogBlocked = 38,
+ NDB_LE_JobStatistic = 39,
+ NDB_LE_SendBytesStatistic = 40,
+ NDB_LE_ReceiveBytesStatistic = 41,
+ NDB_LE_MemoryUsage = 50,
+
+ /* ERROR */
+ NDB_LE_TransporterError = 42,
+ NDB_LE_TransporterWarning = 43,
+ NDB_LE_MissedHeartbeat = 44,
+ NDB_LE_DeadDueToHeartbeat = 45,
+ NDB_LE_WarningEvent = 46,
+
+ /* INFO */
+ NDB_LE_SentHeartbeat = 47,
+ NDB_LE_CreateLogBytes = 48,
+ NDB_LE_InfoEvent = 49,
+
+ /* GREP */
+ NDB_LE_GrepSubscriptionInfo = 52,
+ NDB_LE_GrepSubscriptionAlert = 53,
+
+ /* BACKUP */
+ NDB_LE_BackupStarted = 54,
+ NDB_LE_BackupFailedToStart = 55,
+ NDB_LE_BackupCompleted = 56,
+ NDB_LE_BackupAborted = 57
+ };
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/ndb/src/ndbapi/NdbDictionaryImpl.cpp b/ndb/src/ndbapi/NdbDictionaryImpl.cpp
index a14b6bb0efb..d6d8fc5215f 100644
--- a/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+++ b/ndb/src/ndbapi/NdbDictionaryImpl.cpp
@@ -550,12 +550,6 @@ NdbIndexImpl::getTable() const
}
const NdbTableImpl *
-NdbIndexImpl::getBaseTable() const
-{
- return m_table;
-}
-
-const NdbTableImpl *
NdbIndexImpl::getIndexTable() const
{
return m_table;
diff --git a/ndb/src/ndbapi/NdbDictionaryImpl.hpp b/ndb/src/ndbapi/NdbDictionaryImpl.hpp
index fb4086f5ece..2d20a0a52db 100644
--- a/ndb/src/ndbapi/NdbDictionaryImpl.hpp
+++ b/ndb/src/ndbapi/NdbDictionaryImpl.hpp
@@ -183,7 +183,6 @@ public:
void setTable(const char * table);
const char * getTable() const;
const NdbTableImpl * getIndexTable() const;
- const NdbTableImpl * getBaseTable() const;
Uint32 m_indexId;
BaseString m_internalName;