1. 01 Dec, 2006 12 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 2330c5c0
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      2330c5c0
    • unknown's avatar
      ndb - bug#24752 · 6dc8ad60
      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
      6dc8ad60
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 01a0bec2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      01a0bec2
    • unknown's avatar
      ndb - bug#24748 · 8c8e27ba
      unknown authored
        Skip rollback if only committedRead in transaction
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Skip rollback if only committedRead in transaction
      8c8e27ba
    • unknown's avatar
      ndb - bug#24717 · ca99e7f5
      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
      ca99e7f5
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 51df41d1
      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
      51df41d1
    • unknown's avatar
      ndb - · 6a446ee5
      unknown authored
        fix merge error
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        fix merge error
      6a446ee5
    • unknown's avatar
      ndb - · 4723c479
      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
      4723c479
    • unknown's avatar
      ndb - bug#24717 · 86616d62
      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''
      86616d62
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 206b2514
      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
      206b2514
    • unknown's avatar
      ndb - bug#24717 · c4565431
      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
      c4565431
    • unknown's avatar
      ndb - bug#24476 · d193af54
      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
      d193af54
  2. 29 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24105 · bd8f324e
      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
      bd8f324e
  3. 28 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24544 · 2eee9638
      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
      2eee9638
  4. 23 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24543 · 286b4b24
      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
      286b4b24
  5. 22 Nov, 2006 6 commits
    • unknown's avatar
      ndb - bug#24503 · 5a1f401f
      unknown authored
        remove debug printouts
      
      
      ndb/src/common/util/NdbSqlUtil.cpp:
        remove debug printouts
      5a1f401f
    • unknown's avatar
      ndb - bug#24503 · 92678f27
      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
      92678f27
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 5eacdd18
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      5eacdd18
    • unknown's avatar
      ndb - bug#24461 · 3412b644
      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
      3412b644
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · fbf4bae9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      fbf4bae9
    • unknown's avatar
      ndb - bug#24461 - LockPagesInMemory ignored · d94d1f94
      unknown authored
        actually do run mlockall
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        actually do run mlockall
      d94d1f94
  6. 21 Nov, 2006 8 commits
    • unknown's avatar
      ndb - no bugs number · 9108d3bd
      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
      9108d3bd
    • unknown's avatar
      ndb - bug#24331 · 2e14b58a
      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...
      2e14b58a
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · b52a1722
      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
      b52a1722
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 4983c584
      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
      4983c584
    • unknown's avatar
      ndb - · 13c1723c
      unknown authored
        update error code list
        (for bug#24447)
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        ndb -
          update error code list
      13c1723c
    • unknown's avatar
      ndb - bug#24447 · 537f7c10
      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
      537f7c10
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 27fac7ba
      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
      27fac7ba
    • unknown's avatar
      ndb - · 22d36db2
      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
      22d36db2
  7. 07 Nov, 2006 1 commit
    • unknown's avatar
      ndb - bug#24039 · 151cb7c2
      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
      151cb7c2
  8. 06 Nov, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 02e63d35
      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
      02e63d35
    • unknown's avatar
      ndb - bug#24011 · 7d69a352
      unknown authored
        
      
      
      ndb/src/common/util/socket_io.cpp:
        Fix problem with cut sockmessages
      7d69a352
  9. 27 Oct, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 92deb8e9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      92deb8e9
    • unknown's avatar
      ndb - valgrind · 124e01f5
      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
      124e01f5
  10. 22 Oct, 2006 1 commit
    • unknown's avatar
      ndb - · 2a345625
      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
      2a345625
  11. 20 Oct, 2006 5 commits
    • unknown's avatar
      merge · dc1ecaa9
      unknown authored
      dc1ecaa9
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 62e047a6
      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
      62e047a6
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 6981cbac
      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
      6981cbac
    • unknown's avatar
      ndb - bug#23499 and bug#23502 · 8a87a267
      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
      8a87a267
    • unknown's avatar
      ndb - bug#23494 · c8d43698
      unknown authored
          Fix bug in restore with table with many columns, Compute size of databuffer pool correctly
      
      c8d43698