Web history indexing: fmtime was not saved to the cache, resulting in empty dates in queries

This commit is contained in:
Jean-Francois Dockes 2014-07-08 15:06:47 +02:00
parent 63405344c7
commit 2433716040

View file

@ -455,6 +455,7 @@ BeagleQueueIndexer::processone(const string &path,
if (doc.fmtime.empty()) if (doc.fmtime.empty())
doc.fmtime = ascdate; doc.fmtime = ascdate;
dotdoc.fmtime = doc.fmtime;
char cbuf[100]; char cbuf[100];
sprintf(cbuf, "%lld", (long long)stp->st_size); sprintf(cbuf, "%lld", (long long)stp->st_size);