MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / db_unixodbc_replace

Function db_unixodbc_replace

modules/db_unixodbc/dbase.c:337–343  ·  view source on GitHub ↗

* Just like insert, but replace the row if it exists */

Source from the content-addressed store, hash-verified

335 * Just like insert, but replace the row if it exists
336 */
337int db_unixodbc_replace(const db_con_t* _h, const db_key_t* _k,
338 const db_val_t* _v, const int _n)
339{
340 CON_RESET_CURR_PS(_h); /* no prepared statements support */
341 return db_do_replace(_h, _k, _v, _n, db_unixodbc_val2str,
342 db_unixodbc_submit_query);
343}
344
345/*
346 * Store name of table that will be used by

Callers

nothing calls this directly

Calls 1

db_do_replaceFunction · 0.85

Tested by

no test coverage detected