summaryrefslogtreecommitdiff
path: root/sql/hash_filo.h
diff options
context:
space:
mode:
authorunknown <petr@mysql.com>2005-08-18 11:23:54 +0200
committerunknown <petr@mysql.com>2005-08-18 11:23:54 +0200
commitfa19a9f2465a5f424b45b3503ccfdbfb7831b6c5 (patch)
treefd960682f9ed076d0614c2f4de630337c54c2517 /sql/hash_filo.h
parenta397a194b2796aafb9a4ce27e4cd4e20b84da4af (diff)
downloadmariadb-git-fa19a9f2465a5f424b45b3503ccfdbfb7831b6c5.tar.gz
Fix for Bug#11247 Stored procedures: Function calls in long loops leak memory
and Bug#12297 SP crashes the server if data inserted inside a lon loop Third commit attempt. With fixes to the issues, showed up after full rebuild and tests on other hosts. mysql-test/r/rpl_sp.result: New warnings appeared in result file, as now we always create spcont in a stored routine. This is correct behaviour. We swallowed some warnings, as we used thd->spcont to check whether we are in the SP though we didn't set spcont in certain cases. This is fixed now. mysql-test/r/sp.result: fixed result file to reflect new tests mysql-test/t/sp.test: Added tests for bugs. Though one of them is disabled, as it fails because of the other bug. It should be enabled, when bug 12297 is fixed. sql/sp_head.cc: Per-instruction arena is implemented sql/sp_rcontext.cc: Now we should deal with callers_arena->free_list when we employ reuse mechanism with callers_arena switched during sp_eval_func_item sql/sp_rcontext.h: Add new member to sp_rcontext class, in order to handle instructions with assignment and/or with nested SP processing properly.
Diffstat (limited to 'sql/hash_filo.h')
0 files changed, 0 insertions, 0 deletions