• unknown's avatar
    Fixed BUG#10961: Stored procedures: crash if select * from dual · 77bd9d36
    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.
    77bd9d36
sp.result 67.4 KB