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
f9c24561
Commit
f9c24561
authored
Aug 27, 2007
by
msvensson@pilot.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#29805 mysql_upgrade test fail if ~/.my.cnf contain a password
- "mysql" and "mysqlcheck" should not read defaults file
parent
a91bd852
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
client/mysql_upgrade.c
client/mysql_upgrade.c
+2
-0
No files found.
client/mysql_upgrade.c
View file @
f9c24561
...
@@ -455,6 +455,7 @@ static int run_query(const char *query, DYNAMIC_STRING *ds_res,
...
@@ -455,6 +455,7 @@ static int run_query(const char *query, DYNAMIC_STRING *ds_res,
ret
=
run_tool
(
mysql_path
,
ret
=
run_tool
(
mysql_path
,
ds_res
,
ds_res
,
"--no-defaults"
,
ds_args
.
str
,
ds_args
.
str
,
"--database=mysql"
,
"--database=mysql"
,
"--batch"
,
/* Turns off pager etc. */
"--batch"
,
/* Turns off pager etc. */
...
@@ -617,6 +618,7 @@ static int run_mysqlcheck_upgrade(void)
...
@@ -617,6 +618,7 @@ static int run_mysqlcheck_upgrade(void)
verbose
(
"Running 'mysqlcheck'..."
);
verbose
(
"Running 'mysqlcheck'..."
);
return
run_tool
(
mysqlcheck_path
,
return
run_tool
(
mysqlcheck_path
,
NULL
,
/* Send output from mysqlcheck directly to screen */
NULL
,
/* Send output from mysqlcheck directly to screen */
"--no-defaults"
,
ds_args
.
str
,
ds_args
.
str
,
"--check-upgrade"
,
"--check-upgrade"
,
"--all-databases"
,
"--all-databases"
,
...
...
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