• konstantin@mysql.com's avatar
    Fix for Bug#5034 "prepared "select 1 into @arg15", second · ae18dc3e
    konstantin@mysql.com authored
    execute crashes server": we were deleting lex->result
    after each execute, but prepared statements assumed that
    it's left intact.
    The fix adds cleanup() method to select_result hierarchy,
    so that result objects can be reused.
    Plus we now need to delete result objects more wisely.
    ae18dc3e
sql_select.cc 267 KB