diff options
author | unknown <pem@mysql.comhem.se> | 2004-04-06 15:48:58 +0200 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2004-04-06 15:48:58 +0200 |
commit | c22ccc136bfe8eaeaa9797775bde423cf0931bc1 (patch) | |
tree | bc2c17cd1e1f52242adcfb62808c8e18f12dc83a /mysql-test/t/repair_part2.test | |
parent | 91dcd01159b2bcca753dd699fdf6a52d496ff7c1 (diff) | |
download | mariadb-git-c22ccc136bfe8eaeaa9797775bde423cf0931bc1.tar.gz |
Fixed BUG#2776: Stored procedure crash if variable assigned to default.
Keep track on the default value and use it. (Or NULL, if not declared.)
mysql-test/r/sp.result:
New testcases for BUG#2776.
mysql-test/t/sp.test:
New testcases for BUG#2776.
sql/sp_pcontext.cc:
Initialize local variable default value.
sql/sp_pcontext.h:
New method for saving default value.
sql/sql_yacc.yy:
If DEFAULT is use as a value in SET variable = ... in an SP, actually use the default.
Diffstat (limited to 'mysql-test/t/repair_part2.test')
0 files changed, 0 insertions, 0 deletions