<div>freeradius versions 2.1.8/9/10 + oracle 10.2.0<br><br>[sqlippool] expand: UPDATE radippool SET nasipaddress = '', pool_key = 0, callingstationid = '', expiry_time = current_timestamp - INTERVAL '1' second(1) WHERE pool_key = '%{NAS-Port}' -> UPDATE radippool SET nasipaddress = '', pool_key = 0, callingstationid = '', expiry_time = current_timestamp - INTERVAL '1' second(1) WHERE pool_key = '2'<br>
[sqlippool] expand: SELECT framedipaddress FROM radippool WHERE pool_name = '%{control:Pool-Name}' AND expiry_time < current_timestamp AND rownum <= 1 ORDER BY (username <> '%{SQL-User-Name}'), (callingstationid <> '%{Calling-Station-Id}'), expiry_time FOR UPDATE -> SELECT framedipaddress FROM radippool WHERE pool_name = 'test_pool' AND expiry_time < current_timestamp AND rownum <= 1 ORDER BY (username <> 'test'), (callingstationid <> ''), expiry_time FOR UPDATE<br>
rlm_sql_oracle: query failed in sql_select_query: ORA-00907: missing right parenthesis <br>rlm_sql_oracle: OCI_SERVER_NORMAL<br>sqlippool_query1: database query error<br><br></div>
<div> i find the error occured when allocate-find executed in the file "sql/oracle/ippool.conf" , but this statement can work well in mysql. How can i make it works ?<br><br><br></div>
<div> </div>