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
61c5d973
Commit
61c5d973
authored
Aug 03, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove double error printout in mysqldump
parent
74394840
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
client/mysqldump.c
client/mysqldump.c
+0
-2
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+1
-1
No files found.
client/mysqldump.c
View file @
61c5d973
...
@@ -2994,8 +2994,6 @@ static int do_show_master_status(MYSQL *mysql_con)
...
@@ -2994,8 +2994,6 @@ static int do_show_master_status(MYSQL *mysql_con)
(
opt_master_data
==
MYSQL_OPT_MASTER_DATA_COMMENTED_SQL
)
?
"-- "
:
""
;
(
opt_master_data
==
MYSQL_OPT_MASTER_DATA_COMMENTED_SQL
)
?
"-- "
:
""
;
if
(
mysql_query_with_error_report
(
mysql_con
,
&
master
,
"SHOW MASTER STATUS"
))
if
(
mysql_query_with_error_report
(
mysql_con
,
&
master
,
"SHOW MASTER STATUS"
))
{
{
my_printf_error
(
0
,
"Error: Couldn't execute 'SHOW MASTER STATUS': %s"
,
MYF
(
0
),
mysql_error
(
mysql_con
));
return
1
;
return
1
;
}
}
else
else
...
...
mysql-test/r/mysqldump.result
View file @
61c5d973
...
@@ -2884,7 +2884,7 @@ grant RELOAD on *.* to mysqltest_1@localhost;
...
@@ -2884,7 +2884,7 @@ grant RELOAD on *.* to mysqltest_1@localhost;
mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation (1227)
mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation (1227)
mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation (1227)
mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation (1227)
grant REPLICATION CLIENT on *.* to mysqltest_1@localhost;
grant REPLICATION CLIENT on *.* to mysqltest_1@localhost;
CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000003', MASTER_LOG_POS=
3784
;
CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000003', MASTER_LOG_POS=
9227
;
CREATE TABLE `t1` (
CREATE TABLE `t1` (
`a` int(11) default NULL,
`a` int(11) default NULL,
`b` varchar(34) default NULL
`b` varchar(34) default NULL
...
...
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