* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: ztest.c,v 1.90 2007-05-02 12:36:35 adam Exp $
+ * $Id: ztest.c,v 1.92 2007-05-30 08:04:28 adam Exp $
*/
/*
rr->errcode = 23;
return 0;
}
-#if NMEM_DEBUG
- /* if database is stop, stop this process.. For debugging only. */
- if (!yaz_matchstr (rr->basenames[0], "stop"))
- {
- nmem_print_list_l(YLOG_LOG);
- exit(0);
- }
-#endif
/* Throw Database unavailable if other than Default or Slow */
if (!yaz_matchstr (rr->basenames[0], "Default"))
; /* Default is OK in our test */
if (r->direct_reference)
{
char oid_name_str[OID_STR_MAX];
- int oclass;
+ oid_class oclass;
const char *oid_name =
yaz_oid_to_string_buf(r->direct_reference,
&oclass, oid_name_str);
int ztest_fetch(void *handle, bend_fetch_rr *r)
{
char *cp;
- int oclass;
+ oid_class oclass;
char oid_str_buf[OID_STR_MAX];
const char *oid_str = 0;
- const int *oid = r->request_format;
+ const Odr_oid *oid = r->request_format;
r->last_in_set = 0;
r->basename = "Default";