summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-03-19 19:13:28 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-03-19 19:13:28 +0400
commit53c5d448a23d5a21c505ee369f9f2af643b27c39 (patch)
treefd3138007c4fe92a16574563128dcaaf2119608e /sql/item_cmpfunc.h
parent676f986838bcf220ee50dc5df975b153eced76d1 (diff)
downloadmariadb-git-53c5d448a23d5a21c505ee369f9f2af643b27c39.tar.gz
Strings comparison is now done according to "Collating sequences used for
comparison" table, "SQL Complete, Really", page 162
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index b9d8615beb4..e7670755396 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -122,6 +122,8 @@ public:
{
cmp.set_cmp_func(this, tmp_arg, tmp_arg+1);
}
+ bool set_cmp_charset(CHARSET_INFO *cs1, enum coercion co1,
+ CHARSET_INFO *cs2, enum coercion co2);
optimize_type select_optimize() const { return OPTIMIZE_OP; }
virtual enum Functype rev_functype() const { return UNKNOWN_FUNC; }
bool have_rev_func() const { return rev_functype() != UNKNOWN_FUNC; }