Tag: cws_src680_qiq User: fs Date: 06/05/12 07:11:55 Modified: /dba/dbaccess/source/core/api/ SingleSelectQueryComposer.cxx
Log: #i51143# parseNodeToExecutableStatement now also taking a SQLParser - this allows nested sub queries 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.13.18.2&r2=1.13.18.3 Delta lines: +4 -4 ------------------- --- SingleSelectQueryComposer.cxx 10 May 2006 12:41:21 -0000 1.13.18.2 +++ SingleSelectQueryComposer.cxx 12 May 2006 14:11:53 -0000 1.13.18.3 @@ -4,9 +4,9 @@ * * $RCSfile: SingleSelectQueryComposer.cxx,v $ * - * $Revision: 1.13.18.2 $ + * $Revision: 1.13.18.3 $ * - * last change: $Author: fs $ $Date: 2006/05/10 12:41:21 $ + * last change: $Author: fs $ $Date: 2006/05/12 14:11:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -749,7 +749,7 @@ const ::std::auto_ptr< OSQLParseNode > pStatementTree( m_aSqlParser.parseTree( sError, sSql, false ) ); DBG_ASSERT( pStatementTree.get(), "OSingleSelectQueryComposer::getColumns: could not parse the column retrieval statement!" ); if ( pStatementTree.get() ) - pStatementTree->parseNodeToExecutableStatement( sSql, m_xConnection ); + pStatementTree->parseNodeToExecutableStatement( sSql, m_xConnection, m_aSqlParser ); Reference<XResultSetMetaDataSupplier> xResMetaDataSup; xResMetaDataSup = Reference<XResultSetMetaDataSupplier>(xStmt->executeQuery(sSql),UNO_QUERY); @@ -1314,7 +1314,7 @@ const OSQLParseNode* pStatementNode = m_aSqlIterator.getParseTree(); if ( pStatementNode ) - pStatementNode->parseNodeToExecutableStatement( sSqlStatement, m_xConnection ); + pStatementNode->parseNodeToExecutableStatement( sSqlStatement, m_xConnection, m_aSqlParser ); return sSqlStatement; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
