Tag: cws_src680_dba30 User: oj Date: 06/04/18 06:12:45 Modified: /dba/connectivity/source/drivers/mysql/ YDriver.cxx
Log: RESYNC: (1.14-1.15); FILE MERGED 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.12.16.3&r2=1.12.16.4 Delta lines: +30 -29 --------------------- --- YDriver.cxx 21 Mar 2006 15:46:20 -0000 1.12.16.3 +++ YDriver.cxx 18 Apr 2006 13:12:42 -0000 1.12.16.4 @@ -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]
