[sr-dev] [tracker] Comment added: Database and cache inconsistency with registrar module / usrloc

sip-router admin at sip-router.org
Fri Mar 12 18:58:45 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#41 - Database and cache inconsistency with registrar module / usrloc
User who did this - Henning Westerholt (henningw)

----------
(There is an error in my previous comment, i refer of course to the UPDATE case.)

If i remember correctly (has been some time..) then i think you need only to change the DB API call in modules_k/usrloc/ucontact.c:db_insert_ucontact(..) from ul_dbf.insert(..) to ul_dbf.insert_update(..), and then change in the same file in the update_ucontact function the call of 'db_update_ucontact(_c)' to 'db_insert_ucontact(_c)'. Then all contact update calls will use the insert on duplicate key update function, and all inserts will use this function as well.
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=41#comment33

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list