[Groonga-mysql-commit] mroonga/mroonga [master] Add TODO comments

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 25 00:25:48 JST 2012


Kouhei Sutou	2012-10-25 00:25:48 +0900 (Thu, 25 Oct 2012)

  New Revision: c1549564761bcea3cb3c5ba318ff3d2b4abd9600
  https://github.com/mroonga/mroonga/commit/c1549564761bcea3cb3c5ba318ff3d2b4abd9600

  Log:
    Add TODO comments

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+2 -0)
===================================================================
--- ha_mroonga.cpp    2012-10-25 00:20:51 +0900 (c0adfc0)
+++ ha_mroonga.cpp    2012-10-25 00:25:48 +0900 (de3eefc)
@@ -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;
@@ -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;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index