diff options
author | unknown <evgen@moonbone.local> | 2006-06-14 23:54:08 +0400 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2006-06-14 23:54:08 +0400 |
commit | 9936533be9359176ae7f196ef3291c5ee0df2e97 (patch) | |
tree | 9f2d34990366073803ede28b005fe7965ee7d736 /sql/item_timefunc.h | |
parent | b395f9c29e0c01e8e37d6c62f5fc54d9118da2a3 (diff) | |
parent | 15462dd90a3fe1129d795aa99eb8a8c6f15154e5 (diff) | |
download | mariadb-git-9936533be9359176ae7f196ef3291c5ee0df2e97.tar.gz |
Manually merged
mysql-test/r/cast.result:
Auto merged
mysql-test/t/func_time.test:
Auto merged
sql/item_cmpfunc.h:
Auto merged
sql/item_strfunc.cc:
Auto merged
sql/item_timefunc.cc:
Auto merged
sql/item_timefunc.h:
Auto merged
sql/opt_sum.cc:
Auto merged
sql/structs.h:
Auto merged
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r-- | sql/item_timefunc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h index b2f0dab0837..24960bf9ed2 100644 --- a/sql/item_timefunc.h +++ b/sql/item_timefunc.h @@ -344,6 +344,7 @@ public: { return (new Field_date(maybe_null, name, t_arg, &my_charset_bin)); } + bool result_as_longlong() { return TRUE; } }; @@ -359,6 +360,7 @@ public: { return (new Field_datetime(maybe_null, name, t_arg, &my_charset_bin)); } + bool result_as_longlong() { return TRUE; } }; @@ -388,6 +390,7 @@ public: TIME representation using UTC-SYSTEM or per-thread time zone. */ virtual void store_now_in_TIME(TIME *now_time)=0; + bool result_as_longlong() { return TRUE; } }; @@ -622,6 +625,7 @@ public: { return (new Field_time(maybe_null, name, t_arg, &my_charset_bin)); } + bool result_as_longlong() { return TRUE; } }; /* @@ -752,6 +756,8 @@ public: max_length= 10; maybe_null= 1; } + bool result_as_longlong() { return TRUE; } + longlong val_int(); }; @@ -768,6 +774,8 @@ public: { return (new Field_time(maybe_null, name, t_arg, &my_charset_bin)); } + bool result_as_longlong() { return TRUE; } + longlong val_int(); }; @@ -783,6 +791,8 @@ public: { return (new Field_datetime(maybe_null, name, t_arg, &my_charset_bin)); } + bool result_as_longlong() { return TRUE; } + longlong val_int(); }; class Item_func_makedate :public Item_str_func @@ -801,6 +811,8 @@ public: { return (new Field_date(maybe_null, name, t_arg, &my_charset_bin)); } + bool result_as_longlong() { return TRUE; } + longlong val_int(); }; |