a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/lib/rqlEval.c src/lib/rqlEval.c index 081a732..3024da1 100644 --- src/lib/rqlEval.c +++ src/lib/rqlEval.c @@ -1,28 +1,27 @@ /* rqlEval - evaluate tree returned by rqlParse given a record and function to lookup fields * in the record. . */ #include "common.h" #include "linefile.h" #include "hash.h" #include "dystring.h" #include "localmem.h" #include "tokenizer.h" #include "sqlNum.h" #include "rql.h" -static char const rcsid[] = "$Id: rqlEval.c,v 1.4 2009/12/03 20:05:23 kent Exp $"; static struct rqlEval rqlLocalEval(struct rqlParse *p, void *record, RqlEvalLookup lookup, struct lm *lm); /* Evaluate self on parse tree, allocating memory if needed from lm. */ struct rqlEval rqlEvalCoerceToBoolean(struct rqlEval r) /* Return TRUE if it's a nonempty string or a non-zero number. */ { switch (r.type) { case rqlTypeBoolean: break; /* It's already done. */ case rqlTypeString: r.val.b = (r.val.s != NULL && r.val.s[0] != 0); break;