summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2003-06-30 09:52:30 -0700
committerunknown <igor@rurik.mysql.com>2003-06-30 09:52:30 -0700
commit42817571dcb59e16f27cdf28843f26e45da893ee (patch)
tree2e26047124198eb4e44c50a1eb23cbe831cc064e /sql/item_cmpfunc.h
parent637607f00612add2a698ced1153f9157b52e6bd5 (diff)
downloadmariadb-git-42817571dcb59e16f27cdf28843f26e45da893ee.tar.gz
item_cmpfunc.h, opt_range.cc:
Added inequality predicate to range optimization sql/opt_range.cc: Added inequality predicate to range optimization sql/item_cmpfunc.h: Added inequality predicate to range optimization
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 549839b4f96..8ae987c5498 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -238,7 +238,7 @@ public:
longlong val_int();
enum Functype functype() const { return NE_FUNC; }
cond_result eq_cmp_result() const { return COND_FALSE; }
- optimize_type select_optimize() const { return OPTIMIZE_NONE; }
+ optimize_type select_optimize() const { return OPTIMIZE_KEY; }
const char *func_name() const { return "<>"; }
};