X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=isamc%2Fisamd.c;h=1ff4ae17fee4305524c19af9c3e132d2c0bfcd53;hb=48d62eb784b4476f4be281417b94878e7169bf2c;hp=46b22baa2979528d6c6ec99282d3d4fe9c69ab5a;hpb=b8e1425a7f78791afbf45dc11acd82808e455c65;p=idzebra-moved-to-github.git diff --git a/isamc/isamd.c b/isamc/isamd.c index 46b22ba..1ff4ae1 100644 --- a/isamc/isamd.c +++ b/isamc/isamd.c @@ -1,15 +1,26 @@ -/* - * Copyright (c) 1995-1998, Index Data. - * See the file LICENSE for details. - * $Id: isamd.c,v 1.22 2002-07-12 18:12:21 heikki Exp $ - * - * Isamd - isam with diffs - * Programmed by: Heikki Levanto - * - * Todo - * - Statistics are missing and/or completely wrong - * - Lots of code stolen from isamc, not all needed any more - */ +/* $Id: isamd.c,v 1.24 2002-11-26 22:18:34 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 + Index Data Aps + +This file is part of the Zebra server. + +Zebra is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Zebra is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Zebra; see the file LICENSE.zebra. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. +*/ + + #include @@ -609,7 +620,7 @@ ISAMD_PP isamd_pp_open (ISAMD is, const char *dictbuf, int dictlen) pp->diffinfo=0; pp->decodeClientData = (*is->method->code_start)(ISAMD_DECODE); - dictnum=*dictbuf; // numkeys for internals, 0 for externals + dictnum=*dictbuf; /* numkeys for internals, 0 for externals */ if (0==dictnum) { @@ -870,7 +881,13 @@ void isamd_pp_dump (ISAMD is, ISAMD_P ipos) /* * $Log: isamd.c,v $ - * Revision 1.22 2002-07-12 18:12:21 heikki + * Revision 1.24 2002-11-26 22:18:34 adam + * Remove // comments + * + * Revision 1.23 2002/08/02 19:26:56 adam + * Towards GPL + * + * Revision 1.22 2002/07/12 18:12:21 heikki * Isam-D now stores small entries directly in the dictionary. * Needs more tuning and cleaning... *