~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.cc

  • Committer: Monty Taylor
  • Date: 2011-03-11 18:48:55 UTC
  • mfrom: (2228.1.8 build)
  • Revision ID: mordred@inaugust.com-20110311184855-1essd3a6xfr7lx6r
Merged Andrew: drizzledump and docs bug fixes
Merged Barry: pbms bugfixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1130
1130
// We fill the structure based on just int
1131
1131
void Time::to_uint64_t(uint64_t &to) const
1132
1132
{
1133
 
  to= _hours * 24
1134
 
     + _minutes * 60
 
1133
  to= (_hours * 60 * 60)
 
1134
     + (_minutes * 60)
1135
1135
     + _seconds;
1136
1136
}
1137
1137