Hi, Steve,

Just add macro FASTBIT_HALT_ON_PARSER_ERROR to SVN Revision 645.  You
can add '-DFASTBIT_HALT_ON_PARSER_ERROR' to the CXXFLAGS to cause the
constructor of whereClause to throw an exception when it encounters a
syntax error.  This will cause command line tools such ibis to
terminate.  Let me know if you had something else in mind.

John


On 6/20/13 2:13 PM, Enns, Steven wrote:
> Hi all,
> 
> We noticed that fast bit ignores syntax errors in the where query,
> displaying a warning but returning a result.  Is there a good way to
> force a failure in this case?
> 
> Warning -- ibis::whereParser encountered syntax error, unexpected
> $undefined, expecting name string or string sequence or string literal
> or '(' at location (geo contains 'US') and (geo contains 'US)):1.38-39
> 
> Thanks,
> Steve
> 
> 
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
> 
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to