[Groonga-commit] groonga/grngo at 53a4304 [master] Enable LZ4 instead of LZO.

Back to archive index

susumu.yata null+****@clear*****
Tue Jun 23 22:53:21 JST 2015


susumu.yata	2015-06-23 22:53:21 +0900 (Tue, 23 Jun 2015)

  New Revision: 53a43045d7b5cafabb64c2ead493af9eaa98b2b6
  https://github.com/groonga/grngo/commit/53a43045d7b5cafabb64c2ead493af9eaa98b2b6

  Message:
    Enable LZ4 instead of LZO.

  Modified files:
    grngo.go

  Modified: grngo.go (+3 -3)
===================================================================
--- grngo.go    2015-06-23 22:42:05 +0900 (2ba3f3a)
+++ grngo.go    2015-06-23 22:53:21 +0900 (cf2f4bb)
@@ -129,7 +129,7 @@ type CompressionType int
 const (
 	NoCompression = CompressionType(iota)
 	ZlibCompression
-	LzoCompression
+	Lz4Compression
 )
 
 // http://groonga.org/ja/docs/reference/commands/column_create.html
@@ -728,8 +728,8 @@ func (table *Table) CreateColumn(name string, valueType string,
 	case NoCompression:
 	case ZlibCompression:
 		optionsMap["flags"] = "|COMPRESS_ZLIB"
-	case LzoCompression:
-		optionsMap["flags"] = "|COMRESS_LZO"
+	case Lz4Compression:
+		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