• unknown's avatar
    Fixed BUG#6022: Stored procedure shutdown problem with self-calling function. · d925bcd8
    unknown authored
      Fixed the pre-caching of functions. It now gives the expected stack overrun
      error for functions recursing too deep.
    
    
    mysql-test/r/sp.result:
      New test case for BUG#6022.
    mysql-test/t/sp.test:
      New test case for BUG#6022.
    sql/sp.cc:
      Cache function first, then recurse, or the pre-caching loops infinitely
      for recursive functions.
    d925bcd8
sp.result 46.2 KB