[Groonga-mysql-commit] mroonga/mroonga [master] mysql56: support time

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 19 18:09:30 JST 2012


Kouhei Sutou	2012-11-19 18:09:30 +0900 (Mon, 19 Nov 2012)

  New Revision: 27195a6ac5a8c67aec7b7b47002af25dfc2ce13d
  https://github.com/mroonga/mroonga/commit/27195a6ac5a8c67aec7b7b47002af25dfc2ce13d

  Log:
    mysql56: support time
    
    refs #1547

  Modified files:
    lib/mrn_multiple_column_key_codec.cpp

  Modified: lib/mrn_multiple_column_key_codec.cpp (+2 -3)
===================================================================
--- lib/mrn_multiple_column_key_codec.cpp    2012-11-19 18:09:23 +0900 (ca646c4)
+++ lib/mrn_multiple_column_key_codec.cpp    2012-11-19 18:09:30 +0900 (4f644bf)
@@ -290,10 +290,9 @@ namespace mrn {
 #endif
 #ifdef MRN_HAVE_MYSQL_TYPE_TIME2
     case MYSQL_TYPE_TIME2:
-      // TODO
       DBUG_PRINT("info", ("mroonga: MYSQL_TYPE_TIME2"));
-      *data_type = TYPE_LONG_LONG_NUMBER;
-      *data_size = 8;
+      *data_type = TYPE_BYTE_SEQUENCE;
+      *data_size = key_part->length;
       break;
 #endif
     case MYSQL_TYPE_NEWDECIMAL:
-------------- next part --------------
HTML����������������������������...
Download 



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