Skip to content

Commit d1c9eef

Browse files
Fix lint
Signed-off-by: Tim Vaillancourt <[email protected]>
1 parent ec50373 commit d1c9eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/logic/applier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ func (this *Applier) WaitForAtomicCutOverRename(tx *gosql.Tx, okToUnlockTable <-
949949
return
950950
case <-ticker.C:
951951
// keep connection alive as we wait for the RENAME.
952-
if _, err := tx.Query(`select /* gh-ost */ 1`); err != nil {
952+
if _, err := tx.Exec(`select /* gh-ost */ 1`); err != nil {
953953
this.migrationContext.Log.Errorf("Failed to ping applier connection: %v", err)
954954
}
955955
}

0 commit comments

Comments
 (0)