* enable the --threads/t argument for mu-find / queries

This commit is contained in:
Dirk-Jan C. Binnema
2011-06-19 21:03:33 +03:00
parent 1e945e301f
commit 9a5888f7c8
4 changed files with 8 additions and 4 deletions

View File

@ -333,7 +333,7 @@ mu_query_preprocess (const char *query)
MuMsgIter*
mu_query_run (MuQuery *self, const char* searchexpr,
mu_query_run (MuQuery *self, const char* searchexpr, gboolean threads,
MuMsgFieldId sortfieldid, gboolean ascending,
GError **err)
{
@ -363,7 +363,7 @@ mu_query_run (MuQuery *self, const char* searchexpr,
enq.set_cutoff(0,0);
return mu_msg_iter_new ((XapianEnquire*)&enq,
self->_db.get_doccount());
self->_db.get_doccount(), threads);
} MU_XAPIAN_CATCH_BLOCK_RETURN(NULL);
}