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
55d41325
Commit
55d41325
authored
Jul 12, 2005
by
georg@lmy002.wdf.sap.corp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes after Bar's review: renamed CHARACTER_SET to MY_CHARSET_INFO
parent
ceba4ee9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
include/mysql.h
include/mysql.h
+2
-2
libmysql/libmysql.c
libmysql/libmysql.c
+1
-1
tests/mysql_client_test.c
tests/mysql_client_test.c
+1
-1
No files found.
include/mysql.h
View file @
55d41325
...
...
@@ -228,7 +228,7 @@ typedef struct character_set
const
char
*
dir
;
/* character set directory */
unsigned
int
mbminlen
;
/* min. length for multibyte strings */
unsigned
int
mbmaxlen
;
/* max. length for multibyte strings */
}
CHARACTER_SET
;
}
MY_CHARSET_INFO
;
struct
st_mysql_methods
;
...
...
@@ -431,7 +431,7 @@ my_bool STDCALL mysql_slave_query(MYSQL *mysql, const char *q,
my_bool
STDCALL
mysql_slave_send_query
(
MYSQL
*
mysql
,
const
char
*
q
,
unsigned
long
length
);
void
STDCALL
mysql_get_character_set_info
(
MYSQL
*
mysql
,
CHARACTER_SET
*
charset
);
MY_CHARSET_INFO
*
charset
);
/* local infile support */
...
...
libmysql/libmysql.c
View file @
55d41325
...
...
@@ -1495,7 +1495,7 @@ const char * STDCALL mysql_character_set_name(MYSQL *mysql)
return
mysql
->
charset
->
csname
;
}
void
STDCALL
mysql_get_character_set_info
(
MYSQL
*
mysql
,
CHARACTER_SET
*
csinfo
)
void
STDCALL
mysql_get_character_set_info
(
MYSQL
*
mysql
,
MY_CHARSET_INFO
*
csinfo
)
{
csinfo
->
number
=
mysql
->
charset
->
number
;
csinfo
->
state
=
mysql
->
charset
->
state
;
...
...
tests/mysql_client_test.c
View file @
55d41325
...
...
@@ -13628,7 +13628,7 @@ static void test_bug10214()
static
void
test_client_character_set
()
{
CHARACTER_SET
cs
;
MY_CHARSET_INFO
cs
;
const
char
*
csname
;
int
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