• mskold/marty@mysql.com/quadfish.(none)'s avatar
    DictCache.hpp, Ndb.hpp: · 571a7bb3
      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
    571a7bb3
Ndb.cpp 43.6 KB