Skip to content

Commit bba8b25

Browse files
author
Shlomi Noach
authored
Merge pull request #592 from github/changelog-table-exec-no-prepare
avoid prepared statements for changelog table
2 parents d37ad9c + dfeefed commit bba8b25

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
@@ -290,7 +290,7 @@ func (this *Applier) WriteChangelog(hint, value string) (string, error) {
290290
sql.EscapeName(this.migrationContext.DatabaseName),
291291
sql.EscapeName(this.migrationContext.GetChangelogTableName()),
292292
)
293-
_, err := sqlutils.Exec(this.db, query, explicitId, hint, value)
293+
_, err := sqlutils.ExecNoPrepare(this.db, query, explicitId, hint, value)
294294
return hint, err
295295
}
296296

0 commit comments

Comments
 (0)