1. 25 Jan, 2008 1 commit
    • 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. 23 Jan, 2008 3 commits
    • 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
  3. 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
  4. 11 Dec, 2007 4 commits
  5. 10 Dec, 2007 7 commits
  6. 07 Dec, 2007 18 commits
  7. 06 Dec, 2007 3 commits
  8. 05 Dec, 2007 1 commit
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · f4127cc9
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51-merge
      
      
      client/mysqldump.c:
        Auto merged
      include/my_sys.h:
        Auto merged
      libmysql/CMakeLists.txt:
        Auto merged
      libmysql/Makefile.shared:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/r/func_misc.result:
        Auto merged
      mysql-test/suite/binlog/t/binlog_killed.test:
        Auto merged
      mysql-test/t/cast.test:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/func_misc.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      storage/myisam/ft_boolean_search.c:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      strings/ctype-simple.c:
        Auto merged
      f4127cc9