X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fsort%2Fsort1.c;h=b86d22b3a80cf93f032c3ea8de9b9877bcd82dcc;hb=3d6d9a44b38717e7e9a2c64b68db895998d4de82;hp=3ce5353bcae220b386ef4cf945667097547dc0f3;hpb=09563d8acae53c6479d853e35e3bd53991e880c7;p=idzebra-moved-to-github.git diff --git a/test/sort/sort1.c b/test/sort/sort1.c index 3ce5353..b86d22b 100644 --- a/test/sort/sort1.c +++ b/test/sort/sort1.c @@ -1,4 +1,4 @@ -/* $Id: sort1.c,v 1.4 2005-05-04 10:50:09 adam Exp $ +/* $Id: sort1.c,v 1.5 2005-08-09 12:30:47 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -23,38 +23,6 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include "../api/testlib.h" -static void sort(ZebraHandle zh, const char *query, zint hits, zint *exp) -{ - ZebraMetaRecord *recs; - zint i; - int errs = 0; - - assert(query); - do_query(__LINE__, zh, query, hits); - - recs = zebra_meta_records_create_range (zh, "rsetname", 1, 4); - if (!recs) - { - fprintf(stderr, "recs==0\n"); - exit(1); - } - for (i = 0; i