I am very new to writing stored procedures in MemSQL. The following stored procedure throws \'ERROR 1149 (42000): "_level1" is not a known variable\' at compilatio