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
data1 updates. Run number fix
[idzebra-moved-to-github.git]
/
recctrl
/
recgrs.c
diff --git
a/recctrl/recgrs.c
b/recctrl/recgrs.c
index
d7af403
..
a779462
100644
(file)
--- a/
recctrl/recgrs.c
+++ b/
recctrl/recgrs.c
@@
-3,7
+3,10
@@
* All rights reserved.
*
* $Log: recgrs.c,v $
* All rights reserved.
*
* $Log: recgrs.c,v $
- * Revision 1.47 2002-05-03 13:50:25 adam
+ * Revision 1.48 2002-05-07 11:05:20 adam
+ * data1 updates. Run number fix
+ *
+ * Revision 1.47 2002/05/03 13:50:25 adam
* data1 cleanup
*
* Revision 1.46 2002/04/13 18:16:43 adam
* data1 cleanup
*
* Revision 1.46 2002/04/13 18:16:43 adam
@@
-769,7
+772,7
@@
static int grs_retrieve(void *clientData, struct recRetrieveCtrl *p)
data1_pr_tree (p->dh, node, stdout);
#endif
logf (LOG_DEBUG, "grs_retrieve: size");
data1_pr_tree (p->dh, node, stdout);
#endif
logf (LOG_DEBUG, "grs_retrieve: size");
- if ((dnew = data1_mk_tag_data_wd(p->dh, node, node,"size", mem)))
+ if ((dnew = data1_mk_tag_data_wd(p->dh, node, "size", mem)))
{
dnew->u.data.what = DATA1I_text;
dnew->u.data.data = dnew->lbuf;
{
dnew->u.data.what = DATA1I_text;
dnew->u.data.data = dnew->lbuf;
@@
-779,7
+782,7
@@
static int grs_retrieve(void *clientData, struct recRetrieveCtrl *p)
tagname = res_get_def(p->res, "tagrank", "rank");
if (strcmp(tagname, "0") && p->score >= 0 &&
tagname = res_get_def(p->res, "tagrank", "rank");
if (strcmp(tagname, "0") && p->score >= 0 &&
- (dnew = data1_mk_tag_data_wd(p->dh, node, node, tagname, mem)))
+ (dnew = data1_mk_tag_data_wd(p->dh, node, tagname, mem)))
{
logf (LOG_DEBUG, "grs_retrieve: %s", tagname);
dnew->u.data.what = DATA1I_num;
{
logf (LOG_DEBUG, "grs_retrieve: %s", tagname);
dnew->u.data.what = DATA1I_num;
@@
-790,7
+793,7
@@
static int grs_retrieve(void *clientData, struct recRetrieveCtrl *p)
tagname = res_get_def(p->res, "tagsysno", "localControlNumber");
if (strcmp(tagname, "0") && p->localno > 0 &&
tagname = res_get_def(p->res, "tagsysno", "localControlNumber");
if (strcmp(tagname, "0") && p->localno > 0 &&
- (dnew = data1_mk_tag_data_wd(p->dh, node, node, tagname, mem)))
+ (dnew = data1_mk_tag_data_wd(p->dh, node, tagname, mem)))
{
logf (LOG_DEBUG, "grs_retrieve: %s", tagname);
dnew->u.data.what = DATA1I_text;
{
logf (LOG_DEBUG, "grs_retrieve: %s", tagname);
dnew->u.data.what = DATA1I_text;
@@
-798,9
+801,9
@@
static int grs_retrieve(void *clientData, struct recRetrieveCtrl *p)
sprintf(dnew->u.data.data, "%d", p->localno);
dnew->u.data.len = strlen(dnew->u.data.data);
}
sprintf(dnew->u.data.data, "%d", p->localno);
dnew->u.data.len = strlen(dnew->u.data.data);
}
-
+#if 0
data1_pr_tree (p->dh, node, stdout);
data1_pr_tree (p->dh, node, stdout);
-
+#endif
if (p->comp && p->comp->which == Z_RecordComp_complex &&
p->comp->u.complex->generic &&
p->comp->u.complex->generic->schema)
if (p->comp && p->comp->which == Z_RecordComp_complex &&
p->comp->u.complex->generic &&
p->comp->u.complex->generic->schema)
@@
-888,7
+891,7
@@
static int grs_retrieve(void *clientData, struct recRetrieveCtrl *p)
}
*(p++) = '\0';
}
*(p++) = '\0';
- if ((dnew = data1_mk_tag_data_wd(dh, node, node,
+ if ((dnew = data1_mk_tag_data_wd(dh, node,
"schemaIdentifier", mem)))
{
dnew->u.data.what = DATA1I_oid;
"schemaIdentifier", mem)))
{
dnew->u.data.what = DATA1I_oid;