Navigation Menu

Skip to content

Commit

Permalink
Add TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 24, 2012
1 parent 044e97a commit c154956
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ha_mroonga.cpp
Expand Up @@ -1577,6 +1577,7 @@ static void mrn_grn_time_to_mysql_time(long long int grn_time,
{
struct tm date;
time_t sec_t = sec;
// TODO: Add error check
gmtime_r(&sec_t, &date);
mysql_time->year = date.tm_year + TM_YEAR_BASE;
mysql_time->month = date.tm_mon + 1;
Expand All @@ -1587,6 +1588,7 @@ static void mrn_grn_time_to_mysql_time(long long int grn_time,
{
struct tm date;
time_t sec_t = sec;
// TODO: Add error check
gmtime_r(&sec_t, &date);
mysql_time->year = date.tm_year + TM_YEAR_BASE;
mysql_time->month = date.tm_mon + 1;
Expand Down

0 comments on commit c154956

Please sign in to comment.