2 changed files with 2 additions and 26 deletions
@ -1,22 +0,0 @@
|
||||
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.
|
||||
Loading…
Reference in new issue