summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorbar@bar.intranet.mysql.r18.ru <>2004-02-02 17:50:14 +0400
committerbar@bar.intranet.mysql.r18.ru <>2004-02-02 17:50:14 +0400
commite2ffbc1a6a7c288a6ee324796983dfa21d0ec0f0 (patch)
treee2643d7f927c3323a0121e67db128017ff0c1077 /sql/item.h
parent8a3e00a05b9f4f59fb4400487bd5dd6c13566832 (diff)
downloadmariadb-git-e2ffbc1a6a7c288a6ee324796983dfa21d0ec0f0.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)
{