• unknown's avatar
    ndb - bug#18352 · 51a093f1
    unknown authored
      Use variable waitfor_response_timeout (depending on TransactionDeadLockTimeout)
      When getting 4012, set NeedAbort and ReleaseOnClose
    
    
    ndb/src/ndbapi/NdbConnection.cpp:
      Use variable for WAITFOR_RESPONSE_TIMEOUT
    ndb/src/ndbapi/Ndbif.cpp:
      Use variable timeout for waitfor, 
        when receiving 4012, set NeedAbort and ReleaseOnClose
    ndb/src/ndbapi/TransporterFacade.cpp:
      Init wait_for_response_timoue as max TRANSACTION_DEADLOCK_TIMEOUT
    ndb/src/ndbapi/TransporterFacade.hpp:
      Init wait_for_response_timoue as max TRANSACTION_DEADLOCK_TIMEOUT
    ndb/test/ndbapi/testTimeout.cpp:
      Add testcase for 4012
    ndb/test/run-test/daily-basic-tests.txt:
      Add testcase for 4012
    51a093f1
Ndbif.cpp 42.4 KB