r16543 - gnucash/branches/gda-dev/src - Make GDA backend (sqlite) the default if file: or no access method is

Phil Longstaff plongstaff at rogers.com
Mon Sep 24 10:47:27 EDT 2007


   Derek Atkins wrote:

Phil Longstaff [1]<plongstaff at cvs.gnucash.org> writes:



Log:
Make GDA backend (sqlite) the default if file: or no access method is
supplied.  The XML backend is still available if the file is not an
sqlite file or if xml: is the access method.


Have you verified that you can actually /enter/ an "xml"
access method in the UI?

Also, does it do file-type auto-detection?  E.g., if you File -> Open
an existing XML file, what happens?

-derek


   The UI doesn't support xml: (or any access method) but it can be entered
   from the command line i.e. gnucash xml:...
   It does file-type auto-detection but there is also the wrinkle that ".db" is
   added for sqlite files.  So, if you want to open "foo", first the gda/sqlite
   backend look to see if "foo.db" exists and is an sqlite file. If so, it is
   used.   If,  not,  it  then checks to see if "foo" exists.  If so, the
   gda/sqlite backend assumes that it is a different type of file and lets the
   xml backend have a go at it.  If "foo" doesn't exist, the gda/sqlite backend
   will create "foo.db".
   BTW, what is the qsf backend?
   Phil

References

   1. mailto:plongstaff at cvs.gnucash.org


More information about the gnucash-devel mailing list