1. 30 Jan, 2007 3 commits
    • unknown's avatar
      ndb - · 79a7a1c9
      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
      79a7a1c9
    • unknown's avatar
      ndb - minor style fixes · c470069e
      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
      c470069e
    • unknown's avatar
      ndb - · a92c1a9b
      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
      a92c1a9b
  2. 28 Jan, 2007 1 commit
  3. 23 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25794 · ded0bbb1
      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
      ded0bbb1
  4. 22 Jan, 2007 4 commits
    • unknown's avatar
      ndb - bug#25286 · c35f33e5
      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
      c35f33e5
    • unknown's avatar
      ndb - bug#25755 · b743dcfc
      unknown authored
        remove accidently left debug prinouts
      
      b743dcfc
    • unknown's avatar
      ndb - bug#25755 · 81b25f7b
      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
      81b25f7b
    • unknown's avatar
      ndb - fix bug is NODE_VERSION_REP · 4b4850d7
      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
      4b4850d7
  5. 20 Jan, 2007 1 commit
    • unknown's avatar
      ndb - Fix bug when sending NODE_VERSION_REP · 2c745eca
      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
      2c745eca
  6. 19 Jan, 2007 3 commits
    • unknown's avatar
      ndb - bug#19645 · d8628a73
      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
      d8628a73
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 195bfbd3
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/common/util/ConfigValues.cpp:
        Auto merged
      195bfbd3
    • unknown's avatar
      ndb - bug#25711 · af65dcaf
      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)
      af65dcaf
  7. 17 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 25735d3e
      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
      25735d3e
    • unknown's avatar
      ndb - bug#25686 · ba39789b
      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
      ba39789b
  8. 16 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25636 · 64692863
      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)
      64692863
  9. 15 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25636 · 1f6e6b56
      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
      1f6e6b56
  10. 12 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25587 · c823b6e5
      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"
      c823b6e5
  11. 11 Jan, 2007 3 commits
    • unknown's avatar
      fix merge error · b2bb44a4
      unknown authored
      b2bb44a4
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 2f88b6a5
      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
      2f88b6a5
    • unknown's avatar
      ndb - bug#25554 · ab07c477
      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
      ab07c477
  12. 10 Jan, 2007 1 commit
    • unknown's avatar
      ndb - bug#25468 · 9b9ac0f0
      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
      9b9ac0f0
  13. 04 Jan, 2007 3 commits
    • unknown's avatar
      ndb - bug#25329 · bdb3e3e2
      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
      bdb3e3e2
    • unknown's avatar
      ndb - recommit extra version info to real-51 · 34a72aaa
      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
      34a72aaa
    • unknown's avatar
      ndb - bug#25329 · d8969887
      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
      d8969887
  14. 03 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · ebeb1673
      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
      ebeb1673
    • unknown's avatar
      ndb - bug#25364 · 162a2e41
      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
      162a2e41
  15. 15 Dec, 2006 5 commits
    • unknown's avatar
      merge fix · cb81b24b
      unknown authored
      cb81b24b
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · dffbe735
      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
      dffbe735
    • unknown's avatar
      ndb - bug#25059 · 2e39b557
      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
      2e39b557
    • unknown's avatar
      ndb - bug#25090 · 835a0ff6
      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
      835a0ff6
    • unknown's avatar
      ndb - bug#25090 · bb0a8229
      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
      bb0a8229
  16. 12 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#24949 · 1402f9ad
      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
      1402f9ad
    • unknown's avatar
      ndb - bug#25001 · 79785fae
      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
      79785fae
    • unknown's avatar
      ndb - style · dd2ca018
      unknown authored
        split assignment into 2 lines
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        remove bad assignment
      dd2ca018
  17. 11 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#24664 · ee0bad0c
      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
      ee0bad0c
  18. 08 Dec, 2006 3 commits
    • unknown's avatar
      ndb - bug#24917 · 247fde18
      unknown authored
        
      
      
      storage/ndb/src/kernel/blocks/lgman.cpp:
        Hande LCP= 0 specially
      247fde18
    • unknown's avatar
      ndb - bug#24914 · e663444b
      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
      e663444b
    • unknown's avatar
      ndb - bug#21948 · b01e4ecd
      unknown authored
        Fix bug in previous changeset...causing SR problems with disk
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        fix some more strict-aliasing problems
      storage/ndb/src/kernel/blocks/tsman.cpp:
        Fix newly introduced bug
      b01e4ecd
  19. 07 Dec, 2006 1 commit
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 5da1b6ca
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
        Auto merged
      storage/ndb/src/kernel/blocks/lgman.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      5da1b6ca