[sr-dev] acc db_insert_mode=2 asks for DELAYED option

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 16 13:35:21 CEST 2014


Hello,

On 16/04/14 13:22, Juha Heinanen wrote:
> i tried new acc db_insert_mode=2 by defining in config:
>
> modparam("acc", "db_insert_mode", 2)
>
> and here is what i got to syslog:
>
> Apr 16 14:14:41 siika /usr/sbin/sip-proxy[30122]: ERROR: db_mysql [km_dbase.c:123]: db_mysql_submit_query(): driver error on query: DELAYED option not supported for table 'accounting'
> Apr 16 14:14:41 siika /usr/sbin/sip-proxy[30122]: ERROR: db_mysql [km_dbase.c:145]: db_mysql_async_exec_task(): failed to execute query on async worker
>
> as per my question and daniel's reply, this mode has nothing to do with
> DELAYED option.
it was a c&p error in mysql module and delayed option was used when 
shouldn't have been (I guess I had myisam table and that worked for me). 
Can you try with latest git?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-dev mailing list