Skip to content

Commit 74adca6

Browse files
committed
remove unused consts
1 parent 2737699 commit 74adca6

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

core/rootvalue.go

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ import (
4040
"github.com/dolthub/doltgresql/core/triggers"
4141
)
4242

43-
const (
44-
ddbRootStructName = "dolt_db_root"
45-
tablesKey = "tables"
46-
foreignKeyKey = "foreign_key"
47-
featureVersKey = "feature_ver"
48-
)
49-
5043
// DoltgresFeatureVersion is Doltgres' feature version. We use Dolt's feature version added to our own.
5144
var DoltgresFeatureVersion = doltdb.DoltFeatureVersion + 0
5245

@@ -637,10 +630,10 @@ func (root *RootValue) PutTable(ctx context.Context, tName doltdb.TableName, tab
637630

638631
// RemoveTables implements the interface doltdb.RootValue.
639632
func (root *RootValue) RemoveTables(
640-
ctx context.Context,
641-
skipFKHandling bool,
642-
allowDroppingFKReferenced bool,
643-
originalTables ...doltdb.TableName,
633+
ctx context.Context,
634+
skipFKHandling bool,
635+
allowDroppingFKReferenced bool,
636+
originalTables ...doltdb.TableName,
644637
) (doltdb.RootValue, error) {
645638
if len(originalTables) == 0 {
646639
return root, nil

0 commit comments

Comments
 (0)