[sr-dev] git:4.2:2ee8e8d0: sqlops: added note to sql_async_query() about core async_workers

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 12 09:53:25 CET 2015


Module: kamailio
Branch: 4.2
Commit: 2ee8e8d0a0808fde86941712bc7fbebcac103dcc
URL: https://github.com/kamailio/kamailio/commit/2ee8e8d0a0808fde86941712bc7fbebcac103dcc

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-02-12T09:52:27+01:00

sqlops: added note to sql_async_query() about core async_workers

- the parameter must be set to enable the async framework used by this
  function

(cherry picked from commit 112e83c2e8b72be04f7ad5b896db0bf3bcbdbe8f)

---

Modified: modules/sqlops/doc/sqlops_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/2ee8e8d0a0808fde86941712bc7fbebcac103dcc.diff
Patch: https://github.com/kamailio/kamailio/commit/2ee8e8d0a0808fde86941712bc7fbebcac103dcc.patch

---

diff --git a/modules/sqlops/doc/sqlops_admin.xml b/modules/sqlops/doc/sqlops_admin.xml
index ec61cac..bb9011b 100644
--- a/modules/sqlops/doc/sqlops_admin.xml
+++ b/modules/sqlops/doc/sqlops_admin.xml
@@ -385,7 +385,9 @@ sql_result_free("ra");
 			driver module (e.g., db_mysql). The query is executed in another
 			process and result is not available back to config, thus it should
 			be used only for sql statements that don't return values (e.g.,
-			insert, delete, update...).
+			insert, delete, update...). Note that async_workers core parameter
+			must be set in order to enable the asyncronous framework
+			needed by this function.
 		</para>
 		<itemizedlist>
 		<listitem>




More information about the sr-dev mailing list