SQL insert in rlm_expr
Bul
tuppe99 at gmail.com
Fri Jun 16 15:58:50 CEST 2017
Yes that is what I thought, but no updates were done on the mysql side. I
was wondering if the return value of 1:
--> 1
indicated success or failure. It is a very simple one column table, so I
don't understand why the update is not there. Weird.
On Fri, Jun 16, 2017 at 2:53 PM, Alan DeKok <aland at deployingradius.com>
wrote:
> On Jun 16, 2017, at 9:47 AM, Marius Booysen <tuppe99 at gmail.com> wrote:
> >
> >
> > Here is an excerpt from the debug log:
> > ...
> > rlm_sql (sql): Reserved connection (1)
> >
> > (0) Executing query: insert into tos values ("TEST TOS");
> >
> > rlm_sql (sql): Released connection (1)
> >
> > (0) EXPAND %{sql:insert into tos values ("TEST TOS");}
> >
> > (0) --> 1
>
> Which means that one row was updated.
>
> It's working from the FreeRADIUS side.
>
> Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html
>
More information about the Freeradius-Users
mailing list