mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 17:25:31 +02:00
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()
This commit is contained in:
parent
4e195cbd52
commit
04a7810627
4 changed files with 71 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue