need all the params
This commit is contained in:
parent
cd4ab940db
commit
1e9d1f0fc7
|
@ -184,7 +184,7 @@ func svalbard(dirname string) {
|
||||||
var xid, media, hash string
|
var xid, media, hash string
|
||||||
var content sql.RawBytes
|
var content sql.RawBytes
|
||||||
scanordie(rows, &xid, &media, &hash, &content)
|
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()
|
rows.Close()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue