diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2007-03-14 15:37:47 +0100 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2007-03-14 15:37:47 +0100 |
commit | ee05abd661c57f300ff283c3be92af063521361d (patch) | |
tree | 4d0910201f41b5cafe40bc2fb16898977663b956 /storage/ndb/test/tools | |
parent | 7e4252809c19e76c382dbb45e6419e590622a9f2 (diff) | |
download | mariadb-git-ee05abd661c57f300ff283c3be92af063521361d.tar.gz |
ndb - bug#27005
Handle API failure during resend
API failure could cause release of table object, which will make resend crash
when dereferencing table object
Solution, use table_id+hash+schemaversion instead of *raw* pointer in resend
storage/ndb/src/kernel/blocks/suma/Suma.cpp:
Handle API failure during resend
API failure could cause release of table object, which will make resend crash
when dereferencing table object
Solution, use table_id+hash+schemaversion instead of *raw* pointer in resend
storage/ndb/test/tools/listen.cpp:
add new events
Diffstat (limited to 'storage/ndb/test/tools')
-rw-r--r-- | storage/ndb/test/tools/listen.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/storage/ndb/test/tools/listen.cpp b/storage/ndb/test/tools/listen.cpp index 3e2bc03857a..661193bf4b8 100644 --- a/storage/ndb/test/tools/listen.cpp +++ b/storage/ndb/test/tools/listen.cpp @@ -168,9 +168,15 @@ main(int argc, const char** argv){ break; case NdbDictionary::Event::TE_DROP: break; + case NdbDictionary::Event::TE_NODE_FAILURE: + break; + case NdbDictionary::Event::TE_SUBSCRIBE: + case NdbDictionary::Event::TE_UNSUBSCRIBE: + break; default: /* We should REALLY never get here. */ - ndbout_c("Error: unknown event type"); + ndbout_c("Error: unknown event type: %u", + (Uint32)pOp->getEventType()); abort(); } } while ((pOp= MyNdb.nextEvent()) && gci == pOp->getGCI()); |