~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2011-01-06 18:00:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2064.
  • Revision ID: brian@tangent.org-20110106180047-0l214nvry9x1lkxo
Merge in fixes for microtimestamp,

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
void Item_func_curdate_local::store_now_in_TIME(type::Time *now_time)
56
56
{
57
57
  Session *session= current_session;
58
 
  time_t tmp= session->query_start();
 
58
  time_t tmp= session->getCurrentTimestampEpoch();
59
59
 
60
60
  (void) cached_temporal.from_time_t(tmp);
61
61
 
74
74
void Item_func_curdate_utc::store_now_in_TIME(type::Time *now_time)
75
75
{
76
76
  Session *session= current_session;
77
 
  time_t tmp= session->query_start();
 
77
  time_t tmp= session->getCurrentTimestampEpoch();
78
78
 
79
79
  (void) cached_temporal.from_time_t(tmp);
80
80