From dfeefed5dc0d8704799448fa90cb3d3c1bf0609b Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Sun, 20 May 2018 13:46:33 +0300 Subject: [PATCH] avoid prepared statements for changelog table --- go/logic/applier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/logic/applier.go b/go/logic/applier.go index 0a2951e..afdc45f 100644 --- a/go/logic/applier.go +++ b/go/logic/applier.go @@ -290,7 +290,7 @@ func (this *Applier) WriteChangelog(hint, value string) (string, error) { sql.EscapeName(this.migrationContext.DatabaseName), sql.EscapeName(this.migrationContext.GetChangelogTableName()), ) - _, err := sqlutils.Exec(this.db, query, explicitId, hint, value) + _, err := sqlutils.ExecNoPrepare(this.db, query, explicitId, hint, value) return hint, err }