summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2005-11-10 15:13:12 +0100
committerguilhem@mysql.com <>2005-11-10 15:13:12 +0100
commit1379dd180feb23995aebe5702280a21fdd91993b (patch)
tree724ac82a9a2347f61b3f485aad32572fe5901bd0 /sql/item_timefunc.h
parent4015635bcd974eb0587f8f9bf80a4f6a5d59dec2 (diff)
parent2df7d972811c5dc322961037715ec6ef2d37fe0e (diff)
downloadmariadb-git-1379dd180feb23995aebe5702280a21fdd91993b.tar.gz
Merge mysql.com:/home/mysql_src/mysql-4.1-gca
into mysql.com:/home/mysql_src/mysql-5.0-release
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index b2352e728c5..71f595184ec 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -641,12 +641,12 @@ enum interval_type
class Item_date_add_interval :public Item_date_func
{
- const interval_type int_type;
String value;
- const bool date_sub_interval;
enum_field_types cached_field_type;
public:
+ const interval_type int_type; // keep it public
+ const bool date_sub_interval; // keep it public
Item_date_add_interval(Item *a,Item *b,interval_type type_arg,bool neg_arg)
:Item_date_func(a,b),int_type(type_arg), date_sub_interval(neg_arg) {}
String *val_str(String *);
@@ -662,10 +662,10 @@ public:
class Item_extract :public Item_int_func
{
- const interval_type int_type;
String value;
bool date_value;
public:
+ const interval_type int_type; // keep it public
Item_extract(interval_type type_arg, Item *a)
:Item_int_func(a), int_type(type_arg) {}
longlong val_int();
@@ -910,8 +910,8 @@ enum date_time_format
class Item_func_get_format :public Item_str_func
{
- const timestamp_type type;
public:
+ const timestamp_type type; // keep it public
Item_func_get_format(timestamp_type type_arg, Item *a)
:Item_str_func(a), type(type_arg)
{}