summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.cc
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2004-10-23 13:30:05 +0200
committerunknown <pem@mysql.comhem.se>2004-10-23 13:30:05 +0200
commitd925bcd8d61ada4bd61fcbf6ae35b2ee2b1def93 (patch)
treefd5f151efa31acb8e76931805f0a392a3b07f1a3 /sql/sp_rcontext.cc
parentd73b379cd1be04bd8bdf54ae9fe85f167b4a8a6a (diff)
downloadmariadb-git-d925bcd8d61ada4bd61fcbf6ae35b2ee2b1def93.tar.gz
Fixed BUG#6022: Stored procedure shutdown problem with self-calling function.
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.
Diffstat (limited to 'sql/sp_rcontext.cc')
0 files changed, 0 insertions, 0 deletions