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 /BitKeeper | |
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 'BitKeeper')
-rw-r--r-- | BitKeeper/etc/collapsed | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BitKeeper/etc/collapsed b/BitKeeper/etc/collapsed index d4d681937a2..7a682f9b2c0 100644 --- a/BitKeeper/etc/collapsed +++ b/BitKeeper/etc/collapsed @@ -2,3 +2,5 @@ 44ec850ac2k4y2Omgr92GiWPBAVKGQ 44edb86b1iE5knJ97MbliK_3lCiAXA 44f33f3aj5KW5qweQeekY1LU0E9ZCg +45214442pBGT9KuZEGixBH71jTzbOA +45214a07hVsIGwvwa-WrO-jpeaSwVw |