mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
Prep tree for forward-porting Goanna, stage 1
This commit is contained in:
@@ -475,7 +475,7 @@ DOMStorageDBThread::InitDatabase()
|
||||
|
||||
mozStorageTransaction transaction(mWorkerConnection, false);
|
||||
|
||||
// Ensure Gecko 1.9.1 storage table
|
||||
// Ensure Goanna 1.9.1 storage table
|
||||
rv = mWorkerConnection->ExecuteSimpleSQL(NS_LITERAL_CSTRING(
|
||||
"CREATE TABLE IF NOT EXISTS webappsstore2 ("
|
||||
"scope TEXT, "
|
||||
@@ -498,7 +498,7 @@ DOMStorageDBThread::InitDatabase()
|
||||
|
||||
bool exists;
|
||||
|
||||
// Check if there is storage of Gecko 1.9.0 and if so, upgrade that storage
|
||||
// Check if there is storage of Goanna 1.9.0 and if so, upgrade that storage
|
||||
// to actual webappsstore2 table and drop the obsolete table. First process
|
||||
// this newer table upgrade to priority potential duplicates from older
|
||||
// storage table.
|
||||
@@ -519,7 +519,7 @@ DOMStorageDBThread::InitDatabase()
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
|
||||
// Check if there is storage of Gecko 1.8 and if so, upgrade that storage
|
||||
// Check if there is storage of Goanna 1.8 and if so, upgrade that storage
|
||||
// to actual webappsstore2 table and drop the obsolete table. Potential
|
||||
// duplicates will be ignored.
|
||||
rv = mWorkerConnection->TableExists(NS_LITERAL_CSTRING("moz_webappsstore"),
|
||||
|
||||
Reference in New Issue
Block a user