Navigation Menu

Skip to content

Commit

Permalink
uint32 -> uint
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 18, 2012
1 parent ec0b098 commit c8ff996
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions ha_mroonga.cc
Expand Up @@ -8844,9 +8844,9 @@ int ha_mroonga::storage_encode_key(Field *field, const uchar *key,
DBUG_RETURN(error);
}

uint32 ha_mroonga::storage_encode_multiple_column_key_float(const uchar *key,
uchar *buffer,
bool decode)
uint ha_mroonga::storage_encode_multiple_column_key_float(const uchar *key,
uchar *buffer,
bool decode)
{
MRN_DBUG_ENTER_METHOD();
uint data_size = 4;
Expand All @@ -8865,12 +8865,12 @@ uint32 ha_mroonga::storage_encode_multiple_column_key_float(const uchar *key,
DBUG_RETURN(data_size);
}

uint32 ha_mroonga::storage_encode_multiple_column_key_double(const uchar *key,
uchar *buffer,
bool decode)
uint ha_mroonga::storage_encode_multiple_column_key_double(const uchar *key,
uchar *buffer,
bool decode)
{
MRN_DBUG_ENTER_METHOD();
uint32 data_size = 8;
uint data_size = 8;
double double_value = 0.0;
float8get(double_value, key);
int n_bits = (data_size * 8 - 1);
Expand Down Expand Up @@ -8923,7 +8923,7 @@ int ha_mroonga::storage_encode_multiple_column_key(KEY *key_info,
TYPE_DOUBLE,
TYPE_BYTE_SEQUENCE
} data_type = TYPE_UNKNOWN;
uint32 data_size = 0;
uint data_size = 0;
long long int long_long_value = 0;
switch (field->real_type()) {
case MYSQL_TYPE_DECIMAL:
Expand Down
12 changes: 6 additions & 6 deletions ha_mroonga.h
Expand Up @@ -533,12 +533,12 @@ class ha_mroonga: public handler
uchar *buf, uint *size);
#endif
int storage_encode_key(Field *field, const uchar *key, uchar *buf, uint *size);
uint32 storage_encode_multiple_column_key_float(const uchar *key,
uchar *buffer,
bool decode);
uint32 storage_encode_multiple_column_key_double(const uchar *key,
uchar *buffer,
bool decode);
uint storage_encode_multiple_column_key_float(const uchar *key,
uchar *buffer,
bool decode);
uint storage_encode_multiple_column_key_double(const uchar *key,
uchar *buffer,
bool decode);
int storage_encode_multiple_column_key(KEY *key_info,
const uchar *key, uint key_length,
uchar *buffer, uint *encoded_length,
Expand Down

0 comments on commit c8ff996

Please sign in to comment.