diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-04-03 07:28:23 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-04-03 07:28:23 +0000 |
commit | ee2b9ec6288e8f7752bb34275d40e25d68bd03fa (patch) | |
tree | ad4c40bec62a6540a643523eecc53983d8441e46 /dbaccess | |
parent | c2aa14c3469c3d186934db9221d3c7ca3467fdfb (diff) |
#85621# cancelRowUpdates: move to the correct bookmark
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/RowSet.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index 79dbc07d9654..b4fa14d929bd 100644 --- a/dbaccess/source/core/api/RowSet.cxx +++ b/dbaccess/source/core/api/RowSet.cxx @@ -2,9 +2,9 @@ * * $RCSfile: RowSet.cxx,v $ * - * $Revision: 1.47 $ + * $Revision: 1.48 $ * - * last change: $Author: oj $ $Date: 2001-04-02 11:14:53 $ + * last change: $Author: fs $ $Date: 2001-04-03 08:28:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1195,6 +1195,10 @@ void SAL_CALL ORowSet::cancelRowUpdates( ) throw(SQLException, RuntimeException throw FunctionSequenceException(*this); ::osl::MutexGuard aGuard( m_rMutex ); + + if(m_aBookmark.hasValue()) + m_pCache->moveToBookmark(m_aBookmark); + m_pCache->cancelRowUpdates(); ORowSetMatrix::iterator aOldValues = m_aCurrentRow; |