"create procedure crash_proc(in a1 int, in b1 int) language sql modifies sql data begin declare c1 int; set c1 = a1 + b1; insert into crash_q(a,b) values (a1,c1); end",
"create procedure crash_proc(in a1 int, in b1 int) language ".
"sql modifies sql data begin declare c1 int; set c1 = a1 + b1;".
" insert into crash_q(a,b) values (a1,c1); end",
"call crash_proc(1,10)",
"call crash_proc(1,10)",
"drop procedure crash_proc",
"drop procedure crash_proc",
"drop table crash_q $drop_attr");
"drop table crash_q $drop_attr");
report("PSM modules (ANSI SQL)","psm_modules",
report("PSM modules (ANSI SQL)","psm_modules",
"create table crash_q (a int,b int)",
"create table crash_q (a int,b int)",
"create module crash_m declare procedure crash_proc(in a1 int, in b1 int) language sql modifies sql data begin declare c1 int; set c1 = a1 + b1; insert into crash_q(a,b) values (a1,c1); end; declare procedure crash_proc2(INOUT a int, in b int) contains sql set a = b + 10; end module",
"create module crash_m declare procedure ".
"crash_proc(in a1 int, in b1 int) language sql modifies sql ".
"data begin declare c1 int; set c1 = a1 + b1; ".
"insert into crash_q(a,b) values (a1,c1); end; ".
"declare procedure crash_proc2(INOUT a int, in b int) ".