• unknown's avatar
    Fixed bug #20108. · 0f50a8a7
    unknown authored
    Any default value for a enum fields over UCS2 charsets was corrupted
    when we put it into the frm file, as it had been overwritten by its
    HEX representation.
    To fix it now we save a copy of structure that represents the enum
    type and when putting the default values we use this copy. 
    
    
    mysql-test/r/ctype_ucs.result:
      Added a test case for bug #20108.
    mysql-test/t/ctype_ucs.test:
      Added a test case for bug #20108.
    0f50a8a7
field.h 49.4 KB