diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2005-01-25 13:08:21 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2005-01-25 13:08:21 +0100 |
commit | aa500975558344daf1c7952a31d20a505ec06ec3 (patch) | |
tree | 44b9f010c60e04de7d11e835465f4351e380b08e /ndb/src/mgmapi | |
parent | 1bf3186732c9fcc2015d1ebd146f131650f2cf4b (diff) | |
download | mariadb-git-aa500975558344daf1c7952a31d20a505ec06ec3.tar.gz |
updated logevent example
added handling of Arbit log events
ndb/examples/mgmapi_logevent_example/mgmapi_logevent.cpp:
updated logevent example
ndb/include/mgmapi/ndb_logevent.h:
added comments
added handling af aritration events
ndb/src/mgmapi/ndb_logevent.cpp:
added handling of Arit log events
Diffstat (limited to 'ndb/src/mgmapi')
-rw-r--r-- | ndb/src/mgmapi/ndb_logevent.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ndb/src/mgmapi/ndb_logevent.cpp b/ndb/src/mgmapi/ndb_logevent.cpp index 89ca9a50883..2817abcfdbb 100644 --- a/ndb/src/mgmapi/ndb_logevent.cpp +++ b/ndb/src/mgmapi/ndb_logevent.cpp @@ -197,10 +197,16 @@ struct Ndb_logevent_body_row ndb_logevent_body[]= { ROW( NODE_FAILREP, "failure_state", 2, failure_state), /* TODO */ -// ROW( ArbitState), + ROW( ArbitState, "code", 1, code), + ROW( ArbitState, "arbit_node", 2, arbit_node), + ROW( ArbitState, "ticket_0", 3, ticket_0), + ROW( ArbitState, "ticket_1", 4, ticket_1), /* TODO */ -// ROW( ArbitResult), + ROW( ArbitResult, "code", 1, code), + ROW( ArbitResult, "arbit_node", 2, arbit_node), + ROW( ArbitResult, "ticket_0", 3, ticket_0), + ROW( ArbitResult, "ticket_1", 4, ticket_1), // ROW( GCP_TakeoverStarted), |