~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2008-12-18 17:54:22 UTC
  • mfrom: (713.1.5 devel)
  • Revision ID: brian@tangent.org-20081218175422-zqfm3mpueuq7z2az
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
{
59
59
  Session *session= current_session;
60
60
  session->variables.time_zone->gmt_sec_to_TIME(now_time,
61
 
                                             (my_time_t)session->query_start());
 
61
                                                (time_t)session->query_start());
62
62
}
63
63
 
64
64
/**
68
68
void Item_func_curdate_utc::store_now_in_TIME(DRIZZLE_TIME *now_time)
69
69
{
70
70
  my_tz_UTC->gmt_sec_to_TIME(now_time,
71
 
                             (my_time_t)(current_session->query_start()));
 
71
                             (time_t)(current_session->query_start()));
72
72
  /*
73
73
    We are not flagging this query as using time zone, since it uses fixed
74
74
    UTC-SYSTEM time-zone.