X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=index%2Fkinput.c;h=d356783a4cfcb3f710e3011c2ec0abd6f03d5bfd;hb=5a4211916c8b14d4b0ec9cc717e613b88394affb;hp=ac03e13b986857eae09c6e7759cc5dee3ea9bdc4;hpb=f0dbdd21e0227559e4407a5e25ce3ead47ede825;p=idzebra-moved-to-github.git diff --git a/index/kinput.c b/index/kinput.c index ac03e13..d356783 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -4,7 +4,18 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: kinput.c,v $ - * Revision 1.20 1996-11-01 08:58:41 adam + * Revision 1.22 1997-02-12 20:39:45 adam + * Implemented options -f that limits the log to the first + * records. + * Changed some log messages also. + * + * Revision 1.21 1996/11/08 11:10:23 adam + * Buffers used during file match got bigger. + * Compressed ISAM support everywhere. + * Bug fixes regarding masking characters in queries. + * Redesigned Regexp-2 queries. + * + * Revision 1.20 1996/11/01 08:58:41 adam * Interface to isamc system now includes update and delete. * * Revision 1.19 1996/10/29 14:09:46 adam @@ -421,6 +432,7 @@ int heap_inpc (struct heap_info *hi) strcpy (this_name, hci.cur_name); logf (LOG_DEBUG, "inserting %s", 1+hci.cur_name); + no_diffs++; if ((dict_info = dict_lookup (hi->dict, hci.cur_name))) { memcpy (&isamc_p, dict_info+1, sizeof(ISAMC_P)); @@ -437,7 +449,6 @@ int heap_inpc (struct heap_info *hi) if (isamc_p2 != isamc_p) dict_insert (hi->dict, this_name, sizeof(ISAMC_P), &isamc_p2); - } } else @@ -591,8 +602,8 @@ void key_input (int nkeys, int cache) isamc = isc_open (FNAME_ISAMC, 1, key_isamc_m ()); if (!isamc) { - logf (LOG_FATAL, "isc_open fail"); - exit (1); + logf (LOG_FATAL, "isc_open fail"); + exit (1); } } else @@ -634,7 +645,7 @@ void key_input (int nkeys, int cache) is_close (isam); if (isamc) isc_close (isamc); - + for (i = 1; i<=nkeys; i++) { getFnameTmp (rbuf, i);