<div>Hello,</div>
<div> </div>
<div>Just to note that oraclesql.conf (in 1.1.7) is wrong about the gigawords. The syntax for using bitwise operators is different in oracle and for such needs, you must use the BITAND function and its variants.</div>
<div> </div>
<div>But instead of doing bit shifts, I did this to solve it:</div>
<div> </div>
<div>AcctInputOctets = '%{Acct-Input-Octets}' + ('%{Acct-Input-Gigawords}' * 4294967296), AcctOutputOctets = '%{Acct-Output-Octets}' + ('%{Acct-Output-Gigawords}' * 4294967296)</div>
<div> </div>
<div>Guilherme Franco<br> </div>
<div><span class="gmail_quote">On 9/14/07, <b class="gmail_sendername">Guilherme Franco</b> <<a href="mailto:guilhermefranco@gmail.com">guilhermefranco@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi Mr. DeKok,</div>
<div> </div>
<div>Ok, I've just asked it because of: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wiki.freeradius.org/index.php/FAQ#Why_do_Acct-Input-Octets_and_Acct-Output-Octets_wrap_at_4_GB.3F" target="_blank">
http://wiki.freeradius.org/index.php/FAQ#Why_do_Acct-Input-Octets_and_Acct-Output-Octets_wrap_at_4_GB.3F </a> (which says that it should work in older versions)<br><br>Also, the rlm_sql_log module version is the same in 1.1.7
as in 1.1.4 (<font size="2">v <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://1.3.2.2/" target="_blank">1.3.2.2</a> 2005/12/12</font>).</div>
<div> </div>
<div>Thank you.</div><span class="sg">
<div> </div>
<div>Guilherme Franco</div></span>
<div><span class="e" id="q_115053272c4924a1_2">
<div> </div>
<div><span class="gmail_quote">On 9/14/07, <b class="gmail_sendername">Alan DeKok</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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,<br><br>Upgrade to 1.1.7.<br><br>Alan DeKok.<br>-<br>List info/subscribe/unsubscribe? See <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeradius.org/list/users.html" target="_blank">
http://www.freeradius.org/list/users.html </a><br></blockquote></div><br></span></div></blockquote></div><br>