~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Toru Maesaka
  • Date: 2008-12-17 07:16:37 UTC
  • mto: (685.1.40 devel) (713.1.5 devel)
  • mto: This revision was merged to the branch mainline in revision 713.
  • Revision ID: dev@torum.net-20081217071637-7j9040w7lpms77r2
Removed my_time() and added error checking

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, (my_time_t) time(0));
34
34
}
35
35
 
36
36