Skip to content

Commit c13be70

Browse files
committed
Add execinquery linter comment
1 parent 278ec29 commit c13be70

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

go/logic/applier.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,6 +1560,7 @@ func (this *Applier) ApplyDMLEventQueries(dmlEvents [](*binlog.BinlogDMLEvent))
15601560

15611561
// Check for warnings when PanicOnWarnings is enabled
15621562
if this.migrationContext.PanicOnWarnings {
1563+
//nolint:execinquery
15631564
rows, err := tx.Query("SHOW WARNINGS")
15641565
if err != nil {
15651566
return rollback(err)

0 commit comments

Comments
 (0)