#85825# initialize pcache=NULL

This commit is contained in:
Ocke Janssen
2001-04-06 09:51:29 +00:00
parent 171eaa9af2
commit a578b1d84d
2 changed files with 8 additions and 5 deletions

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: RowSet.cxx,v $ * $RCSfile: RowSet.cxx,v $
* *
* $Revision: 1.53 $ * $Revision: 1.54 $
* *
* last change: $Author: oj $ $Date: 2001-04-06 10:19:13 $ * last change: $Author: oj $ $Date: 2001-04-06 10:51:29 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -2873,7 +2873,6 @@ Sequence< ::rtl::OUString > ORowSetClone::getSupportedServiceNames( ) throw (Ru
void ORowSetClone::disposing() void ORowSetClone::disposing()
{ {
MutexGuard aGuard( m_aMutex ); MutexGuard aGuard( m_aMutex );
delete m_pCache;
ORowSetBase::disposing(); ORowSetBase::disposing();
m_pParent = NULL; m_pParent = NULL;

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: RowSetCache.cxx,v $ * $RCSfile: RowSetCache.cxx,v $
* *
* $Revision: 1.29 $ * $Revision: 1.30 $
* *
* last change: $Author: oj $ $Date: 2001-04-05 14:14:41 $ * last change: $Author: oj $ $Date: 2001-04-06 10:51:29 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -155,6 +155,7 @@ ORowSetCache::ORowSetCache(const Reference< XResultSet >& _xRs,
,m_bModified(_bModified) ,m_bModified(_bModified)
,m_pMatrix(NULL) ,m_pMatrix(NULL)
,m_pInsertMatrix(NULL) ,m_pInsertMatrix(NULL)
,m_pCacheSet(NULL)
{ {
// check if all keys of the updateable table are fetched // check if all keys of the updateable table are fetched
sal_Bool bAllKeysFound = sal_False; sal_Bool bAllKeysFound = sal_False;
@@ -1806,6 +1807,9 @@ void ORowSetCache::setUpdateIterator(const ORowSetMatrix::iterator& _rOriginalRo
/*------------------------------------------------------------------------ /*------------------------------------------------------------------------
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.29 2001/04/05 14:14:41 oj
#85788# absolut(-1) is last record
Revision 1.28 2001/04/05 07:51:27 oj Revision 1.28 2001/04/05 07:51:27 oj
#85735# insert more exceptions when using in wrong order #85735# insert more exceptions when using in wrong order