You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.3 KiB
22 lines
1.3 KiB
Index: src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/dynflag.go |
|
--- src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/dynflag.go.orig 2016-07-07 16:56:43.000000000 +0200 |
|
+++ src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/dynflag.go 2016-07-07 16:59:28.531029410 +0200 |
|
@@ -2,5 +2,5 @@ |
|
|
|
package gorocksdb |
|
|
|
-// #cgo LDFLAGS: -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy |
|
+// #cgo LDFLAGS: -lrocksdb -lstdc++ -lm -lsnappy |
|
import "C" |
|
Index: src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/options.go |
|
--- src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/options.go.orig 2016-07-07 16:56:43.000000000 +0200 |
|
+++ src/github.com/dgraph-io/dgraph/vendor/github.com/tecbot/gorocksdb/options.go 2016-07-07 17:05:27.931155124 +0200 |
|
@@ -325,7 +325,7 @@ |
|
// SetCompressionOptions sets different options for compression algorithms. |
|
// Default: nil |
|
func (opts *Options) SetCompressionOptions(value *CompressionOptions) { |
|
- C.rocksdb_options_set_compression_options(opts.c, C.int(value.WindowBits), C.int(value.Level), C.int(value.Strategy)) |
|
+ C.rocksdb_options_set_compression_options(opts.c, C.int(value.WindowBits), C.int(value.Level), C.int(value.Strategy), C.int(0)) |
|
} |
|
|
|
// SetPrefixExtractor sets the prefic extractor.
|
|
|