Navigation Menu

Skip to content

Commit

Permalink
Add grn_ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 19, 2012
1 parent 0e3cad5 commit 76e0186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ha_mroonga.cpp
Expand Up @@ -9497,8 +9497,8 @@ int ha_mroonga::storage_encode_key_time2(Field *field, const uchar *key,
my_time_packed_from_binary(key, time2_field->decimals());
MYSQL_TIME mysql_time;
TIME_from_longlong_time_packed(&mysql_time, packed_time);
long long int time = mrn_mysql_time_to_grn_time(&mysql_time);
memcpy(buf, &time, 8);
long long int grn_time = mrn_mysql_time_to_grn_time(&mysql_time);
memcpy(buf, &grn_time, 8);
*size = 8;

DBUG_RETURN(error);
Expand Down

0 comments on commit 76e0186

Please sign in to comment.