SQLite Archiver

View Ticket
Login
Ticket Hash: a889338d20650d9bb2a1015f93163925f4a36386
Title: filename -> name
Status: Open Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2016-10-17 10:59:52
Version Found In: sqlar-src-72ca977d53
User Comments:
anonymous added on 2016-10-17 10:59:52:
Hello, 

it seems that there is a typo in your code. The file: sqlar.c line 590. Without a modification I got an error:
adam@AdamMac:/tmp/sqlar/sqlar-src-72ca977d53$ ./sqlar -x test.db
Error: no such column: filename
while preparing: SELECT name, mode, mtime, sz, data FROM sqlar WHERE name_on_list(filename)

test.db is a test archive I had created. The fix is to rename filename to name and recompile the sources. That's it.

Thank you and sorry if you already know about it.

Take care.