• sunny's avatar
    branches/zip: · f3c6e06e
    sunny authored
    Merge revisions 2852:2854 from branches/5.1:
    
      ------------------------------------------------------------------------
      r2854 | sunny | 2008-10-23 08:30:32 +0300 (Thu, 23 Oct 2008) | 13 lines
      Changed paths:
         M /branches/5.1/dict/dict0dict.c
         M /branches/5.1/dict/dict0mem.c
         M /branches/5.1/handler/ha_innodb.cc
         M /branches/5.1/handler/ha_innodb.h
         M /branches/5.1/include/dict0dict.h
         M /branches/5.1/include/dict0mem.h
         M /branches/5.1/row/row0mysql.c
      
      branches/5.1: Backport changes from branches/zip r2725
      
      Simplify the autoinc initialization code. This removes the
      non-determinism related to reading the table's autoinc value for the first
      time. This change has also reduced the sizeof dict_table_t by sizeof(ibool)
      bytes because we don't need the dict_table_t::autoinc_inited field anymore.
      
      Bug#39830 Table autoinc value not updated on first insert.
      Bug#35498 Cannot get table test/table1 auto-inccounter value in ::info
      Bug#36411 Failed to read auto-increment value from storage engine" in 5.1.24 auto-inc
      rb://16
      
      
      ------------------------------------------------------------------------
    f3c6e06e
dict0mem.c 7.14 KB