diff options
author | cmiller@zippy.cornsilk.net <> | 2006-10-04 11:19:23 -0400 |
---|---|---|
committer | cmiller@zippy.cornsilk.net <> | 2006-10-04 11:19:23 -0400 |
commit | 66659796ffb06de536fe555457598bbc3d84a0a9 (patch) | |
tree | 6bde75c017094861446ff2261cdd8cd31de0e850 /bdb | |
parent | d5d89bcf63be07fc74e90237d201da310722ea80 (diff) | |
download | mariadb-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