Hi,

I am trying to figure out if is it safe to use in OpenSIPs config file:

avp_db_query("INSERT INTO some_table VALUES ('data1')");
avp_db_query("SELECT LAST_INSERT_ID()","$avp(last_id);");

// do stuff with $avp(last_id);

How does OpenSIPs connects to MySQL sever? Does it use some smart
connection pooling maybe, which could result in unexpected behaviour?

Regards,
Chris

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to