diff options
author | unknown <serg@serg.mylan> | 2004-09-07 16:56:31 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-09-07 16:56:31 +0200 |
commit | 49d90b09f558b30adf1578dfcaf7d094e51609bd (patch) | |
tree | 591d9095c5fdaf5a6a4b5e8aa59d0dff5a84c6aa /mysql-test | |
parent | 77a86154880e0e4b8528f2363317c480dff62fe0 (diff) | |
download | mariadb-git-49d90b09f558b30adf1578dfcaf7d094e51609bd.tar.gz |
after merge fixes
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/rpl_set_charset.result | 7 | ||||
-rw-r--r-- | mysql-test/t/rpl_set_charset.test | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/mysql-test/r/rpl_set_charset.result b/mysql-test/r/rpl_set_charset.result index 7297d80865b..fd9c99d35d8 100644 --- a/mysql-test/r/rpl_set_charset.result +++ b/mysql-test/r/rpl_set_charset.result @@ -1,9 +1,9 @@ -slave stop; +stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; -slave start; +start slave; drop database if exists mysqltest1; create database mysqltest1 /*!40100 character set latin2 */; use mysqltest1; @@ -31,9 +31,6 @@ C0C1C2C3C4C5C6C7C8C9CACBCCCDCECF C0 D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF D0 E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEF E0 F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF F0 -show binlog events from 1979; -Log_name Pos Event_type Server_id Orig_log_pos Info -master-bin.001 1979 Query 1 1979 use `mysqltest1`; SET CHARACTER SET DEFAULT use mysqltest1; select "--- on slave ---"; --- on slave --- diff --git a/mysql-test/t/rpl_set_charset.test b/mysql-test/t/rpl_set_charset.test index dcfc11bf25e..1c0bd62fa55 100644 --- a/mysql-test/t/rpl_set_charset.test +++ b/mysql-test/t/rpl_set_charset.test @@ -20,13 +20,6 @@ INSERT INTO t1 VALUES ('àáâãäåæçèéêëìíîï','E0'); INSERT INTO t1 VALUES ('ðñòóôõö÷øùúûüýþÿ','F0'); select "--- on master ---"; select hex(a),b from t1 order by b; -# It's complicated to verify that the charset is reset to default in -# the binlog after each query, except by checking the binlog. When you -# merge this into 4.1/5.0, the 1979 will have to be changed; all you have -# to do is read the var/log/master-bin.0*01 with mysqlbinlog, verify -# that a SET CHARACTER SET DEFAULT is just after the last INSERT, and -# replace 1979 by its position (the "# at" line above the SET). -show binlog events from 1979; save_master_pos; connection slave; sync_with_master; |