Merge commit 'f265a1d21735a15e3707f7922110dd2f7eef8824' * commit 'f265a1d21735a15e3707f7922110dd2f7eef8824': Fix SQL for upgrade from ver 6 to ver 7 of Email database
This commit is contained in:
commit
aa0314a500
@ -692,7 +692,7 @@ public class EmailProvider extends ContentProvider {
|
|||||||
}
|
}
|
||||||
if (oldVersion == 6) {
|
if (oldVersion == 6) {
|
||||||
// Use the newer mailbox_delete trigger
|
// Use the newer mailbox_delete trigger
|
||||||
db.execSQL("delete trigger mailbox_delete;");
|
db.execSQL("drop trigger mailbox_delete;");
|
||||||
db.execSQL(TRIGGER_MAILBOX_DELETE);
|
db.execSQL(TRIGGER_MAILBOX_DELETE);
|
||||||
oldVersion = 7;
|
oldVersion = 7;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user