### 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
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to