diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-01-11 14:12:46 +0400 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-01-11 14:12:46 +0400 |
commit | 9d8bf6980ab67940e91425d5bcb6968e630ac8a2 (patch) | |
tree | 5c5633e974c654791c1b9d8d1ef1a765c771d24a /sql/field.h | |
parent | 3f0d245178b0c2b3496fb1e9b6ed852688f04bd4 (diff) | |
download | mariadb-git-9d8bf6980ab67940e91425d5bcb6968e630ac8a2.tar.gz |
A fix (bug #2335: Inconsistancy with handling of Years and NOW() function).
The test might fail if one runs it at 23:59:59 Dec 31
mysql-test/r/type_year.result:
a fix (bug #2335: Inconsistancy with handling of Years and NOW() function)
mysql-test/t/type_year.test:
a fix (bug #2335: Inconsistancy with handling of Years and NOW() function)
sql/field.h:
a fix (bug #2335: Inconsistancy with handling of Years and NOW() function)
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 8a829a455ed..413a08f08d4 100644 --- a/sql/field.h +++ b/sql/field.h @@ -600,6 +600,7 @@ public: longlong val_int(void); String *val_str(String*,String *); void sql_type(String &str) const; + bool store_for_compare() { return 1; } }; |