* mu-query: re-introduce MU_QUERY_FLAG_THREADS, and only calculate threads for

the _second_ query when doing an --include-related query
This commit is contained in:
djcb
2012-12-27 11:09:05 +02:00
parent 99f473945e
commit c6a4e8f9ad
2 changed files with 24 additions and 6 deletions

View File

@ -71,9 +71,10 @@ enum _MuQueryFlags {
MU_QUERY_FLAG_DESCENDING = 1 << 0, /**< sort z->a */
MU_QUERY_FLAG_SKIP_UNREADABLE = 1 << 1, /**< skip unreadable msgs */
MU_QUERY_FLAG_SKIP_DUPS = 1 << 2, /**< skip duplicate msgs */
MU_QUERY_FLAG_INCLUDE_RELATED = 1 << 3 /**< include related msgs */
MU_QUERY_FLAG_INCLUDE_RELATED = 1 << 3, /**< include related msgs */
MU_QUERY_FLAG_THREADS = 1 << 4 /**< calculate threading info */
};
typedef enum _MuQueryFlags MuQueryFlags;
typedef int MuQueryFlags;
/**
* run a Xapian query; for the syntax, please refer to the mu-find