• unknown's avatar
    Fixed BUG#10961: Stored procedures: crash if select * from dual · d9d0c96a
    unknown authored
      Have to catch errors from SELECT when opening a cursor.
    
    
    mysql-test/r/sp.result:
      New test case for BUG#10961.
    mysql-test/t/sp.test:
      New test case for BUG#10961.
    sql/protocol.h:
      Init data in Protocol_cursor constructor, for error cases.
    sql/sp_head.cc:
      Catch "hidden" errors during SELECT when opening a cursor.
    d9d0c96a
sp.test 77.9 KB