Using a `db_param_list` `clist` we can preset `SQLITE_OPEN_READONLY` on specific database
file, this can be reused for more sqlite specific settings since we probably do not want
extand `km_dbase` for db engine specific settings.
This is required when another process is writing to the db
Example:
``modparam("db_sqlite","db_set_readonly","/var/mydb.sqlite")``
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1133
-- Commit Summary --
* db_sqlite: new param to open some database in read-only
-- File Changes --
M src/modules/db_sqlite/db_sqlite.c (79)
M src/modules/db_sqlite/dbase.c (14)
M src/modules/db_sqlite/doc/db_sqlite.xml (16)
M src/modules/db_sqlite/doc/db_sqlite_admin.xml (26)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1133.patch
https://github.com/kamailio/kamailio/pull/1133.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1133