plugins/data: that shouldn't be there (nw)

This commit is contained in:
cracyc 2019-11-29 08:36:30 -06:00
parent 47f2f58c1c
commit b5f648cca7

View File

@ -151,9 +151,6 @@ function datfile.open(file, vertag, fixupcb)
local row = stmt:last_insert_rowid()
stmt:finalize()
for num, tag in pairs(tags) do
if fixupcb then
fixupcb(data)
end
stmt = db.prepare("INSERT INTO \"" .. file .. "_idx\" VALUES (?, ?, ?, ?)")
db.check("inserting into index")
stmt:bind_values(infotype, tag.tag, tag.set, row)