Skip to content

Commit 9ede284

Browse files
committed
db: remove bulkVersionEdit alias
1 parent e373433 commit 9ede284

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

version_set.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const numLevels = manifest.NumLevels
2525
const manifestMarkerName = `manifest`
2626

2727
// Provide type aliases for the various manifest structs.
28-
type bulkVersionEdit = manifest.BulkVersionEdit
2928
type newTableEntry = manifest.NewTableEntry
3029
type version = manifest.Version
3130
type versionEdit = manifest.VersionEdit
@@ -231,7 +230,7 @@ func (vs *versionSet) load(
231230
manifestFilename := opts.FS.PathBase(manifestPath)
232231

233232
// Read the versionEdits in the manifest file.
234-
var bve bulkVersionEdit
233+
var bve manifest.BulkVersionEdit
235234
bve.AllAddedTables = make(map[base.TableNum]*manifest.TableMetadata)
236235
manifestFile, err := vs.fs.Open(manifestPath)
237236
if err != nil {
@@ -618,7 +617,7 @@ func (vs *versionSet) UpdateVersionLocked(updateFn func() (versionUpdate, error)
618617
return errors.Wrap(err, "MANIFEST blob files apply and update failed")
619618
}
620619

621-
var bulkEdit bulkVersionEdit
620+
var bulkEdit manifest.BulkVersionEdit
622621
err := bulkEdit.Accumulate(ve)
623622
if err != nil {
624623
return errors.Wrap(err, "MANIFEST accumulate failed")

0 commit comments

Comments
 (0)