1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed BUG#7185: Stored procedure crash if identifier is AVG

mysql-test/r/sp.result:
  Added test case for BUG#7185.
mysql-test/t/sp.test:
  Added test case for BUG#7185.
sql/sql_yacc.yy:
  Allow non-reserved words as stored procedure names.
This commit is contained in:
unknown
2005-04-12 15:43:24 +02:00
parent 99b986d025
commit db40f4a57f
3 changed files with 22 additions and 2 deletions

View File

@ -3481,6 +3481,20 @@ drop procedure bug6900_9074|
drop table t3|
#
# BUG#7185: Stored procedure crash if identifier is AVG
#
--disable_warnings
drop procedure if exists avg|
--enable_warnings
create procedure avg ()
begin
end|
call avg ()|
drop procedure avg|
#
# BUG#NNNN: New bug synopsis
#