From 33bfb14559d5991bf34f99be507a89ffefe41632 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 25 May 2004 14:06:15 +0000 Subject: [PATCH] Do not throw error if truncation.none is not given --- src/cqltransform.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/cqltransform.c b/src/cqltransform.c index 104c02b..00305f7 100644 --- a/src/cqltransform.c +++ b/src/cqltransform.c @@ -1,4 +1,4 @@ -/* $Id: cqltransform.c,v 1.8 2004-03-15 21:39:06 adam Exp $ +/* $Id: cqltransform.c,v 1.9 2004-05-25 14:06:15 adam Exp $ Copyright (C) 2002-2004 Index Data Aps @@ -312,16 +312,9 @@ void emit_term(cql_transform_t ct, term = mem; } else { - /* No masking characters. If there's no "truncation.none" - * configuration element, that's an error which we - * indicate (rather tangentially) as 30 "Too many masking - * characters in term". 28 would be equally meaningful - * (or meaningless) but using a different value allows us - * to differentiate between this case and the previous - * one. - */ + /* No masking characters. Use "truncation.none" if given. */ cql_pr_attr(ct, "truncation", "none", 0, - pr, client_data, 30); + pr, client_data, 0); } } -- 1.7.10.4