~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/microtime.cc

  • Committer: Mark Atwood
  • Date: 2011-07-07 02:23:49 UTC
  • mfrom: (2318.7.3 refactor18)
  • Revision ID: me@mark.atwood.name-20110707022349-y9xgv0io20t368bd
mergeĀ lp:~olafvdspek/drizzle/refactor19

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
  return 0;
86
86
}
87
87
 
88
 
int Microtime::store_time(type::Time &ltime, type::timestamp_t )
 
88
int Microtime::store_time(type::Time &ltime, type::timestamp_t)
89
89
{
90
90
  long my_timezone;
91
 
  bool in_dst_time_gap;
92
91
 
93
92
  type::epoch_t time_tmp;
94
 
  ltime.convert(time_tmp, &my_timezone, &in_dst_time_gap, true);
 
93
  ltime.convert(time_tmp, &my_timezone);
95
94
  uint64_t tmp_seconds= time_tmp;
96
95
  uint32_t tmp_micro= ltime.second_part;
97
96