deleteHeaders deleted message headers by id when it should have been

deleting by message_id.  I believe this was our last serious leak in
our flash storage

deleting message headers was....just wrong. we've fixed other similar
bugs inherited from android 1.0 before.
This commit is contained in:
Jesse Vincent 2010-09-22 02:46:20 +00:00
parent 4cb2d52c9c
commit b6124fb397
1 changed files with 1 additions and 1 deletions

View File

@ -1987,7 +1987,7 @@ public class LocalStore extends Store implements Serializable
private void deleteHeaders(long id)
{
mDb.execSQL("DELETE FROM headers WHERE id = ?",
mDb.execSQL("DELETE FROM headers WHERE message_id = ?",
new Object[]
{
id