summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-11-05 22:45:42 +0200
committermonty@hundin.mysql.fi <>2002-11-05 22:45:42 +0200
commit5333cfb4298899c0985fc07f229c99866ef656cc (patch)
tree35c29682f33da14c65ad84bda65e02a747878d55 /sql/item_cmpfunc.cc
parentaceaf381efc92d32b5109313c472557a1ad6e1d2 (diff)
downloadmariadb-git-5333cfb4298899c0985fc07f229c99866ef656cc.tar.gz
Removed wrong patch to fix DATE BETWEEN TIMESTAMP1 AND TIMESTAMP2
Some simple optimizations
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 42cd0a2ee4f..79d695eea1e 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -360,7 +360,6 @@ void Item_func_between::fix_length_and_dec()
if (args[0]->type() == FIELD_ITEM)
{
Field *field=((Item_field*) args[0])->field;
- cmp_type=field->cmp_type();
if (field->store_for_compare())
{
if (convert_constant_item(field,&args[1]))