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
Hello,
can this changes be included in the incoming 4.4.1?
Thx
Giovanni
-- View this message in context: http://sip-router.1086192.n5.nabble.com/kamailio-kamailio-db-unixodbc-some-O... Sent from the Development mailing list archive at Nabble.com.
Thanks, it will be merged!
--- 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#issuecomment-218091913
Merged #606.
--- 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#event-655431511