Skip to content

Commit

Permalink
added transaction uncommented
Browse files Browse the repository at this point in the history
  • Loading branch information
kapitan-k committed Jun 9, 2017
1 parent bf0fb4c commit abb945c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions checkpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ type Checkpoint struct {
c *C.rocksdb_checkpoint_t
}

// NewNativeCheckpoint creates a new checkpoint.
func NewNativeCheckpoint(c *C.rocksdb_checkpoint_t) *Checkpoint {
return &Checkpoint{c}
}
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ func (opts *Options) SetUseDirectReads(value bool) {
// When true, new_table_reader_for_compaction_inputs is forced to true.
// Default: false
func (opts *Options) SetUseDirectIOForFlushAndCompaction(value bool) {
// C.rocksdb_options_set_use_direct_io_for_flush_and_compaction(opts.c, boolToChar(value))
C.rocksdb_options_set_use_direct_io_for_flush_and_compaction(opts.c, boolToChar(value))
}

// SetIsFdCloseOnExec enable/dsiable child process inherit open files.
Expand Down

0 comments on commit abb945c

Please sign in to comment.