1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-07 02:30:10 -05:00

Fix error handling code in DB upgrade.

This commit is contained in:
cketti 2010-05-10 00:14:26 +00:00
parent 9a816fc2f4
commit 37b42f58a6

View File

@ -209,7 +209,7 @@ public class LocalStore extends Store implements Serializable
}
catch (SQLiteException e)
{
if (! e.toString().startsWith("duplicate column name: flagged_count"))
if (! e.getMessage().startsWith("duplicate column name: flagged_count"))
{
throw e;
}