Hi, module is create to permit different solutions. Have a structure that permit to receive only string it's very poor. Probably, these generic functions can be insert to radius common library so it can be used by other SQL module. Are there functions like these on radius that permit to remove files inserted on driver? TODO for next release: - recover error message from thread instead of use OCI_LastError(); - use oracle connection pool. On Mon, 2011-03-07 at 07:39 +0100, Alan DeKok wrote:
Ge@@ru wrote:
in attachment patch to add rlm_sql_ocioracle driver to freeradius 2.1.x tree (it seems work yet on 3.x tree). .. Module need oracle instantclient library and ocilib library (http://orclib.sourceforge.net/).
OK... the module is rather large. i.e. it implements all kind of generic functions (field.c, list.c). The other SQL modules don't need those functions, so why does this one need them?
As a comparison, the code here is ~2500 lines. The other SQL modules are ~1000 lines.
Alan DeKok.