summaryrefslogtreecommitdiff
path: root/bdb
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2006-10-04 11:19:23 -0400
committercmiller@zippy.cornsilk.net <>2006-10-04 11:19:23 -0400
commit66659796ffb06de536fe555457598bbc3d84a0a9 (patch)
tree6bde75c017094861446ff2261cdd8cd31de0e850 /bdb
parentd5d89bcf63be07fc74e90237d201da310722ea80 (diff)
downloadmariadb-git-66659796ffb06de536fe555457598bbc3d84a0a9.tar.gz
Bug#19356: Assert on undefined @uservar in prepared statement execute
The executing code had a safety assertion so that it refused to free Items that it didn't create. However, there is a case, undefined user variables, which would put Items into the list to be freed. Instead, do something that is more risky in expectation that the code will be refactored soon, as Kostja wants to do: Remove the assertions from prepare() and execute(). Put one assertion at a higher level, before stmt->set_params_from_vars(), which may then create new to-be-freed Items .
Diffstat (limited to 'bdb')
0 files changed, 0 insertions, 0 deletions