From 9aef2707ea160d7039f29809a41085887106d739 Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Thu, 1 Aug 2019 15:19:55 +0300 Subject: [PATCH] bailing out on missing _ghc table on failure to writing to it --- go/logic/applier.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/logic/applier.go b/go/logic/applier.go index bc48242..69fff83 100644 --- a/go/logic/applier.go +++ b/go/logic/applier.go @@ -290,6 +290,7 @@ func (this *Applier) WriteChangelog(hint, value string) (string, error) { sql.EscapeName(this.migrationContext.GetChangelogTableName()), ) _, err := sqlutils.ExecNoPrepare(this.db, query, explicitId, hint, value) + this.migrationContext.PanicAbortIfTableError(err) return hint, err }