~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/curdate.h

  • Committer: Lee Bieber
  • Date: 2010-12-23 23:11:00 UTC
  • mfrom: (2024.1.1 clean)
  • Revision ID: kalebral@gmail.com-20101223231100-0rqirgz7ugkl10yp
Merge Brian - session list cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
class Item_func_curdate :public Item_date
31
31
{
32
32
protected:
33
 
  type::Time ltime;
 
33
  DRIZZLE_TIME ltime;
34
34
  Date cached_temporal;
35
35
public:
36
36
  Item_func_curdate() :Item_date() {}
50
50
   * @param Reference to a Date to populate
51
51
   */
52
52
  bool get_temporal(Date &temporal);
53
 
  virtual void store_now_in_TIME(type::Time *now_time)=0;
 
53
  virtual void store_now_in_TIME(DRIZZLE_TIME *now_time)=0;
54
54
};
55
55
 
56
56
class Item_func_curdate_local :public Item_func_curdate
58
58
public:
59
59
  Item_func_curdate_local() :Item_func_curdate() {}
60
60
  const char *func_name() const { return "curdate"; }
61
 
  void store_now_in_TIME(type::Time *now_time);
 
61
  void store_now_in_TIME(DRIZZLE_TIME *now_time);
62
62
};
63
63
 
64
64
class Item_func_curdate_utc :public Item_func_curdate
66
66
public:
67
67
  Item_func_curdate_utc() :Item_func_curdate() {}
68
68
  const char *func_name() const { return "utc_date"; }
69
 
  void store_now_in_TIME(type::Time *now_time);
 
69
  void store_now_in_TIME(DRIZZLE_TIME *now_time);
70
70
};
71
71
 
72
72
} /* namespace drizzled */