unix ODBC offers the possibilty to do an update or insert in one replace query.
Unfortunately, Oracle unixODBC driver doesn't support this feature. Modifications have
been done in the db_unixodbc module to allow to replace the query by 2 queries : update
and if not exist, insert. This can be controlled by a new parameter replace_query, set to
'1' by default in order to be backward compatible.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/606
-- Commit Summary --
* db_unixodbc: some ODBC drivers do not support ODBC replace query
-- File Changes --
M modules/db_unixodbc/connection.h (2)
M modules/db_unixodbc/db_unixodbc.c (7)
M modules/db_unixodbc/dbase.c (50)
M modules/db_unixodbc/dbase.h (7)
M modules/db_unixodbc/doc/db_unixodbc_admin.xml (30)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/606.patch
https://github.com/kamailio/kamailio/pull/606.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/606