• unknown's avatar
    Make operation list on fragment fifo so that uncommitted operations · b61bfd8c
    unknown authored
      are undo-logged in correct order
    
    Add bunch of testcases to autotest
    
    
    ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
      Send fragrecord ptr to initOpConnection so that is does not
      have to look it up every time (if needed)
      
      Make operation list on fragment fifo so that uncommitted operations
        are undo-logged in correct order
    ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
      Send fragptr to initOpConnection
    ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
      dllist -> dlfifolist
    ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
      dllist -> dlfifolist
    ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
      Make operation list on fragment fifo so that uncommitted operations
        are undo-logged in correct order
    ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
      Fix uninitialized variable c_start.m_startTime
        which made startPartial and startPartitioned fail
    ndb/test/ndbapi/testSystemRestart.cpp:
      Added testSystemRestart -n SR9 which
        demonstrates that two prepared operation on same
        records _used to_ be undo-logged in wrong order makeing
        system restart fail
    ndb/test/run-test/daily-devel-tests.txt:
      Add
      * testSystemRestart -n SR6
        Restart while some nodes have fs and other not
      * testSystemRestart -n SR7
        Restart in partition win
      * testSystemRestart -n SR8
        Restart in partition win, others starting during restart
      * testSystemRestart -n SR9
        Multiple ops on same record prepared before
    b61bfd8c
DbtupGen.cpp 40.2 KB