diff options
author | unknown <konstantin@mysql.com> | 2005-05-05 12:55:09 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2005-05-05 12:55:09 +0400 |
commit | c758512a9176b40532f8431e7771f8dbeed77111 (patch) | |
tree | 63803fbeb418fd4efd8e3bc6fe890e46fef1ee1e /BitKeeper/etc/logging_ok | |
parent | f3883ad0fa972a10c88431e92768a05bda8d774b (diff) | |
download | mariadb-git-c758512a9176b40532f8431e7771f8dbeed77111.tar.gz |
A fix and test case for Bug#9777 " Empty set returned by Prepared Statement when it
should return a non empty one"
(see comments for the changed files for details).
mysql-test/r/ps.result:
A test case for Bug#9777: tests results fixed.
mysql-test/t/ps.test:
A test case for Bug#9777
sql/item.cc:
A fix for Bug#9777: when creating a constant item from within
Item_int_with_ref::new_item, create the item by value, not by name.
This should work with prepared statements placeholders.
Item_int_with_ref is a special optimization case used
when we compare datetime constants with datetime value.
Converting the item to integer early is OK as it is in line
with the purpose of Item_int_with_ref - to speed up comparison by
using integers.
Minor cleanups.
sql/item.h:
Declaration for Item_int_with_ref::new_item
Diffstat (limited to 'BitKeeper/etc/logging_ok')
0 files changed, 0 insertions, 0 deletions