summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2006-03-31 21:26:17 -0800
committerigor@rurik.mysql.com <>2006-03-31 21:26:17 -0800
commitaf2d79a7718b90e5e2459441d9527e961efaf863 (patch)
treec1688ec4197dcfa4edd2249ba974db0f44a99132 /sql/item_cmpfunc.h
parentea2aaa4e2fc5f9f7acd9c3ce369d2f13cb2d7d09 (diff)
downloadmariadb-git-af2d79a7718b90e5e2459441d9527e961efaf863.tar.gz
Fixed bug #16504.
Multiple equalities were not adjusted after reading constant tables. It resulted in neglecting good index based methods that could be used to access of other tables.
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 89aafa5721e..3d94832412e 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1196,6 +1196,7 @@ public:
bool contains(Field *field);
Item_field* get_first() { return fields.head(); }
void merge(Item_equal *item);
+ void check_const();
enum Functype functype() const { return MULT_EQUAL_FUNC; }
longlong val_int();
const char *func_name() const { return "multiple equal"; }