mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Bug#13510 "Setting password local variable changes current
password": additional fix, also make sure that a syntax error is returned for set names="foo" when there is no such variable or no stored procedure.
This commit is contained in:
@@ -1233,6 +1233,10 @@ begin
|
||||
select password;
|
||||
end|
|
||||
|
||||
# Check that an error message is sent
|
||||
--error ER_PARSE_ERROR
|
||||
set names='foo2'|
|
||||
|
||||
--error ER_SP_BAD_VAR_SHADOW
|
||||
create procedure bug13510_2()
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user