SQL query length

Peter Nixon listuser at peternixon.net
Wed Jan 16 19:00:51 CET 2008


> > > b) Is there a limit to the sql query length?
> >
> >  In 1.1.x, yes.  About 253 octets in many cases.  If the queries are in
> > the configuration (e.g. rlm_sql_ippool), then the queries can be very
> > long.
>
> Ok, this is certainly a problem for me. I can't change freeradius version
> (at least not now, maybe in the future) so I assume the only option is to
> 'exec' external scripts to perform more complex queries, am I right?

Or use a SQL stored proceedure.


-- 

Peter Nixon
http://peternixon.net/



More information about the Freeradius-Users mailing list