X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Ftrunc.c;h=c664daae7c8461bbad914994294eab022ad1f3b7;hb=980ed96922282e7d6e20df51c14a7bb6e97246e8;hp=5bb9c045b310d579ac5d2c492feea0f5881177ad;hpb=27742a4ea82e9b3494c166203b06d1d7c48da923;p=idzebra-moved-to-github.git diff --git a/index/trunc.c b/index/trunc.c index 5bb9c04..c664daa 100644 --- a/index/trunc.c +++ b/index/trunc.c @@ -1,5 +1,5 @@ -/* $Id: trunc.c,v 1.66 2006-06-06 21:01:30 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: trunc.c,v 1.69 2007-10-29 16:57:53 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -15,9 +15,9 @@ 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. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ @@ -404,7 +404,7 @@ RSET rset_trunc(ZebraHandle zi, ISAM_P *isam_p, int no, const char *term, int length, const char *flags, int preserve_position, int term_type, NMEM rset_nmem, struct rset_key_control *kctrl, int scope, - struct ord_list *ol, int reg_type, + struct ord_list *ol, const char *index_type, zint hits_limit, const char *term_ref_id) { TERMID termid; @@ -412,7 +412,7 @@ RSET rset_trunc(ZebraHandle zi, ISAM_P *isam_p, int no, int trunc_chunk; termid = rset_term_create(term, length, flags, term_type, rset_nmem, ol, - reg_type, hits_limit, term_ref_id); + *index_type, hits_limit, term_ref_id); if (no < 1) return rset_create_null(rset_nmem, kctrl, termid);