diff --git a/mysql-test/suite/funcs_1/r/ndb_storedproc.result b/mysql-test/suite/funcs_1/r/ndb_storedproc.result index 3fd7020c114..04c1a45e67e 100644 --- a/mysql-test/suite/funcs_1/r/ndb_storedproc.result +++ b/mysql-test/suite/funcs_1/r/ndb_storedproc.result @@ -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;