<div>Hello Mr. Mayers,</div>
<div> </div>
<div>I don't think so cause I've copied the very same sintax that can be found in oraclesql.conf of FR 1.1.7.</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div>Guilherme Franco<br> </div>
<div><span class="gmail_quote">On 9/14/07, <b class="gmail_sendername">Phil Mayers</b> <<a href="mailto:p.mayers@imperial.ac.uk">p.mayers@imperial.ac.uk</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Fri, 2007-09-14 at 00:05 -0300, Guilherme Franco wrote:<br>> Hello,<br>><br>> I'm using rlm_sql_log in freeradius
1.1.4.<br>><br>> In order to correctly work with acct-input/ output gigawords, I've<br>> replaced '%{Acct-Input-Octets}' with '%{%{Acct-Input-Gigawords}:-0}'<br>> << 32 | '%{%{Acct-Input-Octets}:-0}' in the rlm_sql_log conf, but this
<br>> results in invalid queries like:<br>><br>> "update radacct set... ...acctiputoctets = 0 << 32 | 98..."<br><br>Is that not because you put an invalid query template in?<br><br>You need () around the (val << N) bit.
<br><br>You also almost certain want to do:<br><br>(giga << 32) + words<br><br>...rather than using bitwise | operator<br><br><br>><br><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">
http://www.freeradius.org/list/users.html</a><br></blockquote></div><br>