[OpenSIPS-Devel] Global variables in db_oracle module

Gang Zhuo gang.zhuo at gmail.com
Wed Jun 1 02:42:02 UTC 2022


Hi,

Maybe an ignorant question, in the db_oracle module I found that it
uses global variables to store whether the database connection is in
asynchronous mode or not (See
https://github.com/OpenSIPS/opensips/blob/master/modules/db_oracle/asynch.c#L48).
Does this correct? Won't there be concurrent database read/write
scenarios in a single process or in a single db connection?

Best regards,

GangZhuo



More information about the Devel mailing list