mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-31 07:10:14 -05:00
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:
parent
591ca5bc5e
commit
22e771ef2a
@ -174,7 +174,7 @@ public class LocalStore extends Store implements Serializable
|
|||||||
if (mDb.getVersion() < 33)
|
if (mDb.getVersion() < 33)
|
||||||
{
|
{
|
||||||
mDb.execSQL("ALTER TABLE messages ADD preview TEXT");
|
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");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user