~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/sysdate_local.cc

  • Committer: Brian Aker
  • Date: 2009-01-23 06:19:11 UTC
  • mfrom: (779.1.29 devel)
  • mto: (779.3.3 devel)
  • mto: This revision was merged to the branch mainline in revision 811.
  • Revision ID: brian@tangent.org-20090123061911-59es83nxzlyvh5fi
Merge of Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
}
35
35
 
36
36
 
37
 
String *Item_func_sysdate_local::val_str(String *str __attribute__((unused)))
 
37
String *Item_func_sysdate_local::val_str(String *)
38
38
{
39
39
  assert(fixed == 1);
40
40
  store_now_in_TIME(&ltime);
68
68
 
69
69
 
70
70
bool Item_func_sysdate_local::get_date(DRIZZLE_TIME *res,
71
 
                                       uint32_t fuzzy_date __attribute__((unused)))
 
71
                                       uint32_t )
72
72
{
73
73
  store_now_in_TIME(&ltime);
74
74
  *res= ltime;
76
76
}
77
77
 
78
78
 
79
 
int Item_func_sysdate_local::save_in_field(Field *to, bool no_conversions __attribute__((unused)))
 
79
int Item_func_sysdate_local::save_in_field(Field *to, bool )
80
80
{
81
81
  store_now_in_TIME(&ltime);
82
82
  to->set_notnull();