Skip to content

How to open database with immutable flag? #131

Description

@JanValiska

Hi,

this is more question than bug report.
I need to read firefox's bookmark database. But when FF is started the database is locked.

➜  hbo9xv4w.default sqlite3 places.sqlite
SQLite version 3.37.0 2021-11-27 14:13:22
Enter ".help" for usage hints.
sqlite> .tables
Error: database is locked
sqlite> 

When I open database with immutable flag, I can read items from database:

➜  hbo9xv4w.default sqlite3 'file:places.sqlite?immutable=1'
SQLite version 3.37.0 2021-11-27 14:13:22
Enter ".help" for usage hints.
sqlite> .tables
moz_anno_attributes                    
moz_annos                              
moz_bookmarks 
...

Is it possible to open database using sqlite.lua library in immutable manner?

Thank you.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions