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
Added a few files to be ignored
[idzebra-moved-to-github.git]
/
test
/
api
/
t7.c
diff --git
a/test/api/t7.c
b/test/api/t7.c
index
f943cbe
..
c100a8d
100644
(file)
--- a/
test/api/t7.c
+++ b/
test/api/t7.c
@@
-1,6
+1,6
@@
-/* $Id: t7.c,v 1.4 2004-10-29 13:02:39 heikki Exp $
- Copyright (C) 2004
- Index Data Aps
+/* $Id: t7.c,v 1.8 2005-03-09 12:14:42 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-49,14
+49,13
@@
int main(int argc, char **argv)
"@attr 1=4 my");
Z_SortKeySpecList *spec =
yaz_sort_spec (odr_output, "@attr 1=4 id");
"@attr 1=4 my");
Z_SortKeySpecList *spec =
yaz_sort_spec (odr_output, "@attr 1=4 id");
- int hits;
+ zint hits;
- init_data(zh,recs);
+ init_data(zh, recs);
-
- zebra_begin_trans (zh, 0);
+ zebra_begin_trans(zh, 0);
- zebra_search_RPN (zh, odr_input, query, setname1, &hits);
+ zebra_search_RPN(zh, odr_input, query, setname1, &hits);
rc=zebra_sort(zh, odr_output, 1, &setname1, setname2, spec, &status);
if (rc)
rc=zebra_sort(zh, odr_output, 1, &setname1, setname2, spec, &status);
if (rc)
@@
-72,17
+71,17
@@
int main(int argc, char **argv)
exit(1);
}
exit(1);
}
- zebra_end_trans (zh);
+ zebra_end_trans(zh);
yaz_pqf_destroy(parser);
/*
yaz_pqf_destroy(parser);
/*
- zebra_deleleResultSet(zh, Z_DeleteRequest_list,
+ zebra_deleteResultSet(zh, Z_DeleteRequest_list,
1, &setnamep, &status);
*/
1, &setnamep, &status);
*/
- odr_destroy (odr_input);
- odr_destroy (odr_output);
+ odr_destroy(odr_input);
+ odr_destroy(odr_output);
- zebra_commit (zh);
+ zebra_commit(zh);
- return close_down(zh,zs,0);
+ return close_down(zh, zs, 0);
}
}