Commit b5d8c6bd authored by bar@bar.myoffice.izhnet.ru's avatar bar@bar.myoffice.izhnet.ru

Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl

into  mysql.com:/home/bar/mysql-work/mysql-5.0.b29484
parents b3926ab5 754b555c
...@@ -193,11 +193,13 @@ select hex(convert(_big5 0xC84041 using ucs2)); ...@@ -193,11 +193,13 @@ select hex(convert(_big5 0xC84041 using ucs2));
hex(convert(_big5 0xC84041 using ucs2)) hex(convert(_big5 0xC84041 using ucs2))
003F0041 003F0041
End of 4.1 tests End of 4.1 tests
set names big5;
create table t1 (a blob); create table t1 (a blob);
insert into t1 values (0xEE00); insert into t1 values (0xEE00);
select * into outfile 'test/t1.txt' from t1;
delete from t1; delete from t1;
select hex(load_file('test/t1.txt')); select hex(load_file('MYSQLTEST_VARDIR/master-data/test/t1.txt'));;
hex(load_file('test/t1.txt')) hex(load_file('MYSQLTEST_VARDIR/master-data/test/t1.txt'))
5CEE5C300A 5CEE5C300A
load data infile 't1.txt' into table t1; load data infile 't1.txt' into table t1;
select hex(a) from t1; select hex(a) from t1;
......
...@@ -68,15 +68,16 @@ select hex(convert(_big5 0xC84041 using ucs2)); ...@@ -68,15 +68,16 @@ select hex(convert(_big5 0xC84041 using ucs2));
# #
# Bug#26711 "binary content 0x00 sometimes becomes 0x5C 0x00 after dump/load" # Bug#26711 "binary content 0x00 sometimes becomes 0x5C 0x00 after dump/load"
# #
set names big5;
create table t1 (a blob); create table t1 (a blob);
insert into t1 values (0xEE00); insert into t1 values (0xEE00);
--exec $MYSQL_DUMP --default-character-set=big5 -T $MYSQLTEST_VARDIR/master-data/test test t1 select * into outfile 'test/t1.txt' from t1;
delete from t1; delete from t1;
select hex(load_file('test/t1.txt')); --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--eval select hex(load_file('$MYSQLTEST_VARDIR/master-data/test/t1.txt'));
load data infile 't1.txt' into table t1; load data infile 't1.txt' into table t1;
select hex(a) from t1; select hex(a) from t1;
--exec rm $MYSQLTEST_VARDIR/master-data/test/t1.txt --exec rm $MYSQLTEST_VARDIR/master-data/test/t1.txt
--exec rm $MYSQLTEST_VARDIR/master-data/test/t1.sql
drop table t1; drop table t1;
--echo End of 5.0 tests --echo End of 5.0 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment