X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=index%2Fzebraapi.c;h=9a85e3285a377f634b559880f42e51507309e0be;hb=aa37dc73fac74b9d431987a02cc2f604af452fcc;hp=d53606415ed88db93f2df5082cb40bd7cdbbbb4a;hpb=810bce66201f40acfd7e8577d3997e6ea385f1cf;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.c b/index/zebraapi.c index d536064..9a85e32 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.175 2005-06-09 10:39:53 adam Exp $ +/* $Id: zebraapi.c,v 1.176 2005-06-10 10:55:18 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -867,6 +867,8 @@ ZEBRA_RES zebra_select_databases (ZebraHandle zh, int num_bases, ZEBRA_RES zebra_set_approx_limit(ZebraHandle zh, zint approx_limit) { + if (approx_limit == 0) + approx_limit = 2000000000; zh->approx_limit = approx_limit; return ZEBRA_OK; }