From: Adam Dickmeiss Date: Thu, 29 Jan 1998 13:39:13 +0000 (+0000) Subject: Compress ISAM is default. X-Git-Tag: ZEBRA.1.0~248 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=3069523c17210f316ece638052eee94fce1db9e1 Compress ISAM is default. --- diff --git a/index/kinput.c b/index/kinput.c index 64c1906..3ba3463 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -1,10 +1,13 @@ /* - * Copyright (C) 1994-1997, Index Data I/S + * Copyright (C) 1994-1998, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: kinput.c,v $ - * Revision 1.25 1997-09-17 12:19:14 adam + * Revision 1.26 1998-01-29 13:39:13 adam + * Compress ISAM is default. + * + * Revision 1.25 1997/09/17 12:19:14 adam * Zebra version corresponds to YAZ version 1.4. * Changed Zebra server so that it doesn't depend on global common_resource. * @@ -615,7 +618,7 @@ void key_input (BFiles bfs, int nkeys, int cache) logf (LOG_FATAL, "dict_open fail"); exit (1); } - if (res_get_match (common_resource, "isam", "c", NULL)) + if (!res_get_match (common_resource, "isam", "i", NULL)) { isamc = isc_open (bfs, FNAME_ISAMC, 1, key_isamc_m (common_resource)); diff --git a/index/zserver.c b/index/zserver.c index 94cb90e..002989f 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zserver.c,v $ - * Revision 1.53 1998-01-12 15:04:09 adam + * Revision 1.54 1998-01-29 13:39:13 adam + * Compress ISAM is default. + * + * Revision 1.53 1998/01/12 15:04:09 adam * The test option (-s) only uses read-lock (and not write lock). * * Revision 1.52 1997/11/18 10:05:08 adam @@ -258,7 +261,7 @@ static int register_lock (ZServerInfo *zi) return -1; zi->isam = NULL; zi->isamc = NULL; - if (res_get_match (zi->res, "isam", "c", NULL)) + if (!res_get_match (zi->res, "isam", "i", NULL)) { if (!(zi->isamc = isc_open (zi->bfs, FNAME_ISAMC, 0, key_isamc_m(zi->res))))