Tag: cws_src680_dba203a User: fs Date: 06/02/24 01:27:52 Modified: /dba/connectivity/source/drivers/mysql/ YDriver.cxx
Log: #i62522# File Changes: Directory: /dba/connectivity/source/drivers/mysql/ ================================================== File [changed]: YDriver.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mysql/YDriver.cxx?r1=1.14&r2=1.14.8.1 Delta lines: +33 -32 --------------------- --- YDriver.cxx 3 Feb 2006 17:14:31 -0000 1.14 +++ YDriver.cxx 24 Feb 2006 09:27:50 -0000 1.14.8.1 @@ -4,9 +4,9 @@ * * $RCSfile: YDriver.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.14.8.1 $ * - * last change: $Author: kz $ $Date: 2006/02/03 17:14:31 $ + * last change: $Author: fs $ $Date: 2006/02/24 09:27:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -295,8 +295,9 @@ Sequence< DriverPropertyInfo > SAL_CALL ODriverDelegator::getPropertyInfo( const ::rtl::OUString& url, const Sequence< PropertyValue >& info ) throw (SQLException, RuntimeException) { ::std::vector< DriverPropertyInfo > aDriverInfo; - if ( acceptsURL(url) ) - { + if ( !acceptsURL(url) ) + return Sequence< DriverPropertyInfo >(); + sal_Bool bIsODBC = isOdbcUrl( url ); Sequence< ::rtl::OUString > aBoolean(2); @@ -328,7 +329,7 @@ ,Sequence< ::rtl::OUString >()) ); } - } + return Sequence< DriverPropertyInfo >(&aDriverInfo[0],aDriverInfo.size()); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
