Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:39:18 JST 2012
Kouhei Sutou 2012-03-18 17:21:06 +0900 (Sun, 18 Mar 2012) New Revision: 3e1ba6cf1ec927ff2622cc29912d42485e201c94 https://github.com/mroonga/mroonga/commit/3e1ba6cf1ec927ff2622cc29912d42485e201c94 Log: Untabify Modified files: ha_mroonga.cc ha_mroonga.h Modified: ha_mroonga.cc (+4 -4) =================================================================== --- ha_mroonga.cc 2012-03-18 17:18:25 +0900 (2f89514) +++ ha_mroonga.cc 2012-03-18 17:21:06 +0900 (613d3cf) @@ -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 @@ -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; @@ -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); } Modified: ha_mroonga.h (+3 -2) =================================================================== --- ha_mroonga.h 2012-03-18 17:18:25 +0900 (a8fb8cf) +++ ha_mroonga.h 2012-03-18 17:21:06 +0900 (e4db7f8) @@ -1,3 +1,4 @@ +/* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Copyright(C) 2010 Tetsuro IKEDA Copyright(C) 2010-2012 Kentoku SHIBA @@ -533,8 +534,8 @@ private: #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, -------------- next part -------------- HTML����������������������������...Download