Fix SQL for upgrade from ver 6 to ver 7 of Email database

Fixes #2196917

Change-Id: Ia403e50e9ec4ea553d38ded656bba769a4a4dd18
This commit is contained in:
Marc Blank 2009-10-19 22:15:45 -07:00
parent 4bc81bb286
commit 367963639d

View File

@ -692,7 +692,7 @@ public class EmailProvider extends ContentProvider {
}
if (oldVersion == 6) {
// Use the newer mailbox_delete trigger
db.execSQL("delete trigger mailbox_delete;");
db.execSQL("drop trigger mailbox_delete;");
db.execSQL(TRIGGER_MAILBOX_DELETE);
oldVersion = 7;
}