From c04b3f4a91c6f40fdd54c85ceb02f90fd78a3c53 Mon Sep 17 00:00:00 2001 From: "andrey@lmy004." <> Date: Fri, 24 Feb 2006 11:52:03 +0100 Subject: [PATCH] Fix output per bug #16412 (Events: SHOW PRIVILEGES gives incorrect information) WL#1034 (Internal CRON) --- mysql-test/r/grant.result | 2 +- sql/sql_show.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/r/grant.result b/mysql-test/r/grant.result index 45ab83a0cfc..661b7141a59 100644 --- a/mysql-test/r/grant.result +++ b/mysql-test/r/grant.result @@ -448,7 +448,7 @@ Create view Tables To create new views Create user Server Admin To create new users Delete Tables To delete existing rows Drop Databases,Tables To drop databases, tables, and views -Event Server Admin Creation, alteration, deletion and execution of events. +Event Server Admin To create, alter, drop and execute events Execute Functions,Procedures To execute stored routines File File access on server To read and write files on the server Grant option Databases,Tables,Functions,Procedures To give to other users those privileges you possess diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 981dd3d4915..273e1c23dc8 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -247,7 +247,7 @@ static struct show_privileges_st sys_privileges[]= {"Create user", "Server Admin", "To create new users"}, {"Delete", "Tables", "To delete existing rows"}, {"Drop", "Databases,Tables", "To drop databases, tables, and views"}, - {"Event","Server Admin","Creation, alteration, deletion and execution of events."}, + {"Event","Server Admin","To create, alter, drop and execute events"}, {"Execute", "Functions,Procedures", "To execute stored routines"}, {"File", "File access on server", "To read and write files on the server"}, {"Grant option", "Databases,Tables,Functions,Procedures", "To give to other users those privileges you possess"},