Multiple fieldnames in SQL query, was: Perl vs. python vs. Lua?

Dom Latter freeradius-users at latter.org
Thu Apr 12 17:29:10 CEST 2018



On 12/04/18 16:25, Alan DeKok wrote:
>> So the plan was to move to Perl; but if we did that and ran our mysql queries inside a perl script would we still have the performance issues?
> 
>    It would be much better than forking a PHP script.

Okay.

>> I am beginning to think that we can construct a (rather complicated)
>> query that will return the VLAN that needs to be assigned, or 0 to
>> indicate rejection, or a magic number that will indicate further
>> processing required, and use unlang to act appropriately (and call
>> either a PHP script or in due course a perl script).
> 
>    That makes sense.

Does the pseudo-code look sensible then?  I am very much a noob with
regards to unlang.


More information about the Freeradius-Users mailing list