1. 02 Feb, 2007 1 commit
    • unknown's avatar
      ndb - test prg · 55930996
      unknown authored
        fix failure during start
      
      
      storage/ndb/test/tools/listen.cpp:
        fix failure during start
      55930996
  2. 30 Jan, 2007 4 commits
    • unknown's avatar
      ndb - interface change of handling of abort option · 16c58c11
      unknown authored
      1) move AbortOption from NdbTransaction to NdbOperation
      
      2) let each operation have a "default" abort option dependant on
         operation type
      
         - read - AO_IgnoreError
         - dml - AbortOnError
         - scan take over - AbortOnError
      
      3) Changed default value to execute() from AbortOnError to DefaultAbortOption, which does not change the operations abort-option.
      
         Another value to execute(AO) is equivalent to setting AO on each operation before calling execute
      
      4) execute() does _only_ return -1 if transaction has been aborted
         otherwise, you need to check each operation for error code
      
      
      sql/ha_ndbcluster.cc:
        adopt to changes in aption option handling
      storage/ndb/include/ndbapi/NdbOperation.hpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/include/ndbapi/NdbTransaction.hpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbIndexStat.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        Put default value on abortoption dependant on operation type
      storage/ndb/src/ndbapi/NdbOperationExec.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/test/include/HugoOperations.hpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/test/ndbapi/testNdbApi.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/test/src/HugoOperations.cpp:
        Move "ownership" of AbortOption to operation from transaction
      16c58c11
    • unknown's avatar
      ndb - · faac0f1d
      unknown authored
        remove copy/paste method in NdbIndexOperation
      
      
      storage/ndb/include/ndbapi/NdbIndexOperation.hpp:
        remove reduntant method
      storage/ndb/src/ndbapi/NdbIndexOperation.cpp:
        remove redundant method
      faac0f1d
    • unknown's avatar
      ndb - minor style fixes · 1425684e
      unknown authored
        
      
      
      storage/ndb/src/ndbapi/Ndb.cpp:
        Fix usage of correct types internally to ndbapi
      storage/ndb/test/ndbapi/testBlobs.cpp:
        minor fixes to testBlobs
      1425684e
    • unknown's avatar
      ndb - · 80db1a21
      unknown authored
        two small fixes for TC
          1) use static syntax
          2) fix attlen handling in unique index
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) use static syntax
        2) fix attlen handling in unique index
      80db1a21
  3. 28 Jan, 2007 1 commit
  4. 23 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25794 · 8dca186c
      unknown authored
        Fix read after delete (in same op)
        - lqh, handling of attrinfo
        - tup, setup read for disk/varchar
      
      
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Dont save ATTRINFO "also" for DELETE, even when getting it in separate signal
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Add disk flag to signature
          (for read after delete)
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Do setup read before read after delete
      storage/ndb/test/ndbapi/testBasic.cpp:
        testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        testcase
      8dca186c
  5. 22 Jan, 2007 4 commits
    • unknown's avatar
      ndb - bug#25286 · 997f6350
      unknown authored
        - add some sanity check to marker/hash code to see that element isnt inserted twice into hashtable
          (if defined VM_TRACE or ERROR_INSERT)
      
        - allow REMOVE_MARKER_ORD to fail(dont find record) in release
      
      
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        add a bunch of sanity check ifdef#vmtrace of #error_insert
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        add a bunch of sanity check ifdef#vmtrace of #error_insert
      997f6350
    • unknown's avatar
      ndb - bug#25755 · 734a3036
      unknown authored
        remove accidently left debug prinouts
      
      
      734a3036
    • unknown's avatar
      ndb - bug#25755 · d6ef8dd0
      unknown authored
        Make sure subscriber is removed from list when n_subscribers is decreased
      
      
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Make sure subscriber is removed from list when n_subscribers is decreased
      storage/ndb/src/kernel/blocks/suma/Suma.hpp:
        Make sure subscriber is removed from list when n_subscribers is decreased
      d6ef8dd0
    • unknown's avatar
      ndb - fix bug is NODE_VERSION_REP · 448edca9
      unknown authored
        Fix assertion in corner-case where signal isnt sent to any node
      
      
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Fix corner-case where signal isnt sent to any node
      448edca9
  6. 20 Jan, 2007 1 commit
    • unknown's avatar
      ndb - Fix bug when sending NODE_VERSION_REP · b6c7fb39
      unknown authored
      
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Fix bug when sending NODE_VERSION_REP
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Fix bug when sending NODE_VERSION_REP
      b6c7fb39
  7. 19 Jan, 2007 3 commits
    • unknown's avatar
      ndb - bug#19645 · 4e055f3f
      unknown authored
        fix some more sp100 hang cases
      
      
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        let suma know of API_FAILREQ even if not connected, to handle startme/handover 
          problem
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        some error inserts
        + resend API_FAILREQ during handover
      4e055f3f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 6d7c9d86
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/common/util/ConfigValues.cpp:
        Auto merged
      6d7c9d86
    • unknown's avatar
      ndb - bug#25711 · 3c09c1c3
      unknown authored
        fix cpu peak in big clusters during unpack of config
      
      
      ndb/src/common/util/ConfigValues.cpp:
        use bin-search instead of hash (as keys collide too much)
      3c09c1c3
  8. 17 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 7b184fa9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/include/portlib/NdbMem.h:
        Auto merged
      storage/ndb/src/common/portlib/NdbMem.c:
        Auto merged
      storage/ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      storage/ndb/src/kernel/vm/Configuration.hpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        merge
      7b184fa9
    • unknown's avatar
      ndb - bug#25686 · fed5cb6a
      unknown authored
        add support for doing mlockall before mallc instead of after
        (recommit in 5.0)
      
      
      ndb/include/portlib/NdbMem.h:
        add support for doing mlockall before mallc instead of after
      ndb/src/common/portlib/NdbMem.c:
        add support for doing mlockall before mallc instead of after
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        add support for doing mlockall before mallc instead of after
      ndb/src/kernel/vm/Configuration.cpp:
        add support for doing mlockall before mallc instead of after
      ndb/src/kernel/vm/Configuration.hpp:
        add support for doing mlockall before mallc instead of after
      ndb/src/mgmsrv/ConfigInfo.cpp:
        add support for doing mlockall before mallc instead of after
      fed5cb6a
  9. 16 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25636 · 1508bd49
      unknown authored
        additional fix after autotest
        dont send start_fragreq to temporary tables such as ordered indexes...
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        dont send START_FRAGREQ to temporary tables (such as ordered indexes)
      1508bd49
  10. 15 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25636 · 9ec05de3
      unknown authored
        Fix DD problem during NR after 3 missed LCP's
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Send START_FRAGREQ also for fragments wo/ LCP
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        inform TUP that no LCP is restored (if no lcp is restored :-)
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        inform TUP that no LCP is restored (if no lcp is restored :-)
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        inform TUP that no LCP is restored (if no lcp is restored :-)
      storage/ndb/src/kernel/blocks/pgman.cpp:
        Add error insert using dump
      9ec05de3
  11. 12 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25587 · 6226586c
      unknown authored
        fix not aligned or non 32-bit values in "smart" scan
      
      
      mysql-test/r/ndb_partition_key.result:
        testcase
      mysql-test/t/ndb_partition_key.test:
        ndb - bug
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Fix unaligned or non-32-bit values in "smart scan"
      6226586c
  12. 11 Jan, 2007 3 commits
    • unknown's avatar
      fix merge error · 79899496
      unknown authored
      79899496
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · d84d59b7
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      d84d59b7
    • unknown's avatar
      ndb - bug#25554 · 45b1bdb1
      unknown authored
        fix bug when master failure during nr
        (recommit against 5.0)
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        recommit against 5.0
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        recommit against 5.0
      ndb/test/ndbapi/testNodeRestart.cpp:
        recommit against 5.0
      ndb/test/run-test/daily-basic-tests.txt:
        recommit against 5.0
      45b1bdb1
  13. 10 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25468 · e5eee3fa
      unknown authored
        handle partially transfered LCP_FRAG_REP after node failure
        recommit to 51-work
      
      
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        handle partially transfered LCP_FRAG_REP after node failure
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        handle partially transfered LCP_FRAG_REP after node failure
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        testcase
      e5eee3fa
  14. 04 Jan, 2007 3 commits
    • unknown's avatar
      ndb - bug#25329 · f0b50825
      unknown authored
        extra sledge hammer, (real 51)
        use dicklock to prevent SUB_START_REQ during node recovery
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        use dicklock to prevent SUB_START_REQ during node recovery
      f0b50825
    • unknown's avatar
      ndb - recommit extra version info to real-51 · db007003
      unknown authored
      
      storage/ndb/include/kernel/GlobalSignalNumbers.h:
        add extra version info to main clone
      storage/ndb/include/kernel/NodeInfo.hpp:
        add extra version info to main clone
      storage/ndb/include/kernel/signaldata/ApiRegSignalData.hpp:
        add extra version info to main clone
      storage/ndb/include/ndb_version.h.in:
        add extra version info to main clone
      storage/ndb/src/common/debugger/signaldata/SignalNames.cpp:
        add extra version info to main clone
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        add extra version info to main clone
      storage/ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        add extra version info to main clone
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        add extra version info to main clone
      storage/ndb/src/kernel/vm/GlobalData.hpp:
        add extra version info to main clone
      storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
        add extra version info to main clone
      db007003
    • unknown's avatar
      ndb - bug#25329 · 3f8ab08b
      unknown authored
        Fix most obvious error in dict/suma error handling of events
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fix most obvious error in dict/suma error handling of events
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Fix most obvious error in dict/suma error handling of events
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Fix most obvious error in dict/suma error handling of events
      storage/ndb/src/kernel/blocks/suma/SumaInit.cpp:
        Fix most obvious error in dict/suma error handling of events
      3f8ab08b
  15. 03 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 61fd9c3b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        merge
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      61fd9c3b
    • unknown's avatar
      ndb - bug#25364 · 7a787690
      unknown authored
        on master node failure during qmgr-commitreq
          make sure to remove all committed failed nodes from failed/prepfailed arrays
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        new error code
      ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        extra error insert variable
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        make sure to remove all committed failed nodes from failed/prepfailed arrays
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      7a787690
  16. 15 Dec, 2006 5 commits
    • unknown's avatar
      merge fix · c632e93e
      unknown authored
      c632e93e
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · c5301c5a
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      storage/ndb/src/ndbapi/Ndbif.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testIndex.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      storage/ndb/test/ndbapi/testBasic.cpp:
        merge
      c5301c5a
    • unknown's avatar
      ndb - bug#25059 · 9a79c0dc
      unknown authored
        incorrect handling of commit/ignore error in unique index code
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) handle potential ptr error
        2) remove incorrect commit-handling in uk code
      ndb/src/ndbapi/NdbTransaction.cpp:
        1) force 4012
        2) handle AO_IgnoreError in uk code
      ndb/src/ndbapi/Ndbif.cpp:
        force 4012
      ndb/test/ndbapi/testIndex.cpp:
        test program for 25059
      ndb/test/run-test/daily-basic-tests.txt:
        add testcase
      9a79c0dc
    • unknown's avatar
      ndb - bug#25090 · 04ce9e4b
      unknown authored
        add testcase
      
      
      ndb/test/ndbapi/testBasic.cpp:
        add testcase for bug#25090
      ndb/test/run-test/daily-basic-tests.txt:
        add testcase for bug#25090
      04ce9e4b
    • unknown's avatar
      ndb - bug#25090 · 52fad145
      unknown authored
        make sure apicon timer is reset when setting CS_CONNECTED
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        make sure apicon timer is reset when setting CS_CONNECTED
      52fad145
  17. 12 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#24949 · f62bab22
      unknown authored
        make sure not too poll to long, in case of hb-failure of last db-node
      
      
      storage/ndb/src/ndbapi/Ndbif.cpp:
        Make sure not to poll too long
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Make sure not to poll too long
      f62bab22
    • unknown's avatar
      ndb - bug#25001 · 5a6e23bc
      unknown authored
        make sure DISK flag is set on DATA column for blob table
      
      
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        maek sure DISK flag is set on DATA column fro blob table
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        maek sure DISK flag is set on DATA column fro blob table
      5a6e23bc
    • unknown's avatar
      ndb - style · bbb25676
      unknown authored
        split assignment into 2 lines
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        remove bad assignment
      bbb25676
  18. 11 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#24664 · 231483d9
      unknown authored
        Fix in bug fix, make sure LCP_SKIP is only used for inserts...
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        Make sure LCP_SKIP is only used for inserts
      231483d9
  19. 08 Dec, 2006 2 commits
    • unknown's avatar
      ndb - bug#24917 · 0372d3b0
      unknown authored
        
      
      
      storage/ndb/src/kernel/blocks/lgman.cpp:
        Hande LCP= 0 specially
      0372d3b0
    • unknown's avatar
      ndb - bug#24914 · eff21a02
      unknown authored
        Fix start transaction with hint from ndbapi
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fix fragments array for API
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix fragments array for API
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Fix fragments array for API
      eff21a02