diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2005-01-06 21:13:04 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2005-01-06 21:13:04 +0100 |
commit | 58f8f9b3ca30977cbd003cdc06fffc41a96a3557 (patch) | |
tree | 0ef3691f140cae1f4b492f5e1fde0df8a09cdc00 /ndb/include/ndbapi/NdbEventOperation.hpp | |
parent | d42ff5df42e3acd43f7512b6f6fc1f2e9980e355 (diff) | |
download | mariadb-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/include/ndbapi/NdbEventOperation.hpp')
-rw-r--r-- | ndb/include/ndbapi/NdbEventOperation.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ndb/include/ndbapi/NdbEventOperation.hpp b/ndb/include/ndbapi/NdbEventOperation.hpp index 8c2de36fc51..dc6c8b657c5 100644 --- a/ndb/include/ndbapi/NdbEventOperation.hpp +++ b/ndb/include/ndbapi/NdbEventOperation.hpp @@ -199,6 +199,13 @@ public: */ Uint32 getLatestGCI(); + /** + * Get the latest error + * + * @return Error object. + */ + const struct NdbError & getNdbError() const; + #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL /* * |