X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fattribute.c;h=e3aedba17b5456503fb111fe817330d40ba21ea6;hb=9b4f970d2816490fa4cc850fabc51f494ee5612b;hp=2f7d89477c8470d1ae935e793cbd2fd10be33a3c;hpb=85a2a0b28cb516d28ac70b7824f2b7d4b07e56ae;p=idzebra-moved-to-github.git diff --git a/index/attribute.c b/index/attribute.c index 2f7d894..e3aedba 100644 --- a/index/attribute.c +++ b/index/attribute.c @@ -1,10 +1,19 @@ /* - * Copyright (C) 1994-1998, Index Data I/S + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: attribute.c,v $ - * Revision 1.9 1998-05-20 10:12:14 adam + * Revision 1.12 2000-03-15 15:00:30 adam + * First work on threaded version. + * + * Revision 1.11 1999/11/30 13:48:03 adam + * Improved installation. Updated for inclusion of YAZ header files. + * + * Revision 1.10 1999/02/02 14:50:49 adam + * Updated WIN32 code specific sections. Changed header. + * + * Revision 1.9 1998/05/20 10:12:14 adam * Implemented automatic EXPLAIN database maintenance. * Modified Zebra to work with ASN.1 compiled version of YAZ. * @@ -39,7 +48,7 @@ #include -#include +#include #include #include #include "zserver.h" @@ -65,10 +74,10 @@ int att_getentbyatt(ZebraHandle zi, attent *res, oid_value set, int att) data1_att *r; data1_attset *p; - if (!(p = data1_attset_search_id (zi->dh, set))) + if (!(p = data1_attset_search_id (zi->service->dh, set))) { - zebraExplain_loadAttsets (zi->dh, zi->res); - p = data1_attset_search_id (zi->dh, set); + zebraExplain_loadAttsets (zi->service->dh, zi->service->res); + p = data1_attset_search_id (zi->service->dh, set); } if (!p) return -2;