1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixed BUG#6030: Stored procedure has no appropriate DROP privilege.

...and no ALTER privilege either.
  For now, only the definer and root can drop or alter an SP.
This commit is contained in:
pem@mysql.comhem.se
2004-10-22 20:29:06 +02:00
parent ebf8dc0da6
commit 2c428ca09d
32 changed files with 148 additions and 46 deletions

View File

@@ -115,14 +115,6 @@ foo: loop
set @x=2;
end loop bar|
ERROR 42000: End-label bar without match
create procedure foo(out x int)
begin
declare y int;
set x = y;
end|
Warnings:
Warning 1311 Referring to uninitialized variable y
drop procedure foo|
create procedure foo()
return 42|
ERROR 42000: RETURN is only allowed in a FUNCTION