summaryrefslogtreecommitdiff
path: root/mysys/my_alloc.c
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-08-11 18:18:34 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-08-11 18:18:34 +0500
commit0960c3eb26861238d9102845d370f3eb66d91290 (patch)
tree3818f3663ab056711a4b873e3abb17725b1cb138 /mysys/my_alloc.c
parentf3f6e5e9b2ecfef9bf6c5e7558af2481e30385ad (diff)
downloadmariadb-git-0960c3eb26861238d9102845d370f3eb66d91290.tar.gz
Fix: create table t1 (a char(10) character set cp1251) SELECT _koi8r'blabla' as a
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.
Diffstat (limited to 'mysys/my_alloc.c')
0 files changed, 0 insertions, 0 deletions