mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixes during review of new code
- Mostly indentation fixes - Added missing test - Ensure that Item_func_case() checks for stack overruns - Use real_item() instead of (Item_ref*) item - Fixed wrong error handling
This commit is contained in:
@ -101,6 +101,12 @@ where COLLATION_NAME like 'latin1%';
|
||||
# Test for information_schema.ROUTINES &
|
||||
#
|
||||
|
||||
--disable_warnings
|
||||
drop procedure if exists sel2;
|
||||
drop function if exists sub1;
|
||||
drop function if exists sub2;
|
||||
--enable_warnings
|
||||
|
||||
create function sub1(i int) returns int
|
||||
return i+1;
|
||||
delimiter |;
|
||||
@ -546,6 +552,11 @@ drop database mysqltest;
|
||||
#
|
||||
# Bug #11055 information_schema: routines.sql_data_access has wrong value
|
||||
#
|
||||
--disable_warnings
|
||||
drop procedure if exists p1;
|
||||
drop procedure if exists p2;
|
||||
--enable_warnings
|
||||
|
||||
create procedure p1 () modifies sql data set @a = 5;
|
||||
create procedure p2 () set @a = 5;
|
||||
select sql_data_access from information_schema.routines
|
||||
|
Reference in New Issue
Block a user