mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Test used a charset not available on many platforms
This commit is contained in:
@ -190,8 +190,4 @@ select HEX(f) from t4;
|
|||||||
HEX(f)
|
HEX(f)
|
||||||
835C
|
835C
|
||||||
flush logs;
|
flush logs;
|
||||||
select * from t5 /* must be (1),(1) */;
|
drop table t1, t2, t03, t04, t3, t4;
|
||||||
a
|
|
||||||
1
|
|
||||||
1
|
|
||||||
drop table t1, t2, t03, t04, t3, t4, t5;
|
|
||||||
|
@ -123,16 +123,21 @@ select HEX(f) from t04;
|
|||||||
select HEX(f) from t4;
|
select HEX(f) from t4;
|
||||||
|
|
||||||
#
|
#
|
||||||
#14157: utf8 encoding in binlog without set character_set_client
|
# BUG#14157: utf8 encoding in binlog without set character_set_client
|
||||||
|
#
|
||||||
|
# BUG:
|
||||||
|
# This test only works on the MySQL-internal rpl machines.
|
||||||
|
# Needs to be fixed. Problem is that koi8r is not installed
|
||||||
|
# on many machines.
|
||||||
#
|
#
|
||||||
flush logs;
|
flush logs;
|
||||||
--exec $MYSQL --character-sets-dir=../sql/share/charsets/ --default-character-set=koi8r test -e 'create table if not exists t5 (a int); set names koi8r; create temporary table `<60><><EFBFBD><EFBFBD>` (a int); insert into `<60><><EFBFBD><EFBFBD>` values (1); insert into t5 select * from `<60><><EFBFBD><EFBFBD>`'
|
# --exec $MYSQL --character-sets-dir=../sql/share/charsets/ --default-character-set=koi8r test -e 'create table if not exists t5 (a int); set names koi8r; create temporary table `<60><><EFBFBD><EFBFBD>` (a int); insert into `<60><><EFBFBD><EFBFBD>` values (1); insert into t5 select * from `<60><><EFBFBD><EFBFBD>`'
|
||||||
|
|
||||||
# resulted log is client charset insensitive (latin1 not koi8r) as it must be
|
# resulted log is client charset insensitive (latin1 not koi8r) as it must be
|
||||||
--exec $MYSQL_BINLOG --short-form $MYSQL_TEST_DIR/var/log/master-bin.000006 | $MYSQL --default-character-set=latin1
|
# --exec $MYSQL_BINLOG --short-form $MYSQL_TEST_DIR/var/log/master-bin.000006 | $MYSQL --default-character-set=latin1
|
||||||
select * from t5 /* must be (1),(1) */;
|
#select * from t5 /* must be (1),(1) */;
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
drop table t1, t2, t03, t04, t3, t4, t5;
|
drop table t1, t2, t03, t04, t3, t4;
|
||||||
|
|
||||||
# End of 5.0 tests
|
# End of 5.0 tests
|
||||||
|
Reference in New Issue
Block a user