summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2006-06-17 02:11:12 +0400
committerunknown <evgen@moonbone.local>2006-06-17 02:11:12 +0400
commitd0f39b6aebec03eab69fc7744942bdab7c1bd52d (patch)
tree586c558b02a4bc7c19f63d3308824c8913e618d2 /sql/item_timefunc.h
parentef02d496a07f76a830ca7e21907df65a58ddb4d7 (diff)
parentca22a81b1c84ce81e1e9ea2c3ace7be1848027d8 (diff)
downloadmariadb-git-d0f39b6aebec03eab69fc7744942bdab7c1bd52d.tar.gz
Manually merged
sql/item_timefunc.cc: Auto merged sql/item_timefunc.h: Auto merged
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index ac26455371d..45cad627c05 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -339,6 +339,7 @@ public:
{
return (new Field_date(maybe_null, name, t_arg, &my_charset_bin));
}
+ bool result_as_longlong() { return TRUE; }
};
@@ -354,6 +355,7 @@ public:
{
return (new Field_datetime(maybe_null, name, t_arg, &my_charset_bin));
}
+ bool result_as_longlong() { return TRUE; }
};
@@ -383,6 +385,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; }
};
@@ -589,6 +592,7 @@ public:
{
return (new Field_time(maybe_null, name, t_arg, &my_charset_bin));
}
+ bool result_as_longlong() { return TRUE; }
};
/*
@@ -716,6 +720,8 @@ public:
max_length= 10;
maybe_null= 1;
}
+ bool result_as_longlong() { return TRUE; }
+ longlong val_int();
};
@@ -732,6 +738,8 @@ public:
{
return (new Field_time(maybe_null, name, t_arg, &my_charset_bin));
}
+ bool result_as_longlong() { return TRUE; }
+ longlong val_int();
};
@@ -747,6 +755,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
@@ -765,6 +775,8 @@ public:
{
return (new Field_date(maybe_null, name, t_arg, &my_charset_bin));
}
+ bool result_as_longlong() { return TRUE; }
+ longlong val_int();
};