Navigation Menu

Skip to content

Commit

Permalink
Untabify
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 18, 2012
1 parent 3cd1c4e commit 3e1ba6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ha_mroonga.cc
@@ -1,4 +1,4 @@
/* -*- c-basic-offset: 2 -*- */
/* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Copyright(C) 2010 Tetsuro IKEDA
Copyright(C) 2010-2012 Kentoku SHIBA
Expand Down Expand Up @@ -8845,8 +8845,8 @@ int ha_mroonga::storage_encode_key(Field *field, const uchar *key,
}

uint32 ha_mroonga::storage_encode_multiple_column_key_float(const uchar *key,
uchar *buffer,
bool decode)
uchar *buffer,
bool decode)
{
MRN_DBUG_ENTER_METHOD();
uint data_size = 4;
Expand All @@ -8860,7 +8860,7 @@ uint32 ha_mroonga::storage_encode_multiple_column_key_float(const uchar *key,
if (decode) {
int_value = *((int *)buffer);
*((int *)buffer) = int_value ^ (((int_value ^ (1 << n_bits)) >> n_bits) |
(1 << n_bits));
(1 << n_bits));
}
DBUG_RETURN(data_size);
}
Expand Down
5 changes: 3 additions & 2 deletions ha_mroonga.h
@@ -1,3 +1,4 @@
/* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Copyright(C) 2010 Tetsuro IKEDA
Copyright(C) 2010-2012 Kentoku SHIBA
Expand Down Expand Up @@ -533,8 +534,8 @@ class ha_mroonga: public handler
#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);
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 3e1ba6c

Please sign in to comment.