~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

Merged from Toru - removal of my_time_t.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2970
2970
      if (file->stats.create_time)
2971
2971
      {
2972
2972
        session->variables.time_zone->gmt_sec_to_TIME(&time,
2973
 
                                                  (my_time_t) file->stats.create_time);
 
2973
                                                  (time_t) file->stats.create_time);
2974
2974
        table->field[14]->store_time(&time, DRIZZLE_TIMESTAMP_DATETIME);
2975
2975
        table->field[14]->set_notnull();
2976
2976
      }
2977
2977
      if (file->stats.update_time)
2978
2978
      {
2979
2979
        session->variables.time_zone->gmt_sec_to_TIME(&time,
2980
 
                                                  (my_time_t) file->stats.update_time);
 
2980
                                                  (time_t) file->stats.update_time);
2981
2981
        table->field[15]->store_time(&time, DRIZZLE_TIMESTAMP_DATETIME);
2982
2982
        table->field[15]->set_notnull();
2983
2983
      }
2984
2984
      if (file->stats.check_time)
2985
2985
      {
2986
2986
        session->variables.time_zone->gmt_sec_to_TIME(&time,
2987
 
                                                  (my_time_t) file->stats.check_time);
 
2987
                                                  (time_t) file->stats.check_time);
2988
2988
        table->field[16]->store_time(&time, DRIZZLE_TIMESTAMP_DATETIME);
2989
2989
        table->field[16]->set_notnull();
2990
2990
      }