Current Path : /home/usr.opt/mysql57/mysql-test/suite/funcs_2/include/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/funcs_2/include/check_charset_utf8.inc |
--disable_warnings DROP TABLE IF EXISTS test.t1; DROP DATABASE test; eval CREATE DATABASE test CHARACTER SET $cset; USE test; --enable_warnings #eval SET NAMES $cset; eval CREATE TABLE test.t1 (a CHAR(4) CHARACTER SET $cset COLLATE $coll) ENGINE=$engine_type CHARACTER SET $cset COLLATE $coll; --replace_column 3 # 4 # 5 # 6 # 7 # 8 # 9 # 10 # 11 # 12 # 13 # 14 # 16 # 17 # 18 # SHOW TABLE STATUS LIKE 't1'; --replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR eval LOAD DATA INFILE '$MYSQL_TEST_DIR/suite/funcs_2/data/charset_utf8.txt' INTO TABLE test.t1; DELETE FROM test.t1 WHERE CHAR_LENGTH(a) <> 1; SELECT HEX(ORD(a)) AS a_ord, CHAR_LENGTH(a) AS a_len FROM test.t1 ORDER BY a, ORD(a); --disable_warnings DROP TABLE IF EXISTS test.t1; --enable_warnings