mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 14:41:02 +00:00
merge with the update to rbf to take a Config parameter
This commit is contained in:
parent
4543237e09
commit
85f3fa9836
4 changed files with 4 additions and 4 deletions
|
|
@ -42,7 +42,7 @@ func NewRBFCheckCommand(stdin io.Reader, stdout, stderr io.Writer) *RBFCheckComm
|
|||
// Run executes the export.
|
||||
func (cmd *RBFCheckCommand) Run(ctx context.Context) error {
|
||||
// Open database.
|
||||
db := rbf.NewDB(cmd.Path)
|
||||
db := rbf.NewDB(cmd.Path, nil)
|
||||
if err := db.Open(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ func NewRBFDumpCommand(stdin io.Reader, stdout, stderr io.Writer) *RBFDumpComman
|
|||
// Run executes the export.
|
||||
func (cmd *RBFDumpCommand) Run(ctx context.Context) error {
|
||||
// Open database.
|
||||
db := rbf.NewDB(cmd.Path)
|
||||
db := rbf.NewDB(cmd.Path, nil)
|
||||
if err := db.Open(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ func NewRBFPageCommand(stdin io.Reader, stdout, stderr io.Writer) *RBFPageComman
|
|||
// Run executes the export.
|
||||
func (cmd *RBFPageCommand) Run(ctx context.Context) error {
|
||||
// Open database.
|
||||
db := rbf.NewDB(cmd.Path)
|
||||
db := rbf.NewDB(cmd.Path, nil)
|
||||
if err := db.Open(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ func NewRBFPagesCommand(stdin io.Reader, stdout, stderr io.Writer) *RBFPagesComm
|
|||
// Run executes the export.
|
||||
func (cmd *RBFPagesCommand) Run(ctx context.Context) error {
|
||||
// Open database.
|
||||
db := rbf.NewDB(cmd.Path)
|
||||
db := rbf.NewDB(cmd.Path, nil)
|
||||
if err := db.Open(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue