From 1e9d1f0fc749fbaaecaac731b84e2d5b6644a64a Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Wed, 30 Sep 2020 15:27:22 -0400 Subject: [PATCH] need all the params --- backupdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backupdb.go b/backupdb.go index 8f3c675..088cb54 100644 --- a/backupdb.go +++ b/backupdb.go @@ -184,7 +184,7 @@ func svalbard(dirname string) { var xid, media, hash string var content sql.RawBytes scanordie(rows, &xid, &media, &hash, &content) - doordie(tx, "insert into filedata (xid, media, hash, content) values (?, ?, ?)", xid, media, hash, content) + doordie(tx, "insert into filedata (xid, media, hash, content) values (?, ?, ?, ?)", xid, media, hash, content) } rows.Close() }