MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:He Zhenxing Date:October 2 2009 8:50am
Subject:bzr commit into mysql-5.1-rep+2 branch (zhenxing.he:3122) Bug#34227
View as plain text  
#At file:///media/sdb2/hezx/work/mysql/bzrwork/backport/5.1-rep%2B2/ based on revid:zhenxing.he@stripped4006-xdkf8b0wcmzj49fv

 3122 He Zhenxing	2009-10-02
      Backport BUG#34227 Replication permission error message is misleading
      
      According to Jon's comment, add (at least one of) to the error message.

    M  mysql-test/r/mysqldump.result
    M  sql/share/errmsg.txt
=== modified file 'mysql-test/r/mysqldump.result'
--- a/mysql-test/r/mysqldump.result	2009-07-31 17:14:52 +0000
+++ b/mysql-test/r/mysqldump.result	2009-10-02 08:50:05 +0000
@@ -3554,11 +3554,11 @@ use test;
 create user mysqltest_1@localhost;
 create table t1(a int, b varchar(34));
 reset master;
-mysqldump: Couldn't execute 'FLUSH /*!40101 LOCAL */ TABLES': Access denied; you need the RELOAD privilege for this operation (1227)
-mysqldump: Couldn't execute 'FLUSH /*!40101 LOCAL */ TABLES': Access denied; you need the RELOAD privilege for this operation (1227)
+mysqldump: Couldn't execute 'FLUSH /*!40101 LOCAL */ TABLES': Access denied; you need (at least one of) the RELOAD privilege(s) for this operation (1227)
+mysqldump: Couldn't execute 'FLUSH /*!40101 LOCAL */ TABLES': Access denied; you need (at least one of) the RELOAD privilege(s) for this operation (1227)
 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 (at least one of) the SUPER,REPLICATION CLIENT privilege(s) for this operation (1227)
+mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need (at least one of) the SUPER,REPLICATION CLIENT privilege(s) for this operation (1227)
 grant REPLICATION CLIENT on *.* to mysqltest_1@localhost;
 drop table t1;
 drop user mysqltest_1@localhost;

=== modified file 'sql/share/errmsg.txt'
--- a/sql/share/errmsg.txt	2009-10-01 16:44:53 +0000
+++ b/sql/share/errmsg.txt	2009-10-02 08:50:05 +0000
@@ -4620,7 +4620,7 @@ ER_USER_LIMIT_REACHED 42000 
         swe "Anv�are '%-.64s' har �skridit '%s' (nuvarande v�e: %ld)"
 ER_SPECIFIC_ACCESS_DENIED_ERROR 42000 
         nla "Toegang geweigerd. U moet het %-.128s privilege hebben voor deze operatie"
-        eng "Access denied; you need the %-.128s privilege for this operation"
+        eng "Access denied; you need (at least one of) the %-.128s privilege(s) for this operation"
         ger "Kein Zugriff. Hierf�d die Berechtigung %-.128s ben�t"
         ita "Accesso non consentito. Serve il privilegio %-.128s per questa operazione"
         por "Acesso negado. Voc�recisa o privil�o %-.128s para essa opera�"

Attachment: [text/bzr-bundle] bzr/zhenxing.he@sun.com-20091002085005-pbyxdqpl5mngquex.bundle
Thread
bzr commit into mysql-5.1-rep+2 branch (zhenxing.he:3122) Bug#34227He Zhenxing2 Oct