[sr-dev] git:master:112e83c2: sqlops: added note to sql_async_query() about core async_workers

Daniel-Constantin Mierla miconda at gmail.com
Wed Feb 11 15:45:56 CET 2015


Module: kamailio
Branch: master
Commit: 112e83c2e8b72be04f7ad5b896db0bf3bcbdbe8f
URL: https://github.com/kamailio/kamailio/commit/112e83c2e8b72be04f7ad5b896db0bf3bcbdbe8f

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-02-11T11:50:43Z

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

---

Diff:  https://github.com/kamailio/kamailio/commit/112e83c2e8b72be04f7ad5b896db0bf3bcbdbe8f.diff
Patch: https://github.com/kamailio/kamailio/commit/112e83c2e8b72be04f7ad5b896db0bf3bcbdbe8f.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