<h3>Description</h3>
<p>The siptrace module attempts to do a query to check the schema version on startup, however</p>
<h3>Troubleshooting</h3>
<h4>Reproduction</h4>
<p>Load <code>siptrace</code> and <code>db_flatstore</code> modules and set siptrace <code>db_url</code> to a <code>flatstore:</code> url.  siptrace will fail to load due to the inability to query for the table version.</p>
<h3>Possible Solutions</h3>
<p>Since siptrace module only writes data and never reads, it can safely skip the schema version check if the db driver doesn't expose <code>DB_CAP_QUERY</code> or <code>DB_CAP_RAW_QUERY</code> capabilities.  This might apply to other "write only" modules as well but I haven't checked.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1850">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZcYUYU24nXPToxRvan4qtNYDLai7ks5vNFaZgaJpZM4a5_Hz">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZV_uQrSyQhU_XzNZ7YtfTWv97CXoks5vNFaZgaJpZM4a5_Hz.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Cannot use db_flatstore with siptrace module (#1850)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1850"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1850",
"url": "https://github.com/kamailio/kamailio/issues/1850",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>