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
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
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