X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft10.c;h=97b3c67db21670bcf6897ec990672a1aac166f5c;hb=ebcf2ad410ec9196eee698f021a1bfd6057bdc25;hp=56b68a2dfa1a161ca8fa6af0261b9fc6b1733712;hpb=2cb08a89ee65d8ae2646b91dcf27bc3883759691;p=idzebra-moved-to-github.git diff --git a/test/api/t10.c b/test/api/t10.c index 56b68a2..97b3c67 100644 --- a/test/api/t10.c +++ b/test/api/t10.c @@ -1,4 +1,4 @@ -/* $Id: t10.c,v 1.8 2005-05-24 11:35:43 adam Exp $ +/* $Id: t10.c,v 1.9 2005-09-13 11:51:07 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -74,13 +74,13 @@ int main(int argc, char **argv) { int i; ZebraService zs = start_up("zebrazv.cfg", argc, argv); - ZebraHandle zh = zebra_open (zs); + ZebraHandle zh = zebra_open(zs, 0); init_data(zh, recs); zebra_close(zh); for (i = 0; tests[i].schema; i++) { - zh = zebra_open (zs); + zh = zebra_open(zs, 0); zebra_select_database(zh, "Default"); zebra_set_resource(zh, "zvrank.weighting-scheme", tests[i].schema); yaz_log(YLOG_LOG,"============%d: %s ===========", i, tests[i].schema);