User: vg Date: 2007/01/15 06:30:22 Modified: dba/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
Log: INTEGRATION: CWS dba22b (1.21.54); FILE MERGED 2006/12/13 10:40:39 fs 1.21.54.2: #i69460# when creating a statement, don't let it use EscapeProcessing, this would be an endless loop 2006/12/04 22:41:00 fs 1.21.54.1: #i72252# parseNodeTo*/getColumnRange: use XConnection instead of XDatabaseMetaData 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.22&r2=1.23 Delta lines: +3 -0 ------------------- --- SingleSelectQueryComposer.cxx 13 Dec 2006 16:44:42 -0000 1.22 +++ SingleSelectQueryComposer.cxx 15 Jan 2007 14:30:20 -0000 1.23 @@ -769,6 +769,9 @@ try { xStatement.reset( Reference< XStatement >( m_xConnection->createStatement(), UNO_QUERY_THROW ) ); + Reference< XPropertySet > xStatementProps( xStatement, UNO_QUERY_THROW ); + try { xStatementProps->setPropertyValue( PROPERTY_USE_ESCAPE_PROCESSING, makeAny( sal_False ) ); } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } Reference< XResultSetMetaDataSupplier > xResMetaDataSup( xStatement->executeQuery( sSql ), UNO_QUERY_THROW ); xResultSetMeta.set( xResMetaDataSup->getMetaData(), UNO_QUERY_THROW ); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
