1. 25 Jan, 2008 2 commits
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 038aa08e
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      038aa08e
    • unknown's avatar
      ndb_restore.result, ndb_restore.test: · 14fa56e6
      unknown authored
        Changed to use information_schema to check auto_increment
      Ndb.cpp:
        Bug #33534   Bad performance of INSERT's in auto_incremented tables: Saving highest seen value when setting auto_increment fields
      ndb_auto_increment.result:
        Regenerated result
      
      
      mysql-test/suite/ndb/r/ndb_auto_increment.result:
        Regenerated result
      mysql-test/suite/ndb/r/ndb_restore.result:
        Changed to use information_schema to check auto_increment
      mysql-test/suite/ndb/t/ndb_restore.test:
        Changed to use information_schema to check auto_increment
      storage/ndb/src/ndbapi/Ndb.cpp:
        Bug #33534   Bad performance of INSERT's in auto_incremented tables: Saving highest seen value when setting auto_increment fields
      14fa56e6
  2. 24 Jan, 2008 10 commits
  3. 23 Jan, 2008 25 commits
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge · ac2418e3
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
      
      
      mysql-test/r/view.result:
        Auto merged
      ac2418e3
    • unknown's avatar
      correct result to be the same as in 5.0 · 1a81f783
      unknown authored
      1a81f783
    • unknown's avatar
      config.medium.ini.sh, config.small.ini.sh, config.huge.ini.sh: · 9ae787ba
      unknown authored
        Sample cluster configuration files for 5.1
      Makefile.am:
        Updated for new files
      
      
      support-files/config.huge.ini.sh:
        Sample cluster configuration files for 5.1
      support-files/config.medium.ini.sh:
        Sample cluster configuration files for 5.1
      support-files/config.small.ini.sh:
        Sample cluster configuration files for 5.1
      support-files/Makefile.am:
        Updated for new files
      9ae787ba
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge · 6f02a695
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
      
      6f02a695
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/cge-5.1 · 8c472218
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
      
      8c472218
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb · 379812ee
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
      
      379812ee
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-bj · 04f015a6
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/cge-5.1
      
      
      storage/ndb/src/common/transporter/TCP_Transporter.cpp:
        Auto merged
      storage/ndb/src/common/util/Bitmask.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testBitfield.cpp:
        Auto merged
      04f015a6
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1 · b8a52acd
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
      
      b8a52acd
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0 · 559e2439
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
      
      559e2439
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb · e5048991
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/cge-5.1
      
      
      storage/ndb/src/common/transporter/TCP_Transporter.cpp:
        Auto merged
      storage/ndb/src/common/util/Bitmask.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testBitfield.cpp:
        Auto merged
      e5048991
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-bj · 6979fdf4
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-bj
      
      
      mysql-test/r/view.result:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/src/common/transporter/TCP_Transporter.cpp:
        Auto merged
      storage/ndb/src/common/util/Bitmask.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testBitfield.cpp:
        Auto merged
      6979fdf4
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/cge-5.1 · 7273a332
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
      
      7273a332
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/cge-5.1 · e6cd547c
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-bj
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        manual merge
      e6cd547c
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb · 07927c03
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-bj
      
      07927c03
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · 4bd204a2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/common/transporter/TCP_Transporter.cpp:
        Auto merged
      4bd204a2
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-telco-gca · 02e28686
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/src/common/transporter/TCP_Transporter.cpp:
        Auto merged
      02e28686
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-telco-gca · 3dac6033
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-ndb
      
      
      ndb/src/common/transporter/TCP_Transporter.cpp:
        Auto merged
      3dac6033
    • unknown's avatar
      ndb - bug#34005 · 45692c44
      unknown authored
        make sure whole send buffer is flushed, even when wrapping around end
      
      
      ndb/src/common/transporter/TCP_Transporter.cpp:
        ndb - bug#34005
          make sure whole send buffer is flush, even when wrapping around end
      45692c44
    • unknown's avatar
      Merge mysql.com:/home/marty/MySQL/mysql-5.0-ndb · cf6b2e7c
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
      
      cf6b2e7c
    • unknown's avatar
      Ndb.hpp: · 20c0d6ae
      unknown authored
        Changed function attribute names to match implementation
      
      
      ndb/include/ndbapi/Ndb.hpp:
        Changed function attribute names to match implementation
      20c0d6ae
    • unknown's avatar
      Ndb.hpp, Ndb.cpp, ha_ndbcluster.cc: · bfdf7685
      unknown authored
        Add a check if setting an auto_increment field will change it's next value before retrieving tuple_id_range lock. This avoids hitting locks when updating auto_increment values to a lower value than the current maximum. This is useful in loading a table with auto_increment where one loads the highest numbered pk's first and then proceeds backwards to the first. This can then be achieved with the same performance as a normal insert without auto_increment.
      ndb_restore.result:
        Updated result file
      
      
      mysql-test/suite/ndb/r/ndb_restore.result:
        Updated result file
      sql/ha_ndbcluster.cc:
        Add a check if setting an auto_increment field will change it's next value before retrieving tuple_id_range lock. This avoids hitting locks when updating auto_increment values to a lower value than the current maximum. This is useful in loading a table with auto_increment where one loads the highest numbered pk's first and then proceeds backwards to the first. This can then be achieved with the same performance as a normal insert without auto_increment.
      storage/ndb/include/ndbapi/Ndb.hpp:
        Add a check if setting an auto_increment field will change it's next value before retrieving tuple_id_range lock. This avoids hitting locks when updating auto_increment values to a lower value than the current maximum. This is useful in loading a table with auto_increment where one loads the highest numbered pk's first and then proceeds backwards to the first. This can then be achieved with the same performance as a normal insert without auto_increment.
      storage/ndb/src/ndbapi/Ndb.cpp:
        Add a check if setting an auto_increment field will change it's next value before retrieving tuple_id_range lock. This avoids hitting locks when updating auto_increment values to a lower value than the current maximum. This is useful in loading a table with auto_increment where one loads the highest numbered pk's first and then proceeds backwards to the first. This can then be achieved with the same performance as a normal insert without auto_increment.
      bfdf7685
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · c2a75c6d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/common/util/Bitmask.cpp:
        merge
      c2a75c6d
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-telco-gca · 86de52b2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
      
      
      storage/ndb/include/util/Bitmask.hpp:
        Auto merged
      storage/ndb/src/common/util/Bitmask.cpp:
        merge
      storage/ndb/test/ndbapi/testBitfield.cpp:
        merge
      86de52b2
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-telco-gca · 1fdbfcab
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-ndb
      
      
      ndb/src/common/util/Bitmask.cpp:
        merge
      ndb/test/ndbapi/testBitfield.cpp:
        merge
      1fdbfcab
    • unknown's avatar
      ndb - bug#33750 · dc2d659e
      unknown authored
          make sure that getField does not write after supplied buffer
          (recommit to correct clone, for easy merging)
      
      
      ndb/include/util/Bitmask.hpp:
        ndb- bug#33750
              make sure that getField does not write after supplied buffer
      ndb/src/common/util/Bitmask.cpp:
        ndb- bug#33750
              make sure that getField does not write after supplied buffer
      ndb/test/ndbapi/testBitfield.cpp:
        move test from Bitmask.cpp into testBitfield
              for automatic testing
      dc2d659e
  4. 22 Jan, 2008 3 commits
    • unknown's avatar
      Fixed incorrect signature comment · 16cb8ee5
      unknown authored
      16cb8ee5
    • unknown's avatar
      Merge mysql.com:/home/marty/MySQL/mysql-5.0-ndb · 3abefb55
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
      
      
      storage/ndb/src/ndbapi/Ndb.cpp:
        Using local, will merge manually.
      storage/ndb/include/ndbapi/Ndb.hpp:
        Changed parameter name to better reflect meaning.
      3abefb55
    • unknown's avatar
      DictCache.hpp, Ndb.hpp: · c163bd43
      unknown authored
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID and not retrieving to cache. Add new method to check tupleId before calling data node
      ndb_restore.result, ndb_restore.test:
        Changed test to use information_schema to check auto_increment
      DictCache.cpp, Ndb.cpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID and not retrieving to cache. Add new method to check tupleId before calling data node. When setting the auto_increment value we'll also read up the new value, this is useful if we use the table the first time in this MySQL Server and haven't yet seen the NEXTID value. The kernel will avoid updating since it already has the value but will also read up the NEXTID value to ensure we don't need to do this any more time.
      ndb_auto_increment.result:
        Updated result file since it was incorrect
      
      
      ndb/include/ndbapi/Ndb.hpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID and not retrieving to cache. Add new method to check tupleId before calling data node
      ndb/src/ndbapi/DictCache.hpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID and not retrieving to cache. Add new method to check tupleId before calling data node
      ndb/src/ndbapi/DictCache.cpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID
        and not retrieving to cache. Add new method to check tupleId before calling
        data node. When setting the auto_increment value we'll also read up the new
        value, this is useful if we use the table the first time in this MySQL Server
        and haven't yet seen the NEXTID value. The kernel will avoid updating since it
        already has the value but will also read up the NEXTID value to ensure we
        don't need to do this any more time.
      ndb/src/ndbapi/Ndb.cpp:
        Add new variable m_highest_seen when only peeking at auto_increment NEXTID
        and not retrieving to cache. Add new method to check tupleId before calling
        data node. When setting the auto_increment value we'll also read up the new
        value, this is useful if we use the table the first time in this MySQL Server
        and haven't yet seen the NEXTID value. The kernel will avoid updating since
        it already has the value but will also read up the NEXTID value to ensure we
        don't need to do this any more time.
      mysql-test/r/ndb_restore.result:
        Changed test to use information_schema to check auto_increment
      mysql-test/t/ndb_restore.test:
        Changed test to use information_schema to check auto_increment
      mysql-test/r/ndb_auto_increment.result:
        Updated result file since it was incorrect
      c163bd43