~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/time.cc

  • Committer: Toru Maesaka
  • Date: 2008-12-22 03:34:28 UTC
  • mto: (722.1.8 devel)
  • mto: This revision was merged to the branch mainline in revision 727.
  • Revision ID: dev@torum.net-20081222033428-fhvtejjfuvlvivrg
Use time_t instead of my_time_t which should be safe (as in wide enough) on POSIX compliant systems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
     0 - t contains datetime value which is out of TIMESTAMP range.
261
261
 
262
262
*/
263
 
my_time_t TIME_to_timestamp(Session *session, const DRIZZLE_TIME *t,
 
263
time_t TIME_to_timestamp(Session *session, const DRIZZLE_TIME *t,
264
264
                            bool *in_dst_time_gap)
265
265
{
266
 
  my_time_t timestamp;
 
266
  time_t timestamp;
267
267
 
268
268
  *in_dst_time_gap= 0;
269
269