Daniel-Constantin Mierla writes:
perhaps the log in db_mysql_async_exec_task() can be easily extended to print more details.
looks like it. i made the change below. is it ok to commit the diff?
-- juha
*** /usr/src/orig/kamailio/modules/db_mysql/km_dbase.c Mon May 4 10:34:34 2015 --- km_dbase.c Thu May 21 09:27:57 2015 *************** *** 140,146 **** return; } if(db_mysql_submit_query(dbc, &p[1])<0) { ! LM_ERR("failed to execute query on async worker\n"); } db_mysql_close(dbc); } --- 140,147 ---- return; } if(db_mysql_submit_query(dbc, &p[1])<0) { ! LM_ERR("failed to execute query [%.*s] on async worker\n", ! p[1].len, p[1].s); } db_mysql_close(dbc); }