We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 884ba90 commit 2a76b67Copy full SHA for 2a76b67
go/logic/applier.go
@@ -830,7 +830,7 @@ func (this *Applier) SwapTables() error {
830
)
831
log.Infof("Swaping original and new table: %s", query)
832
this.migrationContext.RenameTablesStartTime = time.Now()
833
- if _, err := sqlutils.ExecNoPrepare(this.singletonDB, query); err != nil {
+ if _, err := sqlutils.ExecNoPrepare(this.db, query); err != nil {
834
return err
835
}
836
this.migrationContext.RenameTablesEndTime = time.Now()
0 commit comments