mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
bug 355577: add index to properties table, to speed up item construction. r=jminta
This commit is contained in:
parent
c70df9f530
commit
6a133be9d3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user