• unknown's avatar
    InnoDB: Speed up comparison functions by making · fea29080
    unknown authored
    DATA_MYSQL_LATIN1_SWEDISH_CHARSET_COLL a constant.
    
    
    innobase/data/data0type.c:
      Remove data_mysql_latin1_swedish_charset_coll.
    innobase/include/data0type.h:
      Replace variable data_mysql_latin1_swedish_charset_coll
      with constant DATA_MYSQL_LATIN1_SWEDISH_CHARSET_COLL.
    innobase/rem/rem0cmp.c:
      Replace variable data_mysql_latin1_swedish_charset_coll
      with constant DATA_MYSQL_LATIN1_SWEDISH_CHARSET_COLL.
    sql/ha_innodb.cc:
      Eliminate variable data_mysql_latin1_swedish_charset_coll.
      Add an assertion about DATA_MYSQL_LATIN1_SWEDISH_CHARSET_COLL.
    fea29080
data0type.h 15.6 KB