bug 355577: add index to properties table, to speed up item construction. r=jminta

This commit is contained in:
mvl%exedo.nl 2006-11-02 20:24:30 +00:00
parent c70df9f530
commit 6a133be9d3

View File

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