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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
9db357d4
Commit
9db357d4
authored
Apr 07, 2016
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding more option combinations into ctype_gbk_export_import.
parent
d383a168
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
1 deletion
+64
-1
mysql-test/r/ctype_gbk_export_import.result
mysql-test/r/ctype_gbk_export_import.result
+63
-0
mysql-test/t/ctype_gbk_export_import.test
mysql-test/t/ctype_gbk_export_import.test
+1
-1
No files found.
mysql-test/r/ctype_gbk_export_import.result
View file @
9db357d4
...
...
@@ -603,6 +603,27 @@ file EE5C-EE5C5C
a 3F5C BAD-TEXT
b EE5C0A BAD-BLOB
Locale: zh_CN.gbk
OUTFILE: --default-character-set=binary
INFILE: --default-character-set=binary
file EE5C-EE5C5C
a EE5C
b EE5C0A BAD-BLOB
Locale: zh_CN.gbk
OUTFILE: --default-character-set=binary
INFILE: --default-character-set=binary CHARACTER SET gbk
file EE5C-EE5C5C
a EE5C
b EE5C0A BAD-BLOB
Locale: zh_CN.gbk
OUTFILE: --default-character-set=binary
INFILE: --default-character-set=binary CHARACTER SET utf8
file EE5C-EE5C5C
a 3F5C BAD-TEXT
b EE5C0A BAD-BLOB
Locale: zh_CN.gbk
OUTFILE: --default-character-set=binary
INFILE: --default-character-set=gbk
...
...
@@ -666,6 +687,27 @@ file EE5C-EE5C
a 3F5C BAD-TEXT
b EE5C
Locale: zh_CN.gbk
OUTFILE: --default-character-set=gbk
INFILE: --default-character-set=binary
file EE5C-EE5C
a EE5C
b EE5C
Locale: zh_CN.gbk
OUTFILE: --default-character-set=gbk
INFILE: --default-character-set=binary CHARACTER SET gbk
file EE5C-EE5C
a EE5C
b EE5C
Locale: zh_CN.gbk
OUTFILE: --default-character-set=gbk
INFILE: --default-character-set=binary CHARACTER SET utf8
file EE5C-EE5C
a 3F5C BAD-TEXT
b EE5C
Locale: zh_CN.gbk
OUTFILE: --default-character-set=gbk
INFILE: --default-character-set=gbk
...
...
@@ -729,6 +771,27 @@ file E9A0AB-3F5C5C
a EE5C
b 3F5C BAD-BLOB
Locale: zh_CN.gbk
OUTFILE: --default-character-set=utf8
INFILE: --default-character-set=binary
file E9A0AB-3F5C5C
a E9A03F BAD-TEXT
b 3F5C BAD-BLOB
Locale: zh_CN.gbk
OUTFILE: --default-character-set=utf8
INFILE: --default-character-set=binary CHARACTER SET gbk
file E9A0AB-3F5C5C
a E9A03F BAD-TEXT
b 3F5C BAD-BLOB
Locale: zh_CN.gbk
OUTFILE: --default-character-set=utf8
INFILE: --default-character-set=binary CHARACTER SET utf8
file E9A0AB-3F5C5C
a EE5C
b 3F5C BAD-BLOB
Locale: zh_CN.gbk
OUTFILE: --default-character-set=utf8
INFILE: --default-character-set=gbk
...
...
mysql-test/t/ctype_gbk_export_import.test
View file @
9db357d4
...
...
@@ -75,7 +75,7 @@ my $dir= $ENV{'MYSQL_TMP_DIR'};
open
(
my
$FILE
,
'>'
,
"
$dir
/tmpgbk.inc"
)
or
die
"open(): $!"
;
for
$LOCALE
(
"zh_CN.gbk"
)
{
for
$DUMP_OPTIONS
(
"--default-character-set=binary"
,
"--default-character-set=gbk"
,
"--default-character-set=utf8"
)
{
for
$RESTORE_OPTIONS
(
"--default-character-set=auto"
,
"--default-character-set=gbk"
,
"--default-character-set=utf8"
)
{
for
$RESTORE_OPTIONS
(
"--default-character-set=auto"
,
"--default-character-set=binary"
,
"--default-character-set=gbk"
,
"--default-character-set=utf8"
)
{
for
$RESTORE_CHARSET_CLAUSE
(
""
,
"CHARACTER SET gbk"
,
"CHARACTER SET utf8"
)
{
print
$FILE
<<
END
--
echo
...
...
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