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
74e43e8c
Commit
74e43e8c
authored
Jul 12, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes after Bar's review: renamed CHARACTER_SET to MY_CHARSET_INFO
parent
c5e573da
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 @
74e43e8c
...
...
@@ -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 @
74e43e8c
...
...
@@ -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 @
74e43e8c
...
...
@@ -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