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
e12ad391
Commit
e12ad391
authored
Mar 27, 2007
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for 4.1 to be as in 5.0 and above.
parent
90ab0fd2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
client/mysql.cc
client/mysql.cc
+1
-1
client/mysqldump.c
client/mysqldump.c
+1
-1
include/my_sys.h
include/my_sys.h
+1
-1
mysys/my_static.c
mysys/my_static.c
+2
-1
No files found.
client/mysql.cc
View file @
e12ad391
...
@@ -440,7 +440,7 @@ int main(int argc,char *argv[])
...
@@ -440,7 +440,7 @@ int main(int argc,char *argv[])
put_info
((
char
*
)
glob_buffer
.
ptr
(),
INFO_INFO
);
put_info
((
char
*
)
glob_buffer
.
ptr
(),
INFO_INFO
);
#ifdef HAVE_READLINE
#ifdef HAVE_READLINE
initialize_readline
(
my_progname
);
initialize_readline
(
(
char
*
)
my_progname
);
if
(
!
status
.
batch
&&
!
quick
&&
!
opt_html
&&
!
opt_xml
)
if
(
!
status
.
batch
&&
!
quick
&&
!
opt_html
&&
!
opt_xml
)
{
{
/* read-history from file, default ~/.mysql_history*/
/* read-history from file, default ~/.mysql_history*/
...
...
client/mysqldump.c
View file @
e12ad391
...
@@ -2654,7 +2654,7 @@ int main(int argc, char **argv)
...
@@ -2654,7 +2654,7 @@ int main(int argc, char **argv)
default_charset
=
(
char
*
)
mysql_universal_client_charset
;
default_charset
=
(
char
*
)
mysql_universal_client_charset
;
bzero
((
char
*
)
&
ignore_table
,
sizeof
(
ignore_table
));
bzero
((
char
*
)
&
ignore_table
,
sizeof
(
ignore_table
));
MY_INIT
(
argv
[
0
]
);
MY_INIT
(
"mysqldump"
);
if
(
get_options
(
&
argc
,
&
argv
))
if
(
get_options
(
&
argc
,
&
argv
))
{
{
my_end
(
0
);
my_end
(
0
);
...
...
include/my_sys.h
View file @
e12ad391
...
@@ -203,7 +203,7 @@ extern int errno; /* declare errno */
...
@@ -203,7 +203,7 @@ extern int errno; /* declare errno */
extern
const
char
**
NEAR
my_errmsg
[];
extern
const
char
**
NEAR
my_errmsg
[];
extern
char
NEAR
errbuff
[
NRERRBUFFS
][
ERRMSGSIZE
];
extern
char
NEAR
errbuff
[
NRERRBUFFS
][
ERRMSGSIZE
];
extern
char
*
home_dir
;
/* Home directory for user */
extern
char
*
home_dir
;
/* Home directory for user */
extern
char
*
my_progname
;
/* program-name (printed in errors) */
extern
c
onst
c
har
*
my_progname
;
/* program-name (printed in errors) */
extern
char
NEAR
curr_dir
[];
/* Current directory for user */
extern
char
NEAR
curr_dir
[];
/* Current directory for user */
extern
int
(
*
error_handler_hook
)(
uint
my_err
,
const
char
*
str
,
myf
MyFlags
);
extern
int
(
*
error_handler_hook
)(
uint
my_err
,
const
char
*
str
,
myf
MyFlags
);
extern
int
(
*
fatal_error_handler_hook
)(
uint
my_err
,
const
char
*
str
,
extern
int
(
*
fatal_error_handler_hook
)(
uint
my_err
,
const
char
*
str
,
...
...
mysys/my_static.c
View file @
e12ad391
...
@@ -26,7 +26,8 @@
...
@@ -26,7 +26,8 @@
#endif
#endif
/* from my_init */
/* from my_init */
my_string
home_dir
=
0
,
my_progname
=
0
;
my_string
home_dir
=
0
;
const
char
*
my_progname
=
0
;
char
NEAR
curr_dir
[
FN_REFLEN
]
=
{
0
},
char
NEAR
curr_dir
[
FN_REFLEN
]
=
{
0
},
NEAR
home_dir_buff
[
FN_REFLEN
]
=
{
0
};
NEAR
home_dir_buff
[
FN_REFLEN
]
=
{
0
};
ulong
my_stream_opened
=
0
,
my_file_opened
=
0
,
my_tmp_file_created
=
0
;
ulong
my_stream_opened
=
0
,
my_file_opened
=
0
,
my_tmp_file_created
=
0
;
...
...
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