• unknown's avatar
    updated event example to make use of new NdbError member in NdbEventOperation · 58f8f9b3
    unknown authored
       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
    58f8f9b3
NdbEventOperation.cpp 2.38 KB