@miconda commented on this pull request.
In src/modules/usrloc/udomain.c:
> if (ul_dbf.use_table(ul_dbh, _d->name) < 0) { LM_ERR("use_table failed\n"); return -1; } + + if (ul_db_srvid != 0) { + key_num = 3; + }
I think it is better to move this if
bloc at line 913 above and have those assignements for keys/ops/vals with index [2]
inside it. It is better to see have related operations grouped together, avoiding also useless operations if ul_db_srvid is 0.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.