1. 06 Dec, 2006 2 commits
  2. 05 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#24664 · 4e24154e
      unknown authored
        1) run lcp snapshot for both MM and DD tables (so I dont have to change restore to use WRITE)
        2) fix >= and > bug in lcp skip/keep handling
        3) very cool test prog for this :-)
      
      
      storage/ndb/include/kernel/signaldata/BackupContinueB.hpp:
        Add new error insert
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Add new error insert
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Add new error insert
      storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        1) get >= and > correct for lcp keep/skip
        2) always run lcp snapshot impl. (previously only for dd tables)
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        1) get >= and > correct for lcp keep/skip
        2) always run lcp snapshot impl. (previously only for dd tables)
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        add testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add testcase
      4e24154e
  3. 04 Dec, 2006 1 commit
    • unknown's avatar
      ndb - bug#24166 · 61956dd5
      unknown authored
        SR crash if table with disk with hidden primary key...
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        fix bug 24166
      61956dd5
  4. 01 Dec, 2006 13 commits
    • unknown's avatar
      ndb - bug#24655 · 3a7bb77d
      unknown authored
        Handle events "differently" so that dict doesnt get lock too often
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Handle event separatly as they dont set block_state :-(
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Handle event separatly as they dont set block_state :-(
      storage/ndb/src/kernel/vm/KeyTable2.hpp:
        Handle event separatly as they dont set block_state :-(
      3a7bb77d
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · cca1a6a4
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      cca1a6a4
    • unknown's avatar
      ndb - bug#24752 · f8c69117
      unknown authored
        This prevent any subsequent node restarts, but it's better than crashing an alive node
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fix for bug#24752
        This prevent any subsequent node restarts, but it's better than crashing an alive node
      f8c69117
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · fae72af5
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      fae72af5
    • unknown's avatar
      ndb - bug#24748 · a29f5276
      unknown authored
        Skip rollback if only committedRead in transaction
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Skip rollback if only committedRead in transaction
      a29f5276
    • unknown's avatar
      ndb - bug#24717 · b642e268
      unknown authored
        fixes to testprogram to test new impl. in 5.1
      
      
      storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        move tsman dumps
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        add more support for connection handling using dumps
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        port testprogram to 5.1 to avoid "extra" safety net in LQH
      b642e268
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 9a22200e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      9a22200e
    • unknown's avatar
      ndb - · 1360c578
      unknown authored
        fix merge error
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        fix merge error
      1360c578
    • unknown's avatar
      ndb - · 61c5b80e
      unknown authored
        add testcase for bug#24717
       + fix typo
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Add new error insert 9002
          which is 9000, but will auto enable when started
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        Add new error insert 9002
          which is 9000, but will auto enable when started
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Fix typo
      ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase for bug#24717
      ndb/test/run-test/daily-basic-tests.txt:
        add testcase for bug#24717
      61c5b80e
    • unknown's avatar
      ndb - bug#24717 · aeb2d457
      unknown authored
        5.1 version
        remove 5.0 version
        add general routing signal
        send tckeyref routed if needed...
      
      
      storage/ndb/include/kernel/GlobalSignalNumbers.h:
        Add general routing signal
      storage/ndb/src/common/debugger/signaldata/SignalNames.cpp:
        Add general routing signal
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        send TCKEYREF routed if needed
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        add general routing 
        remove node started state
      storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        add general routing 
        remove node started state
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        add general routing 
        remove node started state
        remove "avoid sending committed read to early" as it now should be handled correctly
      storage/ndb/include/kernel/signaldata/RouteOrd.hpp:
        New BitKeeper file ``storage/ndb/include/kernel/signaldata/RouteOrd.hpp''
      aeb2d457
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · e958b49e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/common/util/NdbSqlUtil.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        merge
      storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        merge
      storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
        merge
      storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
        merge
      storage/ndb/src/ndbapi/ndberror.c:
        merge
      e958b49e
    • unknown's avatar
      ndb - bug#24717 · cc00d542
      unknown authored
        5.0 version
        Add some extra state to try to prevent sending committedread to node too early
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        remove extra virtual-indirection
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        remove extra virtual-indirection
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove extra virtual-indirection
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Add retry mechanism to send TCKEYREF
          (as extra safety)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Add retry mechanism to send TCKEYREF
          (as extra safety)
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Add extra state to prevent sending committed reads to node to early
          (before connection establishment)
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Add extra state to prevent sending committed reads to node to early
          (before connection establishment)
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Add extra state to prevent sending committed reads to node to early
          (before connection establishment)
      ndb/src/kernel/vm/SimulatedBlock.cpp:
        remove extra virtual-indirection
      ndb/src/kernel/vm/SimulatedBlock.hpp:
        remove extra virtual-indirection
      cc00d542
    • unknown's avatar
      ndb - bug#24476 · bfc5a0cc
      unknown authored
        Fix typo that yeilded rare crash in ACC
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        fix typo, where elementptr was sent as elementheader
        yeilded very rare crashes as only 1 bit is checked
          and it's only checked under certatin rare circumstances
      bfc5a0cc
  5. 29 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24105 · c6911d6f
      unknown authored
        Handle not started nodes correctly (for X restart)
        i.e dont wait for NF_COMPLETEREP
            but settle with NODEFAIL_REP
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Handle not started nodes correctly
        i.e dont wait for NF_COMPLETEREP
            but settle with NODEFAIL_REP
      c6911d6f
  6. 28 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24544 · 5c1f4b64
      unknown authored
        fix so backup message is printed even in case of "ndb_mgm -e"
      
      
      storage/ndb/src/common/debugger/signaldata/BackupSignalData.cpp:
        fix backup printer
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        Fix so that backup message is printed even if "ndb_mgm -e"
      storage/ndb/src/ndbapi/SignalSender.cpp:
        move method into TransporterFacade to enable API_TRACE
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        move method into TransporterFacade to enable API_TRACE
      5c1f4b64
  7. 23 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24543 · 94069b1d
      unknown authored
        Resend if master dies during alloc node id
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Add new error code
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Add new error code
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Make sure to resend if master died
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add testcase
      94069b1d
  8. 22 Nov, 2006 6 commits
    • unknown's avatar
      ndb - bug#24503 · 9c7361e6
      unknown authored
        remove debug printouts
      
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        remove debug printouts
      9c7361e6
    • unknown's avatar
      ndb - bug#24503 · 1ca32bbc
      unknown authored
        Fix scan filter on bit types
        (note should probably be enabled in condition pushdown aswell)
      
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        Add support for comparing bit types
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Add new error code
      ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        Add new error code
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Add correct handling of unsupported type
      ndb/src/ndbapi/ndberror.c:
        Add new error code
      1ca32bbc
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · bb4c84e6
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      bb4c84e6
    • unknown's avatar
      ndb - bug#24461 · 55640f60
      unknown authored
      m  ove mlock to much earlier in startphases
        not to affect heartbeats
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        move mlock to much earlier in startphases
          not to affect heartbeats
      55640f60
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · acd36295
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      acd36295
    • unknown's avatar
      ndb - bug#24461 - LockPagesInMemory ignored · 9e9f5fc2
      unknown authored
        actually do run mlockall
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        actually do run mlockall
      9e9f5fc2
  9. 21 Nov, 2006 8 commits
    • unknown's avatar
      ndb - no bugs number · 9f8d2e5b
      unknown authored
        1) Make sure not to read uninitialized data in unique index code
            harmless (atleast before dynattr)
        2) Dont update p_latest_trans_gci
            for dirty unique index lookup
        
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        Make sure not to read uninitialized data in unique index code
          harmless (atleast before dynattr)
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Dont update p_latest_trans_gci
          for dirty unique index lookup
      9f8d2e5b
    • unknown's avatar
      ndb - bug#24331 · d7cc8d40
      unknown authored
        Make sure LCP scan record is correct initialized
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Init ScanOp
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        And set correct pointers...
      d7cc8d40
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 32510f62
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      storage/ndb/test/ndbapi/testScan.cpp:
        merge
      32510f62
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 9759d3c9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/test/ndbapi/testScan.cpp:
        merge
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      9759d3c9
    • unknown's avatar
      ndb - · c893cb4f
      unknown authored
        update error code list
        (for bug#24447)
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        ndb -
          update error code list
      c893cb4f
    • unknown's avatar
      ndb - bug#24447 · 99d39263
      unknown authored
        api disconnect just after SCAN_TABREQ
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) add error insert for faking DISCONNECT of API just after SCAN_TABREQ
        2) handle error :-)
      ndb/test/ndbapi/testScan.cpp:
        Add etstcase for bug 24447
      ndb/test/run-test/daily-basic-tests.txt:
        Add etstcase for bug 24447
      99d39263
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 8c806e5c
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/common/util/socket_io.cpp:
        Auto merged
      storage/ndb/src/common/util/InputStream.cpp:
        merge
      8c806e5c
    • unknown's avatar
      ndb - · 01797892
      unknown authored
        Fix bug wrt to '\r' handling in latest commit to bug#24011
      
      
      ndb/src/common/util/InputStream.cpp:
        Fix bug wrt to '\r' handling in latest commit to bug#24011
      ndb/src/common/util/socket_io.cpp:
        Fix bug wrt to '\r' handling in latest commit to bug#24011
      01797892
  10. 07 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24039 · 32034246
      unknown authored
        Make sure index scan does not commitDelete
      
      
      mysql-test/r/ndb_index_ordered.result:
        testcase
      mysql-test/t/ndb_index_ordered.test:
        testcase
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Make sure index scan does not commitDelete
      32034246
  11. 06 Nov, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · ed7eb26a
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      storage/ndb/src/common/util/socket_io.cpp:
        merge
      ed7eb26a
    • unknown's avatar
      ndb - bug#24011 · 1ef8fe5a
      unknown authored
        
      
      
      ndb/src/common/util/socket_io.cpp:
        Fix problem with cut sockmessages
      1ef8fe5a
  12. 27 Oct, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · ba583978
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      ba583978
    • unknown's avatar
      ndb - valgrind · 11ac4907
      unknown authored
        Still leakage, make sure all unlinked operations are put back so they will be release
        (on failing blob operations, when AO_IgnoreError)
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        Still leakage, make sure all unlinked operations are put back so they will be release
      11ac4907
  13. 22 Oct, 2006 1 commit
    • unknown's avatar
      ndb - · 2318f1bf
      unknown authored
        revert fix bug#21052 as it's wrong, and induces bus-error on node crashes
      
      
      storage/ndb/src/mgmsrv/Services.cpp:
        revert fix bug#21052 as it's wrong, and induces bus-error on node crashes
      2318f1bf