aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/ibex_block.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-11-28 21:05:01 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-11-28 21:05:01 +0800
commitce4905721c40da7acbdb02caa5d2e24476590e4b (patch)
treeccb1be553fffc570f6da2e8f89e12f293f9346d3 /libibex/ibex_block.c
parent00890b71cf68d861e9ec72a459fa7e43464f4569 (diff)
downloadgsoc2013-evolution-ce4905721c40da7acbdb02caa5d2e24476590e4b.tar
gsoc2013-evolution-ce4905721c40da7acbdb02caa5d2e24476590e4b.tar.gz
gsoc2013-evolution-ce4905721c40da7acbdb02caa5d2e24476590e4b.tar.bz2
gsoc2013-evolution-ce4905721c40da7acbdb02caa5d2e24476590e4b.tar.lz
gsoc2013-evolution-ce4905721c40da7acbdb02caa5d2e24476590e4b.tar.xz
gsoc2013-evolution-ce4905721c40da7acbdb02caa5d2e24476590e4b.tar.zst
gsoc2013-evolution-ce4905721c40da7acbdb02caa5d2e24476590e4b.zip
Turn off index stats by default.
2000-11-28 Not Zed <NotZed@HelixCode.com> * index.h: Turn off index stats by default. * ibex_block.c (ibex_save): And here. (ibex_close): Debug out printfs. * wordindexmem.c (ibex_create_word_index_mem): And here. (num): Made buf static. * block.c (ibex_block_cache_open): Debug out some printfs. (ibex_block_read): And here. svn path=/trunk/; revision=6691
Diffstat (limited to 'libibex/ibex_block.c')
-rw-r--r--libibex/ibex_block.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libibex/ibex_block.c b/libibex/ibex_block.c
index 7a5864ea32..565b8f02dc 100644
--- a/libibex/ibex_block.c
+++ b/libibex/ibex_block.c
@@ -251,7 +251,7 @@ ibex *ibex_open (char *file, int flags, int mode)
int ibex_save (ibex *ib)
{
- printf("syncing database\n");
+ d(printf("syncing database\n"));
if (ib->predone) {
ib->words->klass->index_post(ib->words);
ib->predone = FALSE;
@@ -266,7 +266,7 @@ int ibex_close (ibex *ib)
{
int ret = 0;
- printf("closing database\n");
+ d(printf("closing database\n"));
if (ib->predone) {
ib->words->klass->index_post(ib->words);