Author: damjan
Date: Fri Aug 14 19:17:46 2015
New Revision: 1695962
URL: http://svn.apache.org/r1695962
Log:
#i120706# CRASH - navigating tables containing NULL timestamps in
DataSourceBrowser using mysql JDBC connector causes AOO to crash
because the read-only column list was not kept in sync with the column list.
Modified:
openoffice/trunk/main/dbaccess/source/core/api/RowSet.cxx
Modified: openoffice/trunk/main/dbaccess/source/core/api/RowSet.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/dbaccess/source/core/api/RowSet.cxx?rev=1695962&r1=1695961&r2=1695962&view=diff
==============================================================================
--- openoffice/trunk/main/dbaccess/source/core/api/RowSet.cxx (original)
+++ openoffice/trunk/main/dbaccess/source/core/api/RowSet.cxx Fri Aug 14
19:17:46 2015
@@ -565,6 +565,7 @@ void ORowSet::freeResources( bool _bComp
// the columns must be disposed before the querycomposer is
disposed because
// their owner can be the composer
TDataColumns().swap(m_aDataColumns);// clear and resize capacity
+ m_aReadOnlyDataColumns.clear();
m_xColumns = NULL;
if ( m_pColumns )
m_pColumns->disposing();