• unknown's avatar
    ndb - bug#28443 · b7a609a6
    unknown authored
      Make sure that data can not e left lingering in receive buffer
    
    
    ndb/src/common/transporter/Packer.cpp:
      test, make MAX_RECEIVED_SIGNALS an variable
    ndb/src/common/transporter/TCP_Transporter.hpp:
      add new method for checking of data in receive buffer
    ndb/src/common/transporter/TransporterRegistry.cpp:
      Make sure that 
      1) poll_TCP return true if any transporter has data in receiveBuffer
         (previously only if socket had data)
      2) performReceive executes signals if TCP transporter has data in receiveBuffer
         (previously only if data was recevied)
    ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
      test, make MAX_RECEIVED_SIGNALS an variable
    ndb/test/ndbapi/testNdbApi.cpp:
      testcase
    ndb/test/run-test/daily-basic-tests.txt:
      testcase
    b7a609a6
testNdbApi.cpp 28.5 KB