X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=server%2Fseshigh.c;h=78d65d86eb280ad88b627804a1c434111cab4760;hb=2c185557bb24fa795cee97d813074932e8cc6f78;hp=faa1f6339e272d76e9c603b4eda5c5aa27d9a039;hpb=c73dee95ff68d866ad3868e2494ac2325580b35a;p=yaz-moved-to-github.git diff --git a/server/seshigh.c b/server/seshigh.c index faa1f63..78d65d8 100644 --- a/server/seshigh.c +++ b/server/seshigh.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: seshigh.c,v $ - * Revision 1.89 1999-05-26 15:24:26 adam + * Revision 1.90 1999-05-27 13:02:20 adam + * Assigned OID for old DB Update (VAL_DBUPDATE0). + * + * Revision 1.89 1999/05/26 15:24:26 adam * Fixed minor bugs regarding DB Update (introduced by previous commit). * * Revision 1.88 1999/04/20 09:56:48 adam @@ -1027,7 +1030,6 @@ static Z_Records *pack_records(association *a, char *setname, int start, int *next, int *pres, oid_value format, Z_ReferenceId *referenceId) { - int oid[OID_SIZE]; int recno, total_length = 0, toget = *num, dumped_records = 0; Z_Records *records = (Z_Records *) odr_malloc (a->encode, sizeof(*records)); @@ -1035,7 +1037,6 @@ static Z_Records *pack_records(association *a, char *setname, int start, (Z_NamePlusRecordList *) odr_malloc (a->encode, sizeof(*reclist)); Z_NamePlusRecord **list = (Z_NamePlusRecord **) odr_malloc (a->encode, sizeof(*list) * toget); - oident recform; records->which = Z_Records_DBOSD; records->u.databaseOrSurDiagnostics = reclist; @@ -1053,9 +1054,7 @@ static Z_Records *pack_records(association *a, char *setname, int start, bend_fetchrequest freq; bend_fetchresult *fres; Z_NamePlusRecord *thisrec; - Z_DatabaseRecord *thisext; int this_length = 0; - /* * we get the number of bytes allocated on the stream before any * allocation done by the backend - this should give us a reasonable