• mskold/marty@mysql.com/quadfish.(none)'s avatar
    Ndb.hpp, Ndb.cpp, ha_ndbcluster.cc: · 35d3bef7
      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
    35d3bef7
Ndb.hpp 69.9 KB