Navigation Menu

Skip to content

Commit

Permalink
mysql56: support timestamp
Browse files Browse the repository at this point in the history
refs #1547
  • Loading branch information
kou committed Nov 19, 2012
1 parent 9b158bd commit c19c3ce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/mrn_multiple_column_key_codec.cpp
Expand Up @@ -276,10 +276,9 @@ namespace mrn {
break;
#ifdef MRN_HAVE_MYSQL_TYPE_TIMESTAMP2
case MYSQL_TYPE_TIMESTAMP2:
// TODO
DBUG_PRINT("info", ("mroonga: MYSQL_TYPE_TIMESTAMP2"));
*data_type = TYPE_LONG_LONG_NUMBER;
*data_size = 8;
*data_type = TYPE_BYTE_SEQUENCE;
*data_size = key_part->length;
break;
#endif
#ifdef MRN_HAVE_MYSQL_TYPE_DATETIME2
Expand Down

0 comments on commit c19c3ce

Please sign in to comment.