summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorunknown <bar@bar.intranet.mysql.r18.ru>2004-02-02 17:50:14 +0400
committerunknown <bar@bar.intranet.mysql.r18.ru>2004-02-02 17:50:14 +0400
commit65534b77a18aebb602ac23ed84351349818f0a2f (patch)
treee2643d7f927c3323a0121e67db128017ff0c1077 /sql/item.h
parentc91c1470c8294a4ebdec2f31f115c8a05693f4f5 (diff)
downloadmariadb-git-65534b77a18aebb602ac23ed84351349818f0a2f.tar.gz
Indexes can be used for optimization if the operation
collation is the same with the index collation.
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index 7b5c506079d..a5648c5889b 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -204,6 +204,7 @@ public:
virtual Item *get_tmp_table_item(THD *thd) { return copy_or_same(thd); }
CHARSET_INFO *default_charset() const;
+ virtual CHARSET_INFO *compare_collation() { return NULL; }
virtual bool walk(Item_processor processor, byte *arg)
{