summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2006-01-13 12:13:50 +0300
committerunknown <evgen@moonbone.local>2006-01-13 12:13:50 +0300
commita8a4a22974fc95016248016e9b7836a2460bcef0 (patch)
treea6574ee59fca9abfbe8e3879ca60ea6046ed93be /sql/item_cmpfunc.h
parent891202f7d1c79200da23f4df8a19d9cd1c550a2b (diff)
parent593bed0d929cdc2827439d4697ce6f4b2bc9d941 (diff)
downloadmariadb-git-a8a4a22974fc95016248016e9b7836a2460bcef0.tar.gz
Merge
sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged mysql-test/r/select.result: SCCS merged mysql-test/t/select.test: SCCS merged
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index b4064fb45b8..98ccefd08ab 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1150,6 +1150,11 @@ public:
are deleted in the end of execution. All changes made to these
objects need not be registered in the list of changes of the parse
tree and do not harm PS/SP re-execution.
+
+ Item equal objects are employed only at the optimize phase. Usually they are
+ not supposed to be evaluated. Yet in some cases we call the method val_int()
+ for them. We have to take care of restricting the predicate such an
+ object represents f1=f2= ...=fn to the projection of known fields fi1=...=fik.
*/
class Item_equal: public Item_bool_func