Tag: cws_src680_dba201b User: oj Date: 05/06/02 05:15:42 Modified: /dba/dbaccess/source/core/api/ RowSetCache.cxx
Log: #i50181# check if key columns are empty File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: RowSetCache.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSetCache.cxx?r1=1.75&r2=1.75.38.1 Delta lines: +4 -4 ------------------- --- RowSetCache.cxx 18 Mar 2005 10:05:15 -0000 1.75 +++ RowSetCache.cxx 2 Jun 2005 12:15:30 -0000 1.75.38.1 @@ -2,9 +2,9 @@ * * $RCSfile: RowSetCache.cxx,v $ * - * $Revision: 1.75 $ + * $Revision: 1.75.38.1 $ * - * last change: $Author: obo $ $Date: 2005/03/18 10:05:15 $ + * last change: $Author: oj $ $Date: 2005/06/02 12:15:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -248,7 +248,7 @@ Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData(); OColumnNamePos aColumnNames(xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers() ? true : false); ::dbaccess::getColumnPositions(xSelColumns,xColumns,aUpdateTableName,aColumnNames); - bAllKeysFound = sal_Int32(aColumnNames.size()) == xColumns->getElementNames().getLength(); + bAllKeysFound = !aColumnNames.empty() && sal_Int32(aColumnNames.size()) == xColumns->getElementNames().getLength(); } } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
