projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Character set negotiation updates
[idzebra-moved-to-github.git]
/
index
/
main.c
diff --git
a/index/main.c
b/index/main.c
index
1540f5b
..
c32c419
100644
(file)
--- a/
index/main.c
+++ b/
index/main.c
@@
-2,17
+2,18
@@
* Copyright (C) 1994-2002, Index Data
* All rights reserved.
*
* Copyright (C) 1994-2002, Index Data
* All rights reserved.
*
- * $Id: main.c,v 1.90 2002-06-19 11:37:11 adam Exp $
+ * $Id: main.c,v 1.92 2002-07-11 13:03:01 heikki Exp $
*/
#include <stdio.h>
#include <string.h>
#include <assert.h>
*/
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#include <time.h>
#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
+#include <sys/time.h>
#endif
#endif
+#include <time.h>
#if HAVE_SYS_TIMES_H
#include <sys/times.h>
#endif
#if HAVE_SYS_TIMES_H
#include <sys/times.h>
#endif
@@
-150,7
+151,11
@@
int main (int argc, char **argv)
}
else if (!strcmp (arg, "stat") || !strcmp (arg, "status"))
{
}
else if (!strcmp (arg, "stat") || !strcmp (arg, "status"))
{
- zebra_register_statistics (zh);
+ zebra_register_statistics (zh,0);
+ }
+ else if (!strcmp (arg, "dump") || !strcmp (arg, "dumpdict"))
+ {
+ zebra_register_statistics (zh,1);
}
else if (!strcmp (arg, "compact"))
{
}
else if (!strcmp (arg, "compact"))
{