Fixed BUG#2227: Server crash with stored procedure call.
(Meaning "... with SELECT v", where v is a local variable.) mysql-test/r/sp.result: Test case for BUG#2227 mysql-test/t/sp.test: Test case for BUG#2227 sql/item.h: Item_splocal::send() needed for "SELEC v", where "v" is a local variable. Also set the field name. sql/sp_head.cc: Have to get decimals and max_length right for reals, when SELECT of local variables.
Showing
Please register or sign in to comment