SQL Counter query buffer limit freeradius 3.0.10

Michal Tomaszewski Michal.Tomaszewski at cca.pl
Wed Sep 23 22:59:56 CEST 2015


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?

Regards,
Mike
________________________________________ Uwaga: Tre?? niniejszej wiadomo?ci mo?e by? poufna i obj?ta zakazem jej ujawniania. Je?li czytelnik tej wiadomo?ci nie jest jej zamierzonym adresatem, pracownikiem lub po?rednikiem upowa?nionym do jej przekazania adresatowi, informujemy ?e wszelkie rozprowadzanie, rozpowszechnianie lub powielanie niniejszej wiadomo?ci jest zabronione. Je?li otrzyma?e? t? wiadomo?? omy?kowo, prosz? bezzw?ocznie odes?a? j? nadawcy, a sam? wiadomo?? usun?? z komputera. Dzi?kujemy. ________________________________ Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.If you have received this communication in error, please notify the sender immediately by replying to the message and deleting it from your computer. Thank you. ________________________________


More information about the Freeradius-Users mailing list