1. 01 Dec, 2006 1 commit
    • 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. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 19 Oct, 2006 7 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · f0fb0d17
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      f0fb0d17
    • unknown's avatar
      ndb - add temporary tables to hugo · b8812c85
      unknown authored
        and use it for testOperations/testTransactions
      
      
      storage/ndb/test/include/NDBT_Test.hpp:
        Add support for temporary tables in hugo
      storage/ndb/test/ndbapi/testOperations.cpp:
        Make testOperations use temporary tables
      storage/ndb/test/ndbapi/testTransactions.cpp:
        Make testTransactions use temporary tables
      storage/ndb/test/src/NDBT_Tables.cpp:
        Add support for temporary tables in hugo
      storage/ndb/test/src/NDBT_Test.cpp:
        Add support for temporary tables in hugo
      b8812c85
    • unknown's avatar
      ndb - bug#22672 · e4a398f1
      unknown authored
        fix another incorrect assertion
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        clear m_transaction_nodes.clear()
        to avoid asserion in debug-compiled in releaseApiCon
      e4a398f1
    • unknown's avatar
      ndb - fix incorrect assertion · a1fa0ed4
      unknown authored
        Dont assert when getting gci=0 in read only transaction
      
      
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Dont assert when getting gci=0 in read only transaction
      a1fa0ed4
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · fdfabb82
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        merge
      fdfabb82
    • unknown's avatar
      ndb - bug#23200 · d262020f
      unknown authored
        this changes lock taken during peek, to decrease likelyhood of transaction abort
        
      
      
      sql/ha_ndbcluster.cc:
        use exclusive lock in peek, as peek is used just before insert/update
      d262020f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · eb1d1202
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      eb1d1202
  12. 18 Oct, 2006 2 commits
    • unknown's avatar
      ndb - bug#23430 · 591f3194
      unknown authored
        make sure not to release log buffer twice (or several times) in case of abort of multi update
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        make sure not to release log buffer twice (or several times) in case of abort of multi update
      591f3194
    • unknown's avatar
      ndb - bug#23200 · 1028185a
      unknown authored
        Make sure postExecute is not run for blobs if AO_IgnoreError
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        If AO_IgnoreError, error codes arent always set on individual operations, making postExecute impossible
      1028185a