This would require modifications to
```
~/git/kamailio/src$ grep -R --include="*.c" insert_update *
the DB base framework and 4 implementations : db_mysql, db_cassandra, db_mysql,
db_cluster
lib/srdb1/db.c: if (dbf->insert_update) {
lib/srdb1/db.c: dbf.insert_update = (db_insert_update_f)find_mod_export(tmp,
lib/srdb1/db.c: "db_insert_update", 2, 0);
modules/db_postgres/km_dbase.c: * Why is insert_update doing nothing in Kamailio db
insert_update ?
modules/db_postgres/km_dbase.c:int db_postgres_insert_update(const db1_con_t* _h, const
db_key_t* _k, const db_val_t* _v,
modules/db_postgres/km_dbase.c: LM_ERR("error while preparing insert_update
operation\n");
modules/db_postgres/db_postgres.c: dbb->insert_update = db_postgres_insert_update;
modules/db_postgres/km_pg_con.c: LM_WARN("server version < 9.5 does not support
insert_update\n");
modules/db_cassandra/db_cassandra.c: dbb->insert_update = db_cassa_insert;
modules/db_mysql/km_dbase.c: int db_mysql_insert_update(const db1_con_t* _h, const
db_key_t* _k, const db_val_t* _v,
modules/db_mysql/km_dbase.c: LM_ERR("error while preparing insert_update
operation\n");
modules/db_mysql/km_db_mysql.c: dbb->insert_update = db_mysql_insert_update;
modules/db_cluster/db_cluster_mod.c: dbb->insert_update = db_cluster_insert_update;
modules/db_cluster/dbcl_api.c:int db_cluster_insert_update(const db1_con_t* _h, const
db_key_t* _k, const db_val_t* _v,
modules/db_cluster/dbcl_api.c: DBCL_WRITE(insert_update, insert_update(dbh, _k, _v, _n));
as well as the clients :
modules/p_usrloc/ul_db_ins_upd.c:int db_insert_update(ul_db_handle_t * handle,
modules/p_usrloc/ul_db.c:int ul_db_insert_update(str * table, str * first, str * second,
modules/p_usrloc/ul_db.c: return db_insert_update(handle, table, _k, _v, _n);
modules/p_usrloc/ul_db_form_query.c: if(dbf->insert_update(dbh, _k, _v, _n ) < 0)
{
modules/ims_usrloc_scscf/usrloc_db.c: if (ul_dbf.insert_update(ul_dbh, key, val, i) != 0)
{
modules/ims_usrloc_scscf/usrloc_db.c: if (ul_dbf.insert_update(ul_dbh, key, val, 7) != 0)
{
modules/ims_usrloc_scscf/usrloc_db.c: if (ul_dbf.insert_update(ul_dbh, key, val, col_num)
!= 0) {
```
--
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/1039#issuecomment-287936993