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
33ca68a2
Commit
33ca68a2
authored
Dec 19, 2003
by
ram@gw.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MYSQL_UNIVERSAL_CLIENT_CHARSET definition has been added.
parent
3ddbc987
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
client/mysqldump.c
client/mysqldump.c
+1
-5
include/my_global.h
include/my_global.h
+6
-0
No files found.
client/mysqldump.c
View file @
33ca68a2
...
@@ -89,11 +89,7 @@ static char insert_pat[12 * 1024],*opt_password=0,*current_user=0,
...
@@ -89,11 +89,7 @@ static char insert_pat[12 * 1024],*opt_password=0,*current_user=0,
*
where
=
0
,
*
where
=
0
,
*
opt_compatible_mode_str
=
0
,
*
opt_compatible_mode_str
=
0
,
*
err_ptr
=
0
;
*
err_ptr
=
0
;
#ifdef HAVE_CHARSET_utf8
static
char
*
default_charset
=
(
char
*
)
MYSQL_UNIVERSAL_CLIENT_CHARSET
;
static
char
*
default_charset
=
(
char
*
)
"utf8"
;
#else
static
char
*
default_charset
=
(
char
*
)
MYSQL_DEFAULT_CHARSET_NAME
;
#endif
static
ulong
opt_compatible_mode
=
0
;
static
ulong
opt_compatible_mode
=
0
;
static
uint
opt_mysql_port
=
0
,
err_len
=
0
;
static
uint
opt_mysql_port
=
0
,
err_len
=
0
;
static
my_string
opt_mysql_unix_port
=
0
;
static
my_string
opt_mysql_unix_port
=
0
;
...
...
include/my_global.h
View file @
33ca68a2
...
@@ -1144,4 +1144,10 @@ typedef union {
...
@@ -1144,4 +1144,10 @@ typedef union {
#endif
#endif
#endif
#endif
#ifdef HAVE_CHARSET_utf8
#define MYSQL_UNIVERSAL_CLIENT_CHARSET "utf8"
#else
#define MYSQL_UNIVERSAL_CLIENT_CHARSET MYSQL_DEFAULT_CHARSET_NAME
#endif
#endif
/* my_global_h */
#endif
/* my_global_h */
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