-/* $Id: isamd.c,v 1.24 2002-11-26 22:18:34 adam Exp $
+/* $Id: isamd.c,v 1.25 2003-03-05 16:41:10 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
char *src;
int sz = is->method->filecat[is->max_cat].bsize;
/* always allocate for the largest blocks, saves trouble */
- struct it_key singlekey;
- char *c_ptr; /* for fake encoding the singlekey */
- char *i_ptr;
- int ofs;
int dictnum;
pp->numKeys = 0;
return pp->numKeys;
}
+#if 0
+/* for testing .. */
static char *hexdump(unsigned char *p, int len, char *buff) {
static char localbuff[128];
char bytebuff[8];
}
return buff;
}
-
+#endif
#ifdef SKIPTHIS
/* needs different arguments, or something */
/*
* $Log: isamd.c,v $
- * Revision 1.24 2002-11-26 22:18:34 adam
+ * Revision 1.25 2003-03-05 16:41:10 adam
+ * Fix GCC warnings
+ *
+ * Revision 1.24 2002/11/26 22:18:34 adam
* Remove // comments
*
* Revision 1.23 2002/08/02 19:26:56 adam
-/* $Id: merge-d.c,v 1.29 2002-11-26 22:18:34 adam Exp $
+/* $Id: merge-d.c,v 1.30 2003-03-05 16:41:10 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
return ( (0 == F->r1) && (0 == F->r2)) ;
}
+#if 0
static int filter_only_one(FILTER F)
{
return ( (0 != F->r1) && (0 == F->r2));
}
+#endif
/* We may need backfilling, if we read a lonely key to make */
/* a singleton, but its bitw will not fit in. Then we need to */
/* process it normally, which means reading it again. So we */
/* need to unread it first. Luckily the filter is empty at that */
/* point */
+#if 0
static void filter_backfill(FILTER F, struct it_key *k, int mode)
{
assert(F->r1 == FILTER_NOTYET ); /* not overwriting data! */
F->m1=mode;
F->r1=1; /* ok read */
}
-
+#endif
/***************************************************************
* Singleton encoding
/*
* $Log: merge-d.c,v $
- * Revision 1.29 2002-11-26 22:18:34 adam
+ * Revision 1.30 2003-03-05 16:41:10 adam
+ * Fix GCC warnings
+ *
+ * Revision 1.29 2002/11/26 22:18:34 adam
* Remove // comments
*
* Revision 1.28 2002/08/02 19:26:56 adam
-/* $Id: merge.c,v 1.21 2002-08-02 19:26:56 adam Exp $
+/* $Id: merge.c,v 1.22 2003-03-05 16:41:10 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
int dirty; /* block is different from that on file */
};
+#if 0
static void opt_blocks (ISAMC is, struct isc_merge_block *mb, int ptr,
int last)
{
if (!last)
mb[i].dirty = 1;
}
+#endif
static void flush_blocks (ISAMC is, struct isc_merge_block *mb, int ptr,
char *r_buf, int *firstpos, int cat, int last,
/*
* $Log: merge.c,v $
- * Revision 1.21 2002-08-02 19:26:56 adam
+ * Revision 1.22 2003-03-05 16:41:10 adam
+ * Fix GCC warnings
+ *
+ * Revision 1.21 2002/08/02 19:26:56 adam
* Towards GPL
*
* Revision 1.20 1999/11/30 13:48:04 adam