Disable our not-so-hot preview generation as part of database upgrade

for now. it took a long time and got mediocre results.
This commit is contained in:
Jesse Vincent 2010-01-17 22:54:08 +00:00
parent 591ca5bc5e
commit 22e771ef2a

View file

@ -174,7 +174,7 @@ public class LocalStore extends Store implements Serializable
if (mDb.getVersion() < 33)
{
mDb.execSQL("ALTER TABLE messages ADD preview TEXT");
mDb.execSQL("UPDATE messages SET preview = SUBSTR(text_content,1,200) WHERE deleted = 0");
// mDb.execSQL("UPDATE messages SET preview = SUBSTR(text_content,1,200) WHERE deleted = 0");
}