# Bug#45261 Crash, stored procedure + decimal # # Created: 2009-06-02 mleich # --disable_warnings DROP PROCEDURE IF EXISTS test_bug45261; --enable_warnings delimiter |; CREATE PROCEDURE test_bug45261() BEGIN # The last non critical CURSOR definition is: # SELECT 1 % .12345678912345678912345678912345678912345678912345678912345678912 AS my_col; DECLARE my_cursor CURSOR FOR SELECT 1 % .123456789123456789123456789123456789123456789123456789123456789123456789123456789 AS my_col; OPEN my_cursor; CLOSE my_cursor; END| delimiter ;| CALL test_bug45261(); DROP PROCEDURE test_bug45261;