1. 01 Dec, 2006 4 commits
    • 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 20 Oct, 2006 13 commits
    • unknown's avatar
      merge · d747f610
      unknown authored
      d747f610
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · f4326d02
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/include/kernel/ndb_limits.h:
        Auto merged
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/backup/Backup.hpp:
        merge
      f4326d02
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 65f50416
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/include/kernel/ndb_limits.h:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.cpp:
        SCCS merged
      65f50416
    • unknown's avatar
      ndb - bug#23499 and bug#23502 · 9070859e
      unknown authored
        Fix some too small buffers in backup
        
      
      
      ndb/include/kernel/ndb_limits.h:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Make sure to set maxInsert so that we actually can handle NO_OF_META_PAGES
      ndb/src/kernel/blocks/backup/Backup.hpp:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      9070859e
    • unknown's avatar
      ndb - bug#23494 · 53b1792e
      unknown authored
          Fix bug in restore with table with many columns, Compute size of databuffer pool correctly
      
      
      53b1792e
    • unknown's avatar
      ndb - · d54d43b6
      unknown authored
          Add better error message if getting error in RESTORE
      
      
      d54d43b6
    • unknown's avatar
      ndb - bug#22838 · 4df13366
      unknown authored
          when doing create unique index which mysql will silently converts to PK, ndb is not informed
          so table will be useless.
        
          change so that we never do online add index wo/ primary key.
          this is not good, but it's better than a useless table
      
      
      4df13366
    • unknown's avatar
      merge · 87449894
      unknown authored
      87449894
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 30c8b7bd
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      30c8b7bd
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · c54295f7
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      c54295f7
    • unknown's avatar
      ndb - · b81cc9c3
      unknown authored
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      b81cc9c3
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 8af99710
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      8af99710
    • unknown's avatar
      ndb - · 608e9207
      unknown authored
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      608e9207