~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2011-01-13 00:08:59 UTC
  • mto: (2082.4.1 timestamp)
  • mto: This revision was merged to the branch mainline in revision 2098.
  • Revision ID: brian@tangent.org-20110113000859-8dw4ybnp8id56u50
Fix issue with return value from unix_timestamp(). Also clean up error
messages, and remove limit on value for timestamp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1324
1324
    return (_start_timer - _epoch).total_seconds();
1325
1325
  }
1326
1326
 
1327
 
  time_t getCurrentTimestampEpoch(uint32_t &fraction_arg) const
 
1327
  time_t getCurrentTimestampEpoch(type::Time::usec_t &fraction_arg) const
1328
1328
  { 
1329
1329
    if (not _user_time.is_not_a_date_time())
1330
1330
    {