Skip to content

Commit f57331c

Browse files
committed
Fixes
1 parent a5d3a13 commit f57331c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

go/libraries/doltcore/env/actions/dolt_ci/workflow_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ func (d *doltWorkflowManager) validateWorkflowTables(ctx *sql.Context) error {
570570

571571
tableMap := make(map[string]struct{})
572572
for _, table := range tables {
573-
if doltdb.IsDoltCITable(table) {
573+
if doltdb.IsDoltCITable(table, doltdb.HasDoltPrefix(table)) {
574574
tableMap[table] = struct{}{}
575575
}
576576
}

go/libraries/doltcore/sqle/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ func filterDoltInternalTables(ctx *sql.Context, tblNames []string, schemaName st
11341134
result := []string{}
11351135

11361136
for _, tbl := range tblNames {
1137-
if doltdb.IsDoltCITable(tbl) {
1137+
if doltdb.IsDoltCITable(tbl, doltdb.HasDoltCIPrefix(tbl)) {
11381138
if doltdb.DoltCICanBypass(ctx) {
11391139
result = append(result, tbl)
11401140
}

go/libraries/doltcore/sqle/user_space_database.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (db *UserSpaceDatabase) Schema() string {
4848
}
4949

5050
func (db *UserSpaceDatabase) GetTableInsensitive(ctx *sql.Context, tableName string) (sql.Table, bool, error) {
51-
if doltdb.IsReadOnlySystemTable(tableName, false) {
51+
if doltdb.IsReadOnlySystemTable(tableName, doltdb.HasDoltPrefix(tableName)) {
5252
return nil, false, nil
5353
}
5454
table, tableName, ok, err := doltdb.GetTableInsensitive(ctx, db.RootValue, doltdb.TableName{Name: tableName})
@@ -76,7 +76,7 @@ func (db *UserSpaceDatabase) GetTableNames(ctx *sql.Context) ([]string, error) {
7676
}
7777
resultingTblNames := []string{}
7878
for _, tbl := range tableNames {
79-
if !doltdb.IsReadOnlySystemTable(tbl, false) {
79+
if !doltdb.IsReadOnlySystemTable(tbl, doltdb.HasDoltPrefix(tbl)) {
8080
resultingTblNames = append(resultingTblNames, tbl)
8181
}
8282
}

0 commit comments

Comments
 (0)