[sr-dev] [kamailio/kamailio] core: allow 64-bit integer when checking version number (#1186)

Emmanuel Schmidbauer notifications at github.com
Wed Jul 12 20:35:25 CEST 2017


this is the table schema i loaded into cockroachdb
```
CREATE TABLE version (
    table_name text,
    table_version INT
);
```
the result type detected by kamailio for the `table_version` column matches DB1_DOUBLE.
i discovered this by outputting VAL_TYPE(ver) to the log.
if DB1_BIGINT will match, im ok with that change too.
The use case is to add support to cockroachdb (which supports postgresql-client lib)

-- 
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/1186#issuecomment-314858361
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170712/02814865/attachment-0001.html>


More information about the sr-dev mailing list