[Xapian-discuss] Compressed Btrees

Olly Betts olly at survex.com
Mon Dec 13 00:37:54 GMT 2004


On Sun, Dec 12, 2004 at 07:55:32PM +0000, Olly Betts wrote:
> Hmm, it looks like the stat() call to read the size isn't working for
> files over 2G in size.  I'll see if I can work out why.

Ah, I can see why.  bin/quartzcompact.cc doesn't include config.h, so
large file support isn't turned on.  Add this *BEFORE* all the other
#include lines:

#include <config.h>

Then you should get compression statistics for the >2G tables too.

Cheers,
    Olly



More information about the Xapian-discuss mailing list