diff options
author | unknown <joreland@mysql.com> | 2004-07-07 13:40:53 +0200 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-07-07 13:40:53 +0200 |
commit | abf8c93d80111a3dc9f31a8033f75707b2cc28ff (patch) | |
tree | f1f066a3f940fa6d5e27d2453e3832a79fd73a69 /ndb/include/ndbapi/NdbOperation.hpp | |
parent | 7992ae4239a283964c0fb940ab9dde03bdf3d620 (diff) | |
download | mariadb-git-abf8c93d80111a3dc9f31a8033f75707b2cc28ff.tar.gz |
testIndex -n NFNR1
Bugs in scan(tc)
nf-handling(api)
exec-handling(tc)
ndb/include/ndbapi/NdbConnection.hpp:
Allow dropped signal during NF handling
ndb/include/ndbapi/NdbOperation.hpp:
Add option to allow dropped signals
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
1) Printer for state
2) New option to sendtckeyconf (index)
- clear exec flag
3) Moved init of *global* apiConnectptr to
prevent errornous scan_tabconf
ARGH!!!
ndb/src/ndbapi/NdbConnection.cpp:
Move abort from checkState_trans
since it can be ok with "illegal" signals during NF handling
ndb/src/ndbapi/NdbConnectionScan.cpp:
Move abort from checkState_trans
since it can be ok with "illegal" signals during NF handling
ndb/src/ndbapi/Ndbif.cpp:
1) Indentation
2) Better handling of TCKEY_FAILCONF
- always ack commit ack marker
even if transaction has already been removed
3) abort on 4012 (VM_TRACE)
ndb/src/ndbapi/TransporterFacade.cpp:
Don't trace APIREG_REQ/CONF by default
ndb/test/include/NDBT_Test.hpp:
Atomic decProperty (used for semaphore impl.)
ndb/test/ndbapi/testIndex.cpp:
Impl. option to sync restarts
ndb/test/src/NDBT_Test.cpp:
Atomic decProperty
Diffstat (limited to 'ndb/include/ndbapi/NdbOperation.hpp')
-rw-r--r-- | ndb/include/ndbapi/NdbOperation.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ndb/include/ndbapi/NdbOperation.hpp b/ndb/include/ndbapi/NdbOperation.hpp index 6185225f6d1..625fc8b233a 100644 --- a/ndb/include/ndbapi/NdbOperation.hpp +++ b/ndb/include/ndbapi/NdbOperation.hpp @@ -755,7 +755,7 @@ protected: int receiveREAD_CONF(const Uint32* aDataPtr, Uint32 aDataLength); - int checkMagicNumber(); // Verify correct object + int checkMagicNumber(bool b = true); // Verify correct object int checkState_TransId(NdbApiSignal* aSignal); @@ -900,11 +900,11 @@ protected: inline int -NdbOperation::checkMagicNumber() +NdbOperation::checkMagicNumber(bool b) { if (theMagicNumber != 0xABCDEF01){ #ifdef NDB_NO_DROPPED_SIGNAL - abort(); + if(b) abort(); #endif return -1; } |