I'm getting this error from my MYSQL query and I don't know how to fix it.
****E*RROR 1064: 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 'var1; END' at line 3*****
MYSQL
USE `test`;
DROP procedure IF EXISTS `my_proc_IN`;
DELIMITER $$
USE `test`$$
CREATE PROCEDURE my_proc_IN (IN var1 INT)
BEGIN
SELECT * FROM jobs_TABLE LIMIT var1;
END$$
DELIMITER ;