зеркало из https://github.com/mozilla/pjs.git
bug 355577: add index to properties table, to speed up item construction. r=jminta
This commit is contained in:
Родитель
c5a37e020e
Коммит
0565c9ab95
|
@ -1056,6 +1056,12 @@ calStorageCalendar.prototype = {
|
|||
this.upgradeDB(version);
|
||||
}
|
||||
}
|
||||
|
||||
// (Conditionally) add index
|
||||
this.mDB.executeSimpleSQL(
|
||||
"CREATE INDEX IF NOT EXISTS " +
|
||||
"idx_cal_properies_item_id ON cal_properties(item_id);"
|
||||
);
|
||||
|
||||
this.mSelectEvent = createStatement (
|
||||
this.mDB,
|
||||
|
|
Загрузка…
Ссылка в новой задаче