<div>Hello,</div>
<div> </div>
<div>I'm using rlm_sql_log in freeradius 1.1.4.</div>
<div> </div>
<div>In order to correctly work with acct-input/ output gigawords, I've replaced '%{Acct-Input-Octets}' with <font size="2">'%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}' in the rlm_sql_log conf, but this results in invalid queries like:
</font></div>
<div><font size="2"></font> </div>
<div><font size="2">"update radacct set... ...acctiputoctets = 0 << 32 | 98..."</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Looks like the rlm_sql_log module was not compiled to parse that sintax.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">What can I do, please (besides create a procedure on the DB to treat that)?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Thank you very much.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Guilherme Franco</font></div>