~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Stewart Smith
  • Date: 2008-12-19 00:35:10 UTC
  • mfrom: (717 testable)
  • mto: This revision was merged to the branch mainline in revision 719.
  • Revision ID: stewart@flamingspork.com-20081219003510-bsc6gf7gq7kdg183
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
void Item_func_sysdate_local::store_now_in_TIME(DRIZZLE_TIME *now_time)
31
31
{
32
32
  Session *session= current_session;
33
 
  session->variables.time_zone->gmt_sec_to_TIME(now_time, (my_time_t) my_time(0));
 
33
  session->variables.time_zone->gmt_sec_to_TIME(now_time, time(NULL));
34
34
}
35
35
 
36
36