X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Finvstat.c;h=5c9779dd4395bf6be4b4a83bc6ad25963d89338b;hp=fdab6ba7812b1345debbd8d8d15f314132286b2f;hb=3726bf6622da6a8b983bb4cbb7d654e84c3216d7;hpb=0af5d3854fbf1ca317b8dc3cf3b478728f6d4d5a diff --git a/index/invstat.c b/index/invstat.c index fdab6ba..5c9779d 100644 --- a/index/invstat.c +++ b/index/invstat.c @@ -150,7 +150,9 @@ void inv_prstat (BFiles bfs) } else if (res_get_match (common_resource, "isam", "s", NULL)) { - isams = isams_open (bfs, FNAME_ISAMS, 0, key_isams_m(common_resource)); + struct ISAMS_M_s isams_m; + isams = isams_open (bfs, FNAME_ISAMS, 0, + key_isams_m(common_resource, &isams_m)); if (!isams) { logf (LOG_FATAL, "isams_open fail"); @@ -168,7 +170,9 @@ void inv_prstat (BFiles bfs) } else { - isamc = isc_open (bfs, FNAME_ISAMC, 0, key_isamc_m (common_resource)); + struct ISAMC_M_s isamc_m; + isamc = isc_open (bfs, FNAME_ISAMC, 0, + key_isamc_m (common_resource, &isamc_m)); if (!isamc) { logf (LOG_FATAL, "isc_open fail"); @@ -261,7 +265,11 @@ void inv_prstat (BFiles bfs) /* * * $Log: invstat.c,v $ - * Revision 1.13 1999-07-08 14:23:27 heikki + * Revision 1.14 1999-07-14 10:59:26 adam + * Changed functions isc_getmethod, isams_getmethod. + * Improved fatal error handling (such as missing EXPLAIN schema). + * + * Revision 1.13 1999/07/08 14:23:27 heikki * Fixed a bug in isamh_pp_read and cleaned up a bit * * Revision 1.12 1999/07/06 12:28:04 adam