[sr-dev] [kamailio/kamailio] Cannot use db_flatstore with siptrace module (#1850)
Chris Ayoup
notifications at github.com
Wed Feb 13 19:16:57 CET 2019
### Description
The siptrace module attempts to do a query to check the schema version on startup, however
### Troubleshooting
#### Reproduction
Load `siptrace` and `db_flatstore` modules and set siptrace `db_url` to a `flatstore:` url. siptrace will fail to load due to the inability to query for the table version.
### Possible Solutions
Since siptrace module only writes data and never reads, it can safely skip the schema version check if the db driver doesn't expose `DB_CAP_QUERY` or `DB_CAP_RAW_QUERY` capabilities. This might apply to other "write only" modules as well but I haven't checked.
--
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/issues/1850
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190213/2bd441ad/attachment.html>
More information about the sr-dev
mailing list