1. 19 Oct, 2006 6 commits
    • unknown's avatar
      ndb - add temporary tables to hugo · db86570e
      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
      db86570e
    • unknown's avatar
      ndb - bug#22672 · 86a34d84
      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
      86a34d84
    • unknown's avatar
      ndb - fix incorrect assertion · 86cff19c
      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
      86cff19c
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 21751bd1
      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
      21751bd1
    • unknown's avatar
      ndb - bug#23200 · c1b1587f
      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
      c1b1587f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · c34825bf
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      c34825bf
  2. 18 Oct, 2006 2 commits
    • unknown's avatar
      ndb - bug#23430 · 6ea01baf
      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
      6ea01baf
    • unknown's avatar
      ndb - bug#23200 · 313b46da
      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
      313b46da
  3. 13 Oct, 2006 3 commits
    • unknown's avatar
      fix merge problem · 332c8c27
      unknown authored
      332c8c27
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 33ffd6f6
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/common/debugger/EventLogger.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        merge
      33ffd6f6
    • unknown's avatar
      ndb - bug#23203 · 5fe75fb0
      unknown authored
        1) Handle not started nodes in dump 1000 (check for division by 0)
        2) Make sure to init variables in constructor
      
      
      ndb/src/common/debugger/EventLogger.cpp:
        Handle not started nodes
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        Init variables in constructor
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Handle not started nodes
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Init variables in constructor
        Handle not started nodes
      5fe75fb0
  4. 12 Oct, 2006 5 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 6ca1ecd4
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      6ca1ecd4
    • unknown's avatar
      ndb - missing if for bug#21941 · 7ea7e327
      unknown authored
        note this does not happen in 5.0, but i'm committing it here to keep code same between 5.0 and 5.1
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        missing if for bug#21941
      7ea7e327
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 9bfd6add
      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/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        merge
      9bfd6add
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 092cf80a
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      092cf80a
    • unknown's avatar
      ndb - bug#23210 · d3b8190f
      unknown authored
        Fix race-condition between COPY_GCIREQ (GCP) and lcpSetActiveStatusEnd
        Solution is _not_ to copy sysfileData from COPY_GCIREQ from "self"
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Add error insert for dealying of copy sysfileData
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        1) Add error insert for delaying of sysfileData
        2) Change to that master is _not_ copying sysfileData from COPY_GCIREQ
           as it might be updating it while COPY_GCIREQ is "in the fly"
      d3b8190f
  5. 10 Oct, 2006 4 commits
    • unknown's avatar
      ndb - · c4534097
      unknown authored
        ndb_restore Return OK even if temporary errors
          (otherwise mysql-test-run/ndb_restore can fail on really slow machines)
      
      
      storage/ndb/tools/restore/restore_main.cpp:
        Return OK even if temporary errors
      c4534097
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 0b0169d9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testTimeout.cpp:
        Auto merged
      0b0169d9
    • unknown's avatar
      ndb - bug#23107 · 6ef83b2e
      unknown authored
        fix bug in test prg
      
      6ef83b2e
    • unknown's avatar
      ndb - bug#23107 · 7f470530
      unknown authored
        fix bug in handling of inactive timeout for scan, when all is delivered
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) set timeout if all scans are at api
        2) Use c_appl_timeout_value when getting scan timeout
      ndb/test/ndbapi/testTimeout.cpp:
        test program
      7f470530
  6. 06 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#22893 · 9c2562d1
      unknown authored
        Add checking of REDO to earlier during SR
            so take-over of node can be performed
            if it can't be restarted using logs
            (which btw is really weird...as it _should_ be able to use logs of other node in node group)
      
        Otherwise cluster could be started and 1 fragment on one node could not have been restored
        Making the cluster inconsisten, VERY BAD
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Break-out methods which searches for REDO for a fragment, so it can be used earlier during SR
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Add checking of REDO to earlier during SR
          so take-over of node can be performed
          if it can't be restarted using logs
          (which btw is really weird...as it _should_ be able to use logs of other node in node group)
      9c2562d1
  7. 05 Oct, 2006 2 commits
    • unknown's avatar
      ndb - bug#17929 · 6058ea3a
      unknown authored
        guess which scan type to use in handler
      
      
      sql/ha_ndbcluster.cc:
        Add guessing of scan type when starting full-table-scan
      storage/ndb/include/ndbapi/NdbDictionary.hpp:
        Add methods to check properties of a bitmap of columns
      storage/ndb/include/ndbapi/NdbScanOperation.hpp:
        Add DiskScanFlag
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Add aggregate of #disk columns
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Add #disk columns
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Add disk scan flag
      storage/ndb/tools/delete_all.cpp:
        Add tupscan/diskscan to delete_all
      6058ea3a
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 80a81095
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      80a81095
  8. 04 Oct, 2006 6 commits
    • unknown's avatar
      BUG#20809 mysqldump does not backup TS and LG information correctly · d8a27815
      unknown authored
      restore of the dump (ndb_dd_dump test) was failing for probably a merge problem. fixed now.
      
      
      client/mysqldump.c:
        fix query to make dump restorable
      d8a27815
    • unknown's avatar
      ndb - bug#22892 · 7d427f49
      unknown authored
          Make sure checkKeepGci is also run on oldStoredReplicas
            to prevent keepgci to move backwards when crash node restarts
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure checkKeepGci is also run on oldStoredReplicas
          to prevent keepgci to move backwards when crash node restarts
      7d427f49
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · b55edc6b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/include/mgmapi/mgmapi.h:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      storage/ndb/include/ndb_version.h.in:
        merge
      b55edc6b
    • unknown's avatar
      Merge bk-internal.mysql.com:/dev/shm/knielsen/mysql-5.1-ndb-bj · 6fd692ee
      unknown authored
      into  bk-internal.mysql.com:/dev/shm/knielsen/mysql-5.1-new-ndb
      
      
      client/mysqltest.c:
        Auto merged
      include/config-netware.h:
        Auto merged
      mysql-test/r/csv.result:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/csv.test:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/src/ndbapi/Ndb.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ndberror.c:
        Auto merged
      storage/ndb/tools/ndb_condig.cpp:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      storage/csv/ha_tina.cc:
        manual merge.
      storage/innobase/btr/btr0btr.c:
        SCCS merged
      storage/innobase/buf/buf0buf.c:
        SCCS merged
      storage/innobase/dict/dict0dict.c:
        SCCS merged
      storage/innobase/fil/fil0fil.c:
        SCCS merged
      storage/innobase/fsp/fsp0fsp.c:
        SCCS merged
      storage/innobase/handler/ha_innodb.cc:
        SCCS merged
      storage/innobase/include/btr0cur.ic:
        use local
      storage/innobase/include/buf0buf.ic:
        SCCS merged
      storage/innobase/log/log0log.c:
        SCCS merged
      storage/innobase/log/log0recv.c:
        SCCS merged
      storage/innobase/os/os0file.c:
        SCCS merged
      storage/innobase/row/row0mysql.c:
        SCCS merged
      storage/innobase/row/row0sel.c:
        SCCS merged
      storage/innobase/srv/srv0start.c:
        SCCS merged
      storage/innobase/ut/ut0dbg.c:
        SCCS merged
      6fd692ee
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 8b34df03
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/common/debugger/signaldata/SignalNames.cpp:
        SCCS merged
      8b34df03
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.1/cleanup · 18f36984
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/pending
      
      
      storage/ndb/src/common/debugger/signaldata/SignalNames.cpp:
        merge
      18f36984
  9. 03 Oct, 2006 1 commit
  10. 28 Sep, 2006 3 commits
    • unknown's avatar
      Merge dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-5.0/mysql-5.0-bug-19651 · 7282cb45
      unknown authored
      into  dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-5.1/mysql-5.1-bug-19651
      
      
      storage/ndb/include/util/ndb_opts.h:
        Auto merged
      storage/ndb/test/ndbapi/flexScan.cpp:
        Auto merged
      storage/ndb/tools/ndb_condig.cpp:
        Auto merged
      storage/ndb/tools/restore/consumer.hpp:
        merged for push bug#19651
      storage/ndb/tools/restore/consumer_restore.cpp:
        merged for push bug#19651
      storage/ndb/tools/restore/consumer_restore.hpp:
        merged for push bug#19651
      storage/ndb/tools/restore/restore_main.cpp:
        merged for push bug#19651
      7282cb45
    • unknown's avatar
      Merge dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-4.1/mysql-4.1-bug-19651 · de98d199
      unknown authored
      into  dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-5.0/mysql-5.0-bug-19651
      
      
      ndb/test/ndbapi/flexScan.cpp:
        Auto merged
      ndb/tools/ndb_config.cpp:
        Auto merged
      ndb/tools/restore/consumer_restore.cpp:
        Auto merged
      ndb/tools/restore/consumer_restore.hpp:
        Auto merged
      ndb/tools/restore/restore_main.cpp:
        Auto merged
      ndb/include/util/ndb_opts.h:
        C
      de98d199
    • unknown's avatar
      Merge dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-4.1/mysql-4.1-ndb-bj · adcaf0c1
      unknown authored
      into  dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-4.1/mysql-4.1-bug-19651
      
      adcaf0c1
  11. 26 Sep, 2006 7 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · de44e766
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/include/kernel/GlobalSignalNumbers.h:
        Auto merged
      storage/ndb/include/ndbapi/NdbTransaction.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      de44e766
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · fefe8925
      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/dbtc/DbtcMain.cpp:
        Auto merged
      fefe8925
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · c437142c
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      c437142c
    • unknown's avatar
      ndb - bug#15303 · 53c55c52
      unknown authored
        Fix take-over during SR, remove coupling to lcp/gcp (if systemRestartOngoing())
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix take-over during SR
      53c55c52
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 0bb4ab64
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      0bb4ab64
    • unknown's avatar
      ndb - bug#22672 · 63f72ecc
      unknown authored
        handle also CS_CONNECTED as "abort" in handleFailedApi to keep from falling on assertion in releaseApiCon
          in case of committed dirtyRead
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        handle also CS_CONNECTED as "abort" to keep from falling on assertion in releaseApiCon
          in case of committed dirtyRead
      63f72ecc
    • unknown's avatar
      ndb - bug#21690: cleanup: set column properties in any order before create · 23bdcf23
      unknown authored
      
      storage/ndb/include/ndbapi/NdbDictionary.hpp:
        compute aggregates only before create table or by user request.
        remove distribution key hacks (set by user/set by us..)
      storage/ndb/src/ndbapi/NdbDictionary.cpp:
        compute aggregates only before create table or by user request.
        remove distribution key hacks (set by user/set by us..)
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        compute aggregates only before create table or by user request.
        remove distribution key hacks (set by user/set by us..)
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        compute aggregates only before create table or by user request.
        remove distribution key hacks (set by user/set by us..)
      storage/ndb/test/include/NDBT_Table.hpp:
        compute aggregates only before create table or by user request.
        remove distribution key hacks (set by user/set by us..)
      storage/ndb/test/src/NDBT_Tables.cpp:
        compute aggregates only before create table or by user request.
        remove distribution key hacks (set by user/set by us..)
      23bdcf23