[Groonga-mysql-commit] mroonga/mroonga at 1b7def7 [master] Use (not long) number for encoding time in multiple column key

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 14 23:06:18 JST 2015


Kouhei Sutou	2015-05-14 23:06:18 +0900 (Thu, 14 May 2015)

  New Revision: 1b7def777081e52fc7cecaf712af17c142bbbe74
  https://github.com/mroonga/mroonga/commit/1b7def777081e52fc7cecaf712af17c142bbbe74

  Message:
    Use (not long) number for encoding time in multiple column key
    
    Because time is not long number. (3 byte integer)

  Modified files:
    lib/mrn_multiple_column_key_codec.cpp

  Modified: lib/mrn_multiple_column_key_codec.cpp (+1 -1)
===================================================================
--- lib/mrn_multiple_column_key_codec.cpp    2015-05-14 23:01:47 +0900 (1e55636)
+++ lib/mrn_multiple_column_key_codec.cpp    2015-05-14 23:06:18 +0900 (ffb2fea)
@@ -350,7 +350,7 @@ namespace mrn {
       break;
     case MYSQL_TYPE_TIME:
       DBUG_PRINT("info", ("mroonga: MYSQL_TYPE_TIME"));
-      *data_type = TYPE_LONG_LONG_NUMBER;
+      *data_type = TYPE_NUMBER;
       *data_size = 3;
       break;
     case MYSQL_TYPE_VARCHAR:
-------------- next part --------------
HTML����������������������������...
Download 



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