[Groonga-commit] groonga/grngo at a880b43 [master] Fix a bug that "=" is used instead of "+=".

Back to archive index

susumu.yata null+****@clear*****
Fri Jul 10 16:56:01 JST 2015


susumu.yata	2015-07-10 16:56:01 +0900 (Fri, 10 Jul 2015)

  New Revision: a880b43ad268c5a60dd8429b0a4cf8ed8e529d71
  https://github.com/groonga/grngo/commit/a880b43ad268c5a60dd8429b0a4cf8ed8e529d71

  Message:
    Fix a bug that "=" is used instead of "+=".

  Modified files:
    grngo.go

  Modified: grngo.go (+2 -2)
===================================================================
--- grngo.go    2015-07-10 16:46:41 +0900 (d99dfe5)
+++ grngo.go    2015-07-10 16:56:01 +0900 (c9b2b22)
@@ -1068,9 +1068,9 @@ func (table *Table) createColumnOptionsMap(name string, valueType string, option
 	switch options.Flags & CompressMask {
 	case CompressNone:
 	case CompressZlib:
-		optionsMap["flags"] = "|COMPRESS_ZLIB"
+		optionsMap["flags"] += "|COMPRESS_ZLIB"
 	case CompressLZ4:
-		optionsMap["flags"] = "|COMRESS_LZ4"
+		optionsMap["flags"] += "|COMRESS_LZ4"
 	default:
 		return nil, fmt.Errorf("undefined compression type: options = %+v", options)
 	}
-------------- next part --------------
HTML����������������������������...
Download 



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