[Groonga-mysql-commit] mroonga/mroonga [master] Use longlong instead of long long int for MySQL's packed time

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 19 22:54:43 JST 2012


Kouhei Sutou	2012-11-19 22:54:43 +0900 (Mon, 19 Nov 2012)

  New Revision: 64769207882c1981f3d57b6364db2e16e215e4e5
  https://github.com/mroonga/mroonga/commit/64769207882c1981f3d57b6364db2e16e215e4e5

  Log:
    Use longlong instead of long long int for MySQL's packed time

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2012-11-19 22:54:18 +0900 (d7c041b)
+++ ha_mroonga.cpp    2012-11-19 22:54:43 +0900 (6bc579d)
@@ -9493,7 +9493,7 @@ int ha_mroonga::storage_encode_key_time2(Field *field, const uchar *key,
   int error = 0;
 
   Field_timef *time2_field = (Field_timef *)field;
-  long long int packed_time =
+  longlong packed_time =
     my_time_packed_from_binary(key, time2_field->decimals());
   MYSQL_TIME mysql_time;
   TIME_from_longlong_time_packed(&mysql_time, packed_time);
-------------- next part --------------
HTML����������������������������...
Download 



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