SQL config file names
Alan DeKok
aland at deployingradius.com
Fri Jul 20 14:48:29 CEST 2007
Hugh Messenger wrote:
> So how about something like:
>
> ./sql/mysql/queries/sql.conf
That's a few too many directories for me. I've just done:
sql/mysql/schema.sql
sql/mysql/*.conf
Hmm... maybe I should have made "dialup.sql", which means adding a
"ippool.sql" schema would make sense.
> Etc etc. And yes, I'm aware that currently the radippool table is defined
> in the main foo.sql schema. IMHO it should be in its own file, again named
> after the module.
Yes, I agree.
> The above structure clearly shows which dialect it is, if it's a query
> config or a schema, and which module it belongs to.
>
> Also see my comment in a previous post about simplifying the top level
> sql*.conf files by adding a 'db_dialect' config variable in radiusd.conf.
Done. Please check out CVS head and test.
Alan DeKok.
More information about the Freeradius-Devel
mailing list