Re: [whatwg] SQL API and database versioning

2007-10-11 Thread Křištof Želechovski
the database already exists the openDatabase() call should succeed. Best regards, Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brady Eidson Sent: Thursday, October 11, 2007 7:37 AM To: WHATWG Mailing List Subject: [whatwg] SQL API and database vers

Re: [whatwg] SQL API and database versioning

2007-10-11 Thread Scott Hess
I think I agree with this. Apps should either use the database in a versioned form, or an unversioned form, but never both. Insofar as there is some subset of the database which is trustworthy to use in unversioned form, it should be easy enough to just spin up a separate unversioned database for

[whatwg] SQL API and database versioning

2007-10-10 Thread Brady Eidson
openDatabase() is called with a database name and an expected version string. If the database has a version, and it is different than the expected version, openDatabase() fails. This makes sense. But... "Otherwise, if the database version is the empty string, or if the database doesn't