Sounds a good approach.  It would also avoid the security/operation 
risks if the database path is not specified.

Tim

Markus Hoenicka wrote:
> Tim Bell writes:
>  > 
>  > It seems that the sqlite3_dbdir setting is mandatory in 
>  > _real_dbd_connect (I'm testing on the 0.8.3 release).
>  > 
>  > This means that programs wanting to use libdbi with sqlite3 need to code 
>  > specific code for sqlite3 rather than using the generic interface.
>  > 
>  > Would it be possible to either make this an optional setting ?
>  > 
>
> libdbi could provide generic places to hold such files, like
> /usr/local/libdbi/db/sqlite and /usr/local/libdbi/db/sqlite3, which
> would allow to make the _dbdir settings optional. I'll look into it.
>
> regards,
> Markus
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to