This file contains several variations on the SP posted in the View tab. Each variation behaves in the same way. Below the SPs is a stack trace. ################################################################################ /* Specify some SP and Table characteristics I let fall to defaults before */ create procedure test.bad() DETERMINISTIC MODIFIES SQL DATA SQL SECURITY INVOKER BEGIN DROP TABLE IF EXISTS `tmp_enum_test`; CREATE TEMPORARY TABLE `tmp_enum_test` ( `LETTER` enum('','A','B','C') NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; END ################################################################################ ################################################################################ /* - Try with regular (non-TEMPORARY) table - Only 1 enum() choice instead of four; no empty string, no NOT NULL - Added varchar after enum to see if position of enum in table declaration made a difference. */ create procedure test.bad() BEGIN DROP TABLE IF EXISTS `tmp_enum_test`; CREATE TABLE `tmp_enum_test` ( `LETTER` enum('ABC'), `fname` varchar(15) ); END ################################################################################ ################################################################################ /* - No 'drop table' - After each "call bad()", you need to manually "drop table tmp_enum_test". */ create procedure test.bad() BEGIN CREATE TABLE `tmp_enum_test` ( `LETTER` enum('ABC') NOT NULL ); END ################################################################################ ################################################################################ /* - Used 'Set' instead of 'Enum' */ create procedure test.bad() BEGIN DROP TABLE IF EXISTS `tmp_enum_test`; CREATE TABLE `tmp_enum_test` ( `LETTER` set('A', 'B', 'C') ); END ################################################################################ ################################################################################ /* Stack trace */ 0x809d632 handle_segfault + 430 0x82d74c8 pthread_sighandler + 184 0x813e8ca calculate_interval_lengths__FP15charset_info_stP10st_typelibPUiT2 + 50 0x813f11a mysql_prepare_table__FP3THDP24st_ha_create_informationPt4List1Z12create_fieldPt4List1Z3KeybPUiP7handlerPP6st_keyT5i + 1290 0x81406bb mysql_create_table__FP3THDPCcT1P24st_ha_create_informationRt4List1Z12create_fieldRt4List1Z3KeybUi + 299 0x80af863 mysql_execute_command__FP3THD + 4271 0x817d922 exec_core__13sp_instr_stmtP3THDPUi + 26 0x817d766 reset_lex_and_exec_core__13sp_lex_keeperP3THDPUibP8sp_instr + 234 0x817d87d execute__13sp_instr_stmtP3THDPUi + 145 0x817b6f5 execute__7sp_headP3THD + 849 0x817c2e0 execute_procedure__7sp_headP3THDPt4List1Z4Item + 836 0x80b2c7f mysql_execute_command__FP3THD + 17611 0x80b53ba mysql_parse__FP3THDPcUi + 286 0x80ad283 dispatch_command__F19enum_server_commandP3THDPcUi + 1747 0x80acba3 do_command__FP3THD + 195 0x80ac104 handle_one_connection + 764 0x82d4c7c pthread_start_thread + 220 0x82fe57a thread_start + 4 ################################################################################