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
no fsync on WIN32
[idzebra-moved-to-github.git]
/
index
/
kcompare.c
diff --git
a/index/kcompare.c
b/index/kcompare.c
index
5d74547
..
936929f
100644
(file)
--- a/
index/kcompare.c
+++ b/
index/kcompare.c
@@
-42,6
+42,13
@@
int key_compare_it (const void *p1, const void *p2)
return 0;
}
return 0;
}
+char *key_print_it (const void *p, char *buf)
+{
+ const struct it_key *i = p;
+ sprintf (buf, "%d:%d", i->sysno, i->seqno);
+ return buf;
+}
+
int key_compare (const void *p1, const void *p2)
{
struct it_key i1, i2;
int key_compare (const void *p1, const void *p2)
{
struct it_key i1, i2;
@@
-216,8
+223,6
@@
ISAMS_M key_isams_m (Res res, ISAMS_M me)
return me;
}
return me;
}
-#if ZMBOL
-
ISAMC_M key_isamc_m (Res res, ISAMC_M me)
{
isc_getmethod (me);
ISAMC_M key_isamc_m (Res res, ISAMC_M me)
{
isc_getmethod (me);
@@
-251,8
+256,6
@@
ISAMD_M key_isamd_m (Res res,ISAMD_M me)
return me;
}
return me;
}
-#endif
-
int key_SU_encode (int ch, char *out)
{
int i;
int key_SU_encode (int ch, char *out)
{
int i;
@@
-294,7
+297,13
@@
int key_SU_decode (int *ch, const unsigned char *out)
/*
* $Log: kcompare.c,v $
/*
* $Log: kcompare.c,v $
- * Revision 1.37 2001-11-19 23:08:30 adam
+ * Revision 1.39 2002-04-12 14:55:22 adam
+ * key_print_it
+ *
+ * Revision 1.38 2002/04/05 08:46:26 adam
+ * Zebra with full functionality
+ *
+ * Revision 1.37 2001/11/19 23:08:30 adam
* Added const qualifier for name parameter of key_SU_decode.
*
* Revision 1.36 2001/10/15 19:53:43 adam
* Added const qualifier for name parameter of key_SU_decode.
*
* Revision 1.36 2001/10/15 19:53:43 adam