1. 23 Jan, 2008 1 commit
    • 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
  2. 22 Jan, 2008 2 commits
    • 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
  3. 11 Dec, 2007 4 commits
  4. 10 Dec, 2007 7 commits
  5. 07 Dec, 2007 18 commits
  6. 06 Dec, 2007 3 commits
  7. 05 Dec, 2007 5 commits
    • 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
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41 · a24c025e
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      sql/set_var.cc:
        Auto merged
      a24c025e
    • unknown's avatar
      Post-merge fix (reorder tests in ctype_ucs.test) · 7e0049a4
      unknown authored
      
      mysql-test/t/ctype_ucs.test:
        Post-merge fix (fix order of tests to match results).
      7e0049a4
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/51 · 67da1a19
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51-merge
      
      
      client/mysqldump.c:
        Auto merged
      include/my_base.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      libmysql/CMakeLists.txt:
        Auto merged
      libmysql/Makefile.shared:
        Auto merged
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/suite/rpl/t/rpl_ssl.test:
        Auto merged
      mysql-test/t/cast.test:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/ps.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_timefunc.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/records.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/unireg.cc:
        Auto merged
      storage/myisam/ft_boolean_search.c:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      mysql-test/t/log_state.test:
        Manual merge fix-up
      mysql-test/include/mix1.inc:
        Manual merge
      mysql-test/r/ctype_ucs.result:
        Manual merge
      mysql-test/r/func_misc.result:
        Manual merge
      mysql-test/r/innodb_mysql.result:
        Manual merge
      mysql-test/r/key.result:
        Manual merge
      mysql-test/r/log_state.result:
        Manual merge
      mysql-test/suite/binlog/t/binlog_killed.test:
        Manual merge
      mysql-test/t/ctype_ucs.test:
        Manual merge
      mysql-test/t/func_misc.test:
        Manual merge
      mysql-test/t/key.test:
        Manual merge
      sql/item_strfunc.h:
        Manual merge
      strings/ctype-simple.c:
        Manual merge
      67da1a19
    • unknown's avatar
      Merge mysql.com:/Users/davi/mysql/bugs/32996-5.1 · d49d3637
      unknown authored
      into  mysql.com:/Users/davi/mysql/mysql-5.1-runtime
      
      d49d3637