diff options
author | evgen@moonbone.local <> | 2006-06-17 00:58:36 +0400 |
---|---|---|
committer | evgen@moonbone.local <> | 2006-06-17 00:58:36 +0400 |
commit | 28cf3c3e640ee45f945e6fd03bcdf46aaf152ff9 (patch) | |
tree | 851e2d11dfc8cbe8ccb9e04adeaac5d576cb440a /sql/item_timefunc.h | |
parent | 00fcdf8c006b55eb32972a81d1d1bcd43af6a0c4 (diff) | |
parent | ee2e2d0c6d46d0d58e4bcff0b4c8289882e254b4 (diff) | |
download | mariadb-git-28cf3c3e640ee45f945e6fd03bcdf46aaf152ff9.tar.gz |
Manually 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 9a14b961130..d5d3efeeab4 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; } }; @@ -623,6 +626,7 @@ public: { return (new Field_time(maybe_null, name, t_arg, &my_charset_bin)); } + bool result_as_longlong() { return TRUE; } }; /* @@ -753,6 +757,8 @@ public: max_length= 10; maybe_null= 1; } + bool result_as_longlong() { return TRUE; } + longlong val_int(); }; @@ -769,6 +775,8 @@ public: { return (new Field_time(maybe_null, name, t_arg, &my_charset_bin)); } + bool result_as_longlong() { return TRUE; } + longlong val_int(); }; @@ -784,6 +792,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 @@ -802,6 +812,8 @@ public: { return (new Field_date(maybe_null, name, t_arg, &my_charset_bin)); } + bool result_as_longlong() { return TRUE; } + longlong val_int(); }; |