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
eeaf1fa6
Commit
eeaf1fa6
authored
Apr 18, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
parents
00d80b54
453b6180
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
client/mysql_upgrade.c
client/mysql_upgrade.c
+3
-3
client/mysqltest.c
client/mysqltest.c
+1
-1
No files found.
client/mysql_upgrade.c
View file @
eeaf1fa6
...
@@ -269,8 +269,8 @@ static void create_defaults_file(void)
...
@@ -269,8 +269,8 @@ static void create_defaults_file(void)
Create the option that should be added to
Create the option that should be added to
tools in order to use this file
tools in order to use this file
*/
*/
snprintf
(
defaults_file_option
,
sizeof
(
defaults_file_option
),
my_
snprintf
(
defaults_file_option
,
sizeof
(
defaults_file_option
),
"--defaults-file=%s"
,
defaults_file_path
);
"--defaults-file=%s"
,
defaults_file_path
);
DBUG_PRINT
(
"info"
,
(
"defaults_file_option: %s"
,
defaults_file_option
));
DBUG_PRINT
(
"info"
,
(
"defaults_file_option: %s"
,
defaults_file_option
));
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
...
@@ -403,7 +403,7 @@ static void find_tool(char *tool_path, const char *tool_name)
...
@@ -403,7 +403,7 @@ static void find_tool(char *tool_path, const char *tool_name)
/* 2. my_progname contains relative path, prepend wd */
/* 2. my_progname contains relative path, prepend wd */
char
buf
[
FN_REFLEN
];
char
buf
[
FN_REFLEN
];
my_getwd
(
buf
,
FN_REFLEN
,
MYF
(
0
));
my_getwd
(
buf
,
FN_REFLEN
,
MYF
(
0
));
snprintf
(
path
,
FN_REFLEN
,
"%s%s"
,
buf
,
my_progname
);
my_
snprintf
(
path
,
FN_REFLEN
,
"%s%s"
,
buf
,
my_progname
);
}
}
else
else
{
{
...
...
client/mysqltest.c
View file @
eeaf1fa6
...
@@ -1339,7 +1339,7 @@ void var_set_string(const char* name, const char* value)
...
@@ -1339,7 +1339,7 @@ void var_set_string(const char* name, const char* value)
void
var_set_int
(
const
char
*
name
,
int
value
)
void
var_set_int
(
const
char
*
name
,
int
value
)
{
{
char
buf
[
21
];
char
buf
[
21
];
snprintf
(
buf
,
sizeof
(
buf
),
"%d"
,
value
);
my_
snprintf
(
buf
,
sizeof
(
buf
),
"%d"
,
value
);
var_set_string
(
name
,
buf
);
var_set_string
(
name
,
buf
);
}
}
...
...
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