SQLite's behavior (at least by default -- it may or may not be configurable) is that if a database file does not exist, it will be created on write, so for pure SQLite compatibility, it should neither segfault nor give an error -- any error should be raised by a file existence check before attempting to open the file.
On Fri, Apr 11, 2008 at 5:31 PM, Giel van Schijndel < [EMAIL PROTECTED]> wrote: > > URL: > <http://gna.org/bugs/?11480> > > Summary: SQLite PhysFS VFS segfaults when a file isn't > found > Project: Warzone Resurrection Project > Submitted by: muggenhor > Submitted on: Friday 04/11/08 at 23:31 > Category: None > Severity: 4 - Important > Priority: 7 - High > Status: None > Assigned to: None > Originator Email: > Open/Closed: Open > Discussion Lock: Any > Release: svn/trunk > Operating System: All > Planned Release: None > > _______________________________________________________ > > Details: > > When attempting to open an SQLite database file, that doesn't exist, with > the > PhysFS VFS a segfault occurs instead of an error message. > > Right now I assume this caused by a flaw in the PhysFS VFS implementation. > > > > > _______________________________________________________ > > Reply to this item at: > > <http://gna.org/bugs/?11480> > > _______________________________________________ > Message sent via/by Gna! > http://gna.org/ > > > _______________________________________________ > Warzone-dev mailing list > [email protected] > https://mail.gna.org/listinfo/warzone-dev >
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
