need all the params

This commit is contained in:
Ted Unangst 2020-09-30 15:27:22 -04:00
parent cd4ab940db
commit 1e9d1f0fc7

View file

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