summaryrefslogtreecommitdiff
path: root/ndb/src/ndbapi/NdbEventOperationImpl.hpp
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2005-01-06 21:13:04 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2005-01-06 21:13:04 +0100
commit58f8f9b3ca30977cbd003cdc06fffc41a96a3557 (patch)
tree0ef3691f140cae1f4b492f5e1fde0df8a09cdc00 /ndb/src/ndbapi/NdbEventOperationImpl.hpp
parentd42ff5df42e3acd43f7512b6f6fc1f2e9980e355 (diff)
downloadmariadb-git-58f8f9b3ca30977cbd003cdc06fffc41a96a3557.tar.gz
updated event example to make use of new NdbError member in NdbEventOperation
added my_pthread_init to get dbug print correct in Hugo added define for event error code ndb/examples/ndbapi_event_example/ndbapi_event.cpp: updated event example to make use of new NdbError member in NdbEventOperation + use define to check error code ndb/include/kernel/signaldata/CreateEvnt.hpp: updated create event signal to use define ndb/include/ndbapi/NdbEventOperation.hpp: added NdbError member to NdbEventOperation ndb/include/ndbapi/ndberror.h: added define for event error code ndb/src/kernel/blocks/dbdict/Dbdict.cpp: changed name of error code ndb/src/ndbapi/NdbEventOperation.cpp: added NdbError ndb/src/ndbapi/NdbEventOperationImpl.cpp: added debug printout added some error handling ndb/src/ndbapi/NdbEventOperationImpl.hpp: added NdbError ndb/src/ndbapi/Ndberr.cpp: added NdbError for NdbEventOperationImpl ndb/src/ndbapi/ndberror.c: changed some error codes ndb/test/ndbapi/test_event.cpp: added testcase for BUG#7627 ndb/test/src/HugoTransactions.cpp: added printout in event ndb/test/src/NDBT_Test.cpp: added my_pthread_init to get dbug print correct
Diffstat (limited to 'ndb/src/ndbapi/NdbEventOperationImpl.hpp')
-rw-r--r--ndb/src/ndbapi/NdbEventOperationImpl.hpp19
1 files changed, 7 insertions, 12 deletions
diff --git a/ndb/src/ndbapi/NdbEventOperationImpl.hpp b/ndb/src/ndbapi/NdbEventOperationImpl.hpp
index f67c998e639..fae9dda45e4 100644
--- a/ndb/src/ndbapi/NdbEventOperationImpl.hpp
+++ b/ndb/src/ndbapi/NdbEventOperationImpl.hpp
@@ -14,21 +14,13 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-/*****************************************************************************
- * Name: NdbEventOperationImpl.hpp
- * Include:
- * Link:
- * Author: Tomas Ulin MySQL AB
- * Date: 2003-11-21
- * Version: 0.1
- * Description: Event support
- * Documentation:
- * Adjust: 2003-11-21 Tomas Ulin First version.
- ****************************************************************************/
-
#ifndef NdbEventOperationImpl_H
#define NdbEventOperationImpl_H
+#include <NdbEventOperation.hpp>
+#include <signaldata/SumaImpl.hpp>
+#include <transporter/TransporterDefinitions.hpp>
+
class NdbGlobalEventBufferHandle;
class NdbEventOperationImpl : public NdbEventOperation {
public:
@@ -61,6 +53,9 @@ public:
void print();
void printAll();
+ const NdbError & getNdbError() const;
+ NdbError m_error;
+
Ndb *m_ndb;
NdbEventImpl *m_eventImpl;
NdbGlobalEventBufferHandle *m_bufferHandle;