~khurshid-alam/geary/geary-0.11

Viewing all changes in revision 2031.

  • Committer: Michael James Gratton
  • Date: 2017-01-28 04:11:44 UTC
  • Revision ID: git-v1:404b12833980c2942b3466160a6cadfbc32f6ffb
Don't try to FTS index messages that don't meet the field requirements.

Bug 776654.

* src/engine/imap-db/imap-db-folder.vala (Folder): Add
  REQUIRED_FTS_FIELDS constant that specifys what are the required fields
  for FTS.

* src/engine/imap-db/imap-db-account.vala
  (Account::populate_search_table_batch_async): Ensure rows returned meet
  REQUIRED_FTS_FIELDS requirements.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: