diff options
author | Sinisa@sinisa.nasamreza.org <> | 2002-10-30 22:08:34 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2002-10-30 22:08:34 +0200 |
commit | fbe9577516f65e632b60661952fddd780297c73b (patch) | |
tree | e5ab876b5dbfb7f401661c317fef9de2275c0349 /sql/field.h | |
parent | 245218284495701846f49d986bc91997b97563d6 (diff) | |
download | mariadb-git-fbe9577516f65e632b60661952fddd780297c73b.tar.gz |
A fix for bug when comparing a datetime column with timestamp
values with BETWEEN clause
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h index 4290f99ea3e..de9e98290e7 100644 --- a/sql/field.h +++ b/sql/field.h @@ -544,6 +544,7 @@ public: enum Item_result result_type () const { return field_length == 8 || field_length == 14 ? INT_RESULT : STRING_RESULT; } enum_field_types type() const { return FIELD_TYPE_TIMESTAMP;} enum ha_base_keytype key_type() const { return HA_KEYTYPE_ULONG_INT; } + enum Item_result cmp_type () const { return INT_RESULT; } void store(const char *to,uint length); void store(double nr); void store(longlong nr); |