• unknown's avatar
    Remove some redundant or unused code from InnoDB (feedback from · 064f53a5
    unknown authored
    Marko after applying latest snapshot).
    
    
    storage/innobase/handler/ha_innodb.cc:
      Remove redundant assignment to thd_to_trx(thd); trx is
      declared as a reference to thd_to_trx(thd) at the top
      of the function, so this assignment isn't useful.
    storage/innobase/include/trx0trx.h:
      Remove two unused members from struct trx_struct.  allow_duplicates
      and replace_duplicates are not used; a single duplicates member is
      used instead to represent both flags.
    064f53a5
ha_innodb.cc 228 KB