• Davi Arnaut's avatar
    Backport of Bug#32140 to mysql-next-mr · 3e82db82
    Davi Arnaut authored
    ------------------------------------------------------------
    revno: 2618
    revision-id: sp1r-davi@mysql.com/endora.local-20080418131946-26951
    parent: sp1r-davi@mysql.com/endora.local-20080417190810-26185
    committer: davi@mysql.com/endora.local
    timestamp: Fri 2008-04-18 10:19:46 -0300
    message:
      Bug#32140: wrong error code caught when an SF() call is interruped with KILL query
    
      The problem is that killing a query which calls a stored function
      could return a wrong error (table corrupt) instead of the query
      interrupted error message.
    
      The solution is to not set the table corrupt error if the query
      is killed, the query interrupted error message will be set  later
      when the query is finished.
    3e82db82
sp.cc 57.6 KB