Skip to content

Commit

Permalink
Removed a few commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
orware committed Dec 3, 2024
1 parent 8d23d88 commit 033d59a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/dumper/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,13 +462,6 @@ func (l *Loader) restoreTable(ctx context.Context, table string, conn *Connectio
return 0, err
}
query1 := string(data)
//queries := strings.Split(query1, ";\n")
//lastQuery := queries[len(queries)-1]

// Commonly for our files the last entry is non-actionable so we should exclude it automatically:
//if strings.HasPrefix(lastQuery, "/*") || lastQuery == "" {
// queries = queries[:len(queries)-1]
//}

parser, err := sqlparser.New(sqlparser.Options{})
if err != nil {
Expand Down

0 comments on commit 033d59a

Please sign in to comment.