~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql-common/my_time.c

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
703
703
  time_t seconds;
704
704
  struct tm *l_time,tm_tmp;
705
705
  MYSQL_TIME my_time;
706
 
  my_bool not_used;
 
706
  bool not_used;
707
707
 
708
708
  seconds= (time_t) time((time_t*) 0);
709
709
  localtime_r(&seconds,&tm_tmp);
797
797
*/
798
798
my_time_t
799
799
my_system_gmt_sec(const MYSQL_TIME *t_src, long *my_timezone,
800
 
                  my_bool *in_dst_time_gap)
 
800
                  bool *in_dst_time_gap)
801
801
{
802
802
  uint loop;
803
803
  time_t tmp= 0;
960
960
    else if (diff == -3600)
961
961
      tmp-=t->minute*60 + t->second;            /* Move to previous hour */
962
962
 
963
 
    *in_dst_time_gap= 1;
 
963
    *in_dst_time_gap= true;
964
964
  }
965
965
  *my_timezone= current_timezone;
966
966