Sql Counter reads only the first 4 digits

Alan DeKok aland at deployingradius.com
Wed May 20 14:11:54 CEST 2009


Mauro Iorio - Smart Soft s.r.l. wrote:
> I’ve a strange problem with sql counter on freeradius both 1.1.7 and
> 2.1.5 versions.
> 
> Actually executing
>
> SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='mauro'

  What happens when you replace that SELECT statement with a hard-coded
number, like 123456?  Does it still truncate the result?

  Alan DeKok.



More information about the Freeradius-Users mailing list