summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp-security.test
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@oracle.com>2011-04-13 09:59:17 +0200
committerJon Olav Hauglid <jon.hauglid@oracle.com>2011-04-13 09:59:17 +0200
commite4041243970ab3b2f94c82f4004a28581c8ad4fd (patch)
tree7a6931b87b1103397e20ffca3888daea83366e12 /mysql-test/t/sp-security.test
parent308694c6592b04a6b517997d3542ed081ba66ff2 (diff)
parent1386f1fb626223bfda8db8c971a61e08e933e674 (diff)
downloadmariadb-git-e4041243970ab3b2f94c82f4004a28581c8ad4fd.tar.gz
Merge from mysql-5.1-security to mysql-5.5-security
No conflicts
Diffstat (limited to 'mysql-test/t/sp-security.test')
-rw-r--r--mysql-test/t/sp-security.test5
1 files changed, 1 insertions, 4 deletions
diff --git a/mysql-test/t/sp-security.test b/mysql-test/t/sp-security.test
index 716529fa67b..ca4e6b04f13 100644
--- a/mysql-test/t/sp-security.test
+++ b/mysql-test/t/sp-security.test
@@ -975,11 +975,9 @@ GRANT SELECT(db) ON mysql.proc TO user2@localhost;
--echo # Connection con2 as user2
connect (con2, localhost, user2);
---echo # The below statements before disclosed info from body_utf8 column.
+--echo # The statement below before disclosed info from body_utf8 column.
--error ER_SP_DOES_NOT_EXIST
SHOW CREATE PROCEDURE db1.p1;
---error ER_SP_DOES_NOT_EXIST
-SHOW PROCEDURE CODE db1.p1;
--echo # Check that SHOW works with SELECT grant on whole table
--echo # Connection default
@@ -990,7 +988,6 @@ GRANT SELECT ON mysql.proc TO user2@localhost;
connection con2;
--echo # This should work
SHOW CREATE PROCEDURE db1.p1;
-SHOW PROCEDURE CODE db1.p1;
--echo # Connection default
connection default;