mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Remove double error printout in mysqldump
This commit is contained in:
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user