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
e0b9e354
Commit
e0b9e354
authored
Jul 14, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fixes.
parent
7b507e8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
tests/mysql_client_test.c
tests/mysql_client_test.c
+6
-4
No files found.
tests/mysql_client_test.c
View file @
e0b9e354
...
@@ -13616,7 +13616,6 @@ static void test_bug11656()
...
@@ -13616,7 +13616,6 @@ static void test_bug11656()
static
void
test_bug10214
()
static
void
test_bug10214
()
{
{
MYSQL_RES
*
res
;
int
len
;
int
len
;
char
out
[
8
];
char
out
[
8
];
...
@@ -13639,18 +13638,21 @@ static void test_bug10214()
...
@@ -13639,18 +13638,21 @@ static void test_bug10214()
static
void
test_client_character_set
()
static
void
test_client_character_set
()
{
{
MY_CHARSET_INFO
cs
;
MY_CHARSET_INFO
cs
;
c
onst
c
har
*
csname
;
char
*
csname
;
int
rc
;
int
rc
;
myheader
(
"test_client_character_set"
);
myheader
(
"test_client_character_set"
);
csname
=
"utf8"
;
csname
=
(
char
*
)
"utf8"
;
rc
=
mysql_set_character_set
(
mysql
,
csname
);
rc
=
mysql_set_character_set
(
mysql
,
csname
);
DIE_UNLESS
(
rc
==
0
);
DIE_UNLESS
(
rc
==
0
);
mysql_get_character_set_info
(
mysql
,
&
cs
);
mysql_get_character_set_info
(
mysql
,
&
cs
);
DIE_UNLESS
(
!
strcmp
(
cs
.
csname
,
"utf8"
));
DIE_UNLESS
(
!
strcmp
(
cs
.
csname
,
"utf8"
));
DIE_UNLESS
(
!
strcmp
(
cs
.
name
,
"utf8_general_ci"
));
DIE_UNLESS
(
!
strcmp
(
cs
.
name
,
"utf8_general_ci"
));
/* Restore the default character set */
rc
=
mysql_query
(
mysql
,
"set names default"
);
myquery
(
rc
);
}
}
...
...
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