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