mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-07 02:30:10 -05:00
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:
parent
4cb2d52c9c
commit
b6124fb397
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user