On Wed, 2020-08-12 at 22:55 +0200, Kjeld Flarup wrote:
Hi Daniel
I can do that, but am I guaranteed, that the right value is
returned?
Kamailio is multithreaded, and I do now know if the mysql connection
is shared across threads.
That is a general sql question, not particular to kamailio...
To me, personally, this is a good use case of a stored procedure, and
then having that stored procedure return to you the information you
want as a result of the sql action taken.
--
Fred Posner
fred(a)palner.com
https://www.palner.com
Need Fred? Call Fred. 336-HEY-FRED
Matrix: @fred:matrix.lod.com