[Groonga-mysql-commit] mroonga/mroonga at 2d87fd8 [master] Add a missing '\'

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Apr 22 18:06:52 JST 2013


Kouhei Sutou	2013-04-22 18:06:52 +0900 (Mon, 22 Apr 2013)

  New Revision: 2d87fd8aed4bed8234ce0884b3976ed390b69d5c
  https://github.com/mroonga/mroonga/commit/2d87fd8aed4bed8234ce0884b3976ed390b69d5c

  Message:
    Add a missing '\'
    
    Oh...

  Modified files:
    lib/mrn_multiple_column_key_codec.cpp

  Modified: lib/mrn_multiple_column_key_codec.cpp (+1 -1)
===================================================================
--- lib/mrn_multiple_column_key_codec.cpp    2013-04-22 17:45:16 +0900 (64ecdc9)
+++ lib/mrn_multiple_column_key_codec.cpp    2013-04-22 18:06:52 +0900 (157c3e9)
@@ -516,7 +516,7 @@ namespace mrn {
         memcpy(grn_key, normalized, normalized_length);
         if (normalized_length < *data_size) {
           memset(grn_key + normalized_length,
-                 '0', *data_size - normalized_length);
+                 '\0', *data_size - normalized_length);
         }
         new_blob_data_length = normalized_length;
       } else {
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-mysql-commit mailing list
Back to archive index