summaryrefslogtreecommitdiff
path: root/mysql-test/r/grant_4332.result
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-06-13 20:18:40 +0200
committerSergei Golubchik <sergii@pisem.net>2013-06-13 20:18:40 +0200
commit36c753519865ca9615e834a4f3e5cdf270cef230 (patch)
tree40b9bd31bbfbe6b1eaf4be2e57f4195ca78badf7 /mysql-test/r/grant_4332.result
parent2533313895b21bdf2862779477b4cf54cb101013 (diff)
downloadmariadb-git-36c753519865ca9615e834a4f3e5cdf270cef230.tar.gz
MDEV-4519 SHOW EVENTS and SHOW PROCEDURE STATUS truncate long user names
fix I_S table definitions in sql_show.cc
Diffstat (limited to 'mysql-test/r/grant_4332.result')
-rw-r--r--mysql-test/r/grant_4332.result16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/grant_4332.result b/mysql-test/r/grant_4332.result
index b5d58266afc..cca7825a07e 100644
--- a/mysql-test/r/grant_4332.result
+++ b/mysql-test/r/grant_4332.result
@@ -64,9 +64,25 @@ show create procedure test.p1;
Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
p1 CREATE DEFINER=`c80cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc0`@`localhost` PROCEDURE `p1`()
select user(), current_user(), user from mysql.tables_priv latin1 latin1_swedish_ci latin1_swedish_ci
+select definer from information_schema.routines;
+definer
+c80cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc0@localhost
create table test.t1 (a text);
create event e1 on schedule every 1 second
do insert test.t1 values (concat(user(), ' ', current_user()));
+select definer from information_schema.events;
+definer
+c80cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc0@localhost
+create view v1 as select * from t1;
+select definer from information_schema.views;
+definer
+c80cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc0@localhost
+drop view v1;
+create trigger tr1 before delete on t1 for each row set @a:=1;
+select definer from information_schema.triggers;
+definer
+c80cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc0@localhost
+drop trigger tr1;
connect(localhost,c80cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc0,foobar,test,MASTER_PORT,MASTER_SOCKET);
ERROR 28000: Access denied for user 'c80cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc0'@'localhost' (using password: YES)
call test.p1();