• unknown's avatar
    Fix: create table t1 (a char(10) character set cp1251) SELECT _koi8r'blabla' as a · bddc6175
    unknown authored
    The above query created a field of koi8r charset, not cp1251
    
    Change:
    CREATE TABLE a (a CHAR(1) CHARACTER SET utf8) 
    Length now means character length, not byte length.
    The above creates a field that guarantees can store a multibyte value
    1 character long. For utf8 the above creates a field that can store
    3 bytes.
    
    bddc6175
unireg.h 6.19 KB