Tag: cws_src680_dba24d User: fs Date: 2007-11-21 21:08:19+0000 Modified: dba/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
Log: #i82233# some debugging code File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: SingleSelectQueryComposer.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/SingleSelectQueryComposer.cxx?r1=1.24.26.1&r2=1.24.26.2 Delta lines: +21 -2 -------------------- --- SingleSelectQueryComposer.cxx 2007-11-08 14:10:56+0000 1.24.26.1 +++ SingleSelectQueryComposer.cxx 2007-11-21 21:08:16+0000 1.24.26.2 @@ -4,9 +4,9 @@ * * $RCSfile: SingleSelectQueryComposer.cxx,v $ * - * $Revision: 1.24.26.1 $ + * $Revision: 1.24.26.2 $ * - * last change: $Author: fs $ $Date: 2007/11/08 14:10:56 $ + * last change: $Author: fs $ $Date: 2007/11/21 21:08:16 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -999,12 +999,15 @@ } else if (SQL_ISRULE(pCondition,in_predicate)) { + OSL_ENSURE( false, "OSingleSelectQueryComposer::setANDCriteria: in_predicate not implemented!" ); } else if (SQL_ISRULE(pCondition,all_or_any_predicate)) { + OSL_ENSURE( false, "OSingleSelectQueryComposer::setANDCriteria: all_or_any_predicate not implemented!" ); } else if (SQL_ISRULE(pCondition,between_predicate)) { + OSL_ENSURE( false, "OSingleSelectQueryComposer::setANDCriteria: between_predicate not implemented!" ); } rFilter.push_back(aItem); @@ -1687,15 +1690,31 @@ OSQLParseNode* pWhereNode = const_cast<OSQLParseNode*>(m_aAdditiveIterator.getWhereTree()); OSQLParseNode* pCondition = pWhereNode->getChild(1); + #if OSL_DEBUG_LEVEL > 0 + ::rtl::OUString sCondition; + pCondition->parseNodeToStr( sCondition, m_xConnection ); + #endif OSQLParseNode::negateSearchCondition(pCondition); pCondition = pWhereNode->getChild(1); + #if OSL_DEBUG_LEVEL > 0 + sCondition = ::rtl::OUString(); + pCondition->parseNodeToStr( sCondition, m_xConnection ); + #endif OSQLParseNode::disjunctiveNormalForm(pCondition); pCondition = pWhereNode->getChild(1); + #if OSL_DEBUG_LEVEL > 0 + sCondition = ::rtl::OUString(); + pCondition->parseNodeToStr( sCondition, m_xConnection ); + #endif OSQLParseNode::absorptions(pCondition); pCondition = pWhereNode->getChild(1); + #if OSL_DEBUG_LEVEL > 0 + sCondition = ::rtl::OUString(); + pCondition->parseNodeToStr( sCondition, m_xConnection ); + #endif if ( pCondition ) { ::std::vector< ::std::vector < PropertyValue > > aFilters; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
