Jeffrey Kay wrote:
Is the source code for the mku portion of the mkstats program
available? I
thought that having the ability to compute the percentage of empty
space in
a db would be a helpful function to have in my code, specifically so I
could
decide when to compact the data. It appears that the c4_Strategy
class has
a FileSize() function, but that doesn't return the amount of bytes
actually
used in a file. How would I compute that value?
Sorry, I'm afraid not. Mkstats uses some new code which is part of a
larger project. The mku utility is not based on the Metakit C++
core, and does a complete traversal on its own of the data on disk to
generate the usage info. You can call it as an executable, and parse
the output, as mkstats does.
-jcw
_
Metakit mailing list - [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit