accounting - more than one query

Alan DeKok aland at deployingradius.com
Wed Dec 9 21:32:19 CET 2015


On Dec 9, 2015, at 3:24 PM, Marcin <marcin at nicram.net> wrote:
> 
> Hi
> In accounting section i'd like to run at least two quieries to database but
> when i write:
> #v+
> start {
>  query = "INSERT INTO one ..."
>  query = "INSERT INTO two ..."
> }
> 
> only this first is executed :/
> how to execute more than one query?

  Configure two SQL modules.  Or, have a stored procedure on the SQL server which does the two inserts, and run the procedure from FreeRADIUS.

  Alan DeKok.




More information about the Freeradius-Users mailing list