Tag: cws_src680_dba30 User: oj Date: 05/12/14 05:26:02 Modified: /dba/connectivity/source/parse/ sqlnode.cxx
Log: #i58987# check for boolean as comparison File Changes: Directory: /dba/connectivity/source/parse/ ========================================== File [changed]: sqlnode.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/parse/sqlnode.cxx?r1=1.37&r2=1.37.14.1 Delta lines: +5 -4 ------------------- --- sqlnode.cxx 8 Sep 2005 07:41:26 -0000 1.37 +++ sqlnode.cxx 14 Dec 2005 13:25:59 -0000 1.37.14.1 @@ -4,9 +4,9 @@ * * $RCSfile: sqlnode.cxx,v $ * - * $Revision: 1.37 $ + * $Revision: 1.37.14.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 07:41:26 $ + * last change: $Author: oj $ $Date: 2005/12/14 13:25:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -583,7 +583,7 @@ return nErg; } - if (pLiteral->isRule() && !SQL_ISRULE(pLiteral,value_exp)) + if ( (pLiteral->isRule() && !SQL_ISRULE(pLiteral,value_exp)) || SQL_ISTOKEN(pLiteral,FALSE) || SQL_ISTOKEN(pLiteral,TRUE) ) { switch(nType) { @@ -641,6 +641,7 @@ switch(nType) { case DataType::BIT: + case DataType::BOOLEAN: case DataType::DECIMAL: case DataType::NUMERIC: case DataType::TINYINT: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
