diff options
author | unknown <konstantin@mysql.com> | 2006-01-14 04:55:07 +0300 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2006-01-14 04:55:07 +0300 |
commit | 04a78106272f82aebfd5cfbfa7264e32d3eb5651 (patch) | |
tree | 5b53ef41f16095a4cbe0f8518d355ea4d92bb76e /sql/item_cmpfunc.h | |
parent | 4e195cbd520d30260e226af9e27cb937335ca1f1 (diff) | |
download | mariadb-git-04a78106272f82aebfd5cfbfa7264e32d3eb5651.tar.gz |
A fix and a test case for Bug#12734 " prepared statement may
return incorrect result set for a select SQL request"
mysql-test/r/ps.result:
Test results fixed (Bug#12734)
mysql-test/t/ps.test:
A test case for Bug#12734
sql/item_cmpfunc.cc:
Reset canDoTurboBM in Item_func_like::cleanup()
sql/item_cmpfunc.h:
Add Item_func_like::cleanup()
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 045566a46d5..ade09113c63 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -911,6 +911,7 @@ public: cond_result eq_cmp_result() const { return COND_TRUE; } const char *func_name() const { return "like"; } bool fix_fields(THD *thd, struct st_table_list *tlist, Item **ref); + void cleanup(); }; #ifdef USE_REGEX |