~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.cc

  • Committer: Brian Aker
  • Date: 2009-05-03 22:35:33 UTC
  • mfrom: (997.2.26 mordred)
  • Revision ID: brian@gaz-20090503223533-lv7lwqelv08dnv2j
Merge of Monty's code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1519
1519
void Date::to_time_t(time_t *to) const
1520
1520
{
1521
1521
  if (in_unix_epoch())
 
1522
  {
1522
1523
    *to= _epoch_seconds;
1523
 
  *to= 0;
 
1524
  }
 
1525
  else
 
1526
    *to= 0;
1524
1527
}
1525
1528
 
1526
1529
void Timestamp::to_time_t(time_t *to) const