mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for bug#11055: information_schema: routines.sql_data_access has wrong value
This commit is contained in:
@ -823,3 +823,12 @@ GRANT SELECT ON *.* TO 'user4'@'localhost'
|
||||
drop user user1@localhost, user2@localhost, user3@localhost, user4@localhost;
|
||||
use test;
|
||||
drop database mysqltest;
|
||||
create procedure p1 () modifies sql data set @a = 5;
|
||||
create procedure p2 () set @a = 5;
|
||||
select sql_data_access from information_schema.routines
|
||||
where specific_name like 'p%';
|
||||
sql_data_access
|
||||
MODIFIES SQL DATA
|
||||
CONTAINS SQL
|
||||
drop procedure p1;
|
||||
drop procedure p2;
|
||||
|
@ -542,3 +542,13 @@ connection default;
|
||||
drop user user1@localhost, user2@localhost, user3@localhost, user4@localhost;
|
||||
use test;
|
||||
drop database mysqltest;
|
||||
|
||||
#
|
||||
# Bug #11055 information_schema: routines.sql_data_access has wrong value
|
||||
#
|
||||
create procedure p1 () modifies sql data set @a = 5;
|
||||
create procedure p2 () set @a = 5;
|
||||
select sql_data_access from information_schema.routines
|
||||
where specific_name like 'p%';
|
||||
drop procedure p1;
|
||||
drop procedure p2;
|
||||
|
Reference in New Issue
Block a user