use test ; # non PS for comparison select 1 into @arg15 ; select 1 into @arg15 ; # simplified PS for comparison prepare stmt1 from "select 1" ; execute stmt1 ; execute stmt1 ; # similar PS statement for comparison prepare stmt1 from "select @arg15:= 1" ; execute stmt1 ; execute stmt1 ; # The problematic "SELECT" prepare stmt1 from "select 1 into @arg15" ; execute stmt1 ; # This second execute crashes the server (Segmentation fault) execute stmt1 ;