summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
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 513ef692ed7..e3f10c9716f 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -365,6 +365,7 @@ public:
{
return tmp_table_field_from_field_type(table, 0);
}
+ bool result_as_longlong() { return TRUE; }
};
@@ -380,6 +381,7 @@ public:
{
return tmp_table_field_from_field_type(table, 0);
}
+ bool result_as_longlong() { return TRUE; }
};
@@ -409,6 +411,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; }
};
@@ -647,6 +650,7 @@ public:
{
return tmp_table_field_from_field_type(table, 0);
}
+ bool result_as_longlong() { return TRUE; }
bool check_partition_func_processor(byte *bool_arg) { return 0;}
};
@@ -768,6 +772,8 @@ public:
max_length= 10;
maybe_null= 1;
}
+ bool result_as_longlong() { return TRUE; }
+ longlong val_int();
};
@@ -784,6 +790,8 @@ public:
{
return tmp_table_field_from_field_type(table, 0);
}
+ bool result_as_longlong() { return TRUE; }
+ longlong val_int();
};
@@ -799,6 +807,8 @@ public:
{
return tmp_table_field_from_field_type(table, 0);
}
+ bool result_as_longlong() { return TRUE; }
+ longlong val_int();
};
class Item_func_makedate :public Item_str_func
@@ -817,6 +827,8 @@ public:
{
return tmp_table_field_from_field_type(table, 0);
}
+ bool result_as_longlong() { return TRUE; }
+ longlong val_int();
bool check_partition_func_processor(byte *bool_arg) { return 0;}
};