summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorunknown <gshchepa@devsrv-b.mysql.com>2007-09-14 21:17:07 +0200
committerunknown <gshchepa@devsrv-b.mysql.com>2007-09-14 21:17:07 +0200
commit887b594c18f538f350760b5c8d5647b8d3239145 (patch)
tree27fdd5b7fa814adc97ffb4247c23fb72c7e06395 /sql/item.cc
parentc0d75796cd0747c67be5f0085bf1b3841a1844a6 (diff)
parent1684d47db30781deb6546d7df761dd96376f6805 (diff)
downloadmariadb-git-887b594c18f538f350760b5c8d5647b8d3239145.tar.gz
Merge gshchepa@bk-internal.mysql.com:/home/bk/mysql-5.1-opt
into devsrv-b.mysql.com:/data0/gshchepa/mysql-5.1-opt sql/item.cc: Auto merged
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 0af3ae47eca..d8080d62c39 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -2075,6 +2075,11 @@ Item *Item_field::get_tmp_table_item(THD *thd)
return new_item;
}
+longlong Item_field::val_int_endpoint(bool left_endp, bool *incl_endp)
+{
+ longlong res= val_int();
+ return null_value? LONGLONG_MIN : res;
+}
/*
Create an item from a string we KNOW points to a valid longlong