SQL Counter query buffer limit freeradius 3.0.10
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Thu Sep 24 01:19:57 CEST 2015
> On 23 Sep 2015, at 16:59, Michal Tomaszewski <Michal.Tomaszewski at cca.pl> wrote:
>
> Hi,
>
> SQL Counter has a hardcoded limit for the length of SQL query to probably 1024 bytes.
> When query string is longer freeradius debug shows: "sql: Insufficient query buffer space"
>
> 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.
-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/20150923/b5c1c3bc/attachment-0001.sig>
More information about the Freeradius-Users
mailing list