Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/r/ |
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/rpl/r/rpl_loaddata_charset.result |
include/master-slave.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. [connection master] create table t1 (a varchar(10) character set utf8); load data infile '../../std_data/loaddata6.dat' into table t1; set @@character_set_database=koi8r; Warnings: Warning 1681 Updating 'character_set_database' is deprecated. It will be made read-only in a future release. load data infile '../../std_data/loaddata6.dat' into table t1; set @@character_set_database=DEFAULT; Warnings: Warning 1681 Updating 'character_set_database' is deprecated. It will be made read-only in a future release. load data infile '../../std_data/loaddata6.dat' into table t1; load data infile '../../std_data/loaddata6.dat' into table t1; load data infile '../../std_data/loaddata6.dat' into table t1; set @@character_set_database=koi8r; Warnings: Warning 1681 Updating 'character_set_database' is deprecated. It will be made read-only in a future release. load data infile '../../std_data/loaddata6.dat' into table t1; set @@character_set_database=DEFAULT; Warnings: Warning 1681 Updating 'character_set_database' is deprecated. It will be made read-only in a future release. load data infile '../../std_data/loaddata6.dat' into table t1 character set koi8r; select hex(a) from t1; hex(a) C3BF D0AA C3BF C3BF C3BF D0AA D0AA include/sync_slave_sql_with_master.inc select hex(a) from t1; hex(a) C3BF D0AA C3BF C3BF C3BF D0AA D0AA drop table t1; include/sync_slave_sql_with_master.inc -------------test bug#45516------------------ DROP DATABASE IF EXISTS mysqltest; CREATE DATABASE mysqltest CHARSET UTF8; USE mysqltest; CREATE TABLE t (cl varchar(100)) CHARSET UTF8; LOAD DATA LOCAL INFILE './std_data/loaddata_utf8.dat' INTO TABLE t FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; ----------content on master---------- SELECT hex(cl) FROM t; hex(cl) E4B880E4BA8CE4B889 E59B9BE4BA94E585AD E4B883E585ABE4B99D E4B880E4BA8CE4B889 E59B9BE4BA94E585AD E4B883E585ABE4B99D0A ----------content on slave---------- USE mysqltest; SELECT hex(cl) FROM t; hex(cl) E4B880E4BA8CE4B889 E59B9BE4BA94E585AD E4B883E585ABE4B99D E4B880E4BA8CE4B889 E59B9BE4BA94E585AD E4B883E585ABE4B99D0A DROP DATABASE mysqltest; DROP DATABASE IF EXISTS mysqltest; CREATE DATABASE mysqltest CHARSET UTF8; USE mysqltest; CREATE TABLE t (cl varchar(100)) CHARSET UTF8; LOAD DATA INFILE '../../std_data/loaddata_utf8.dat' INTO TABLE t FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; ----------content on master---------- SELECT hex(cl) FROM t; hex(cl) E4B880E4BA8CE4B889 E59B9BE4BA94E585AD E4B883E585ABE4B99D E4B880E4BA8CE4B889 E59B9BE4BA94E585AD E4B883E585ABE4B99D0A ----------content on slave---------- USE mysqltest; SELECT hex(cl) FROM t; hex(cl) E4B880E4BA8CE4B889 E59B9BE4BA94E585AD E4B883E585ABE4B99D E4B880E4BA8CE4B889 E59B9BE4BA94E585AD E4B883E585ABE4B99D0A DROP DATABASE mysqltest; include/rpl_end.inc