summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2009-08-20 17:51:02 +0200
committerSergey Petrunya <psergey@askmonty.org>2009-08-20 17:51:02 +0200
commit3f5b4949003d0cc41646eefbb3d7e7d1021406ea (patch)
tree918a9886724bd6f183a6c04e6e803347d3974ef2 /sql/item_cmpfunc.h
parent46c9677628c42839927d21f5fb0b89846c4134fe (diff)
downloadmariadb-git-3f5b4949003d0cc41646eefbb3d7e7d1021406ea.tar.gz
MWL#17: Table elimination
- Multiple-equality handling
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 c2227fa04e0..23f505182dd 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1578,6 +1578,7 @@ public:
uint members();
bool contains(Field *field);
Item_field* get_first() { return fields.head(); }
+ uint n_fields() { return fields.elements; }
void merge(Item_equal *item);
void update_const();
enum Functype functype() const { return MULT_EQUAL_FUNC; }