Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
224137cc
Commit
224137cc
authored
Jul 04, 2007
by
bar@bar.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b29484
into mysql.com:/home/bar/mysql-work/mysql-5.1.b29484
parents
c9addb76
754b555c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
mysql-test/r/ctype_big5.result
mysql-test/r/ctype_big5.result
+4
-2
mysql-test/t/ctype_big5.test
mysql-test/t/ctype_big5.test
+4
-3
No files found.
mysql-test/r/ctype_big5.result
View file @
224137cc
...
@@ -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;
...
...
mysql-test/t/ctype_big5.test
View file @
224137cc
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment