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() }