mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Bug#37525 funcs_1: <engine>_storedproc.test fail
Fixed the test to expect the correct result. The previous test script was in fact affected by 26030, and wrongly expected a ER_PARSE_ERROR error.
This commit is contained in:
@@ -3635,13 +3635,9 @@ SELECT count(*) into cnt from t2;
|
||||
set @count = cnt;
|
||||
SELECT @count;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
|
||||
set @count = cnt;
|
||||
SELECT @count;
|
||||
END' at line 2
|
||||
ERROR 42S22: Unknown column 'cnt' in 'field list'
|
||||
CALL sp1( 10 );
|
||||
ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1( cnt int(20) )
|
||||
END
|
||||
SELECT count(*) into cnt from t2;
|
||||
|
Reference in New Issue
Block a user