On 23 Sep 2015, at 16:59, Michal Tomaszewski <Michal.Tomaszewski@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@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2