SQL Counter query buffer limit freeradius 3.0.10

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Sep 24 16:16:42 CEST 2015


> On 24 Sep 2015, at 09:02, Michal Tomaszewski <Michal.Tomaszewski at cca.pl> wrote:
> 
>>> 
>>> It seems to be not sufficient in the case of longer, more sophisticated
>> queries, e.g. when the timezone conversions must be applied few times in
>> the single query string or query logic shall contain other data subsets.
>>> Some our queries reach almost 1500 bytes...
>>> 
>>> Is there any other way to define 'long query' SQL statement to be correctly
>> processed by sqlcounter module?
>> 
>> Not currently.  Maybe in v3.1.x HEAD.  I can make the changes if you're willing
>> to test.
>> 
> Thank you Arran.
> 
> Is it enough to change
> #define MAX_QUERY_LEN   1024
> in rlm_sqlcounter.c into higher value?

Yep.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150924/866b2461/attachment-0001.sig>


More information about the Freeradius-Users mailing list