diff options
author | Ocke Janssen [oj] <Ocke.Janssen@sun.com> | 2010-07-07 08:25:19 +0200 |
---|---|---|
committer | Ocke Janssen [oj] <Ocke.Janssen@sun.com> | 2010-07-07 08:25:19 +0200 |
commit | d98c5119b4f4211167c919e7bf0bc32875dafbf5 (patch) | |
tree | 50ae41d4cd9b667009115ed52b75e277d83d3db8 /dbaccess | |
parent | 5110f7d154632f7a70fe390832ed90e72b993d8c (diff) |
dba33g: clear warnings when free resource to avoid disposed exception when reloaded
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/RowSet.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index 27abc75da747..829155709119 100644 --- a/dbaccess/source/core/api/RowSet.cxx +++ b/dbaccess/source/core/api/RowSet.cxx @@ -580,6 +580,9 @@ void ORowSet::freeResources( bool _bComplete ) m_xComposer = NULL; } + // let our warnings container forget the reference to the (possibly disposed) old result set + m_aWarnings.setExternalWarnings( NULL ); + DELETEZ(m_pCache); impl_resetTables_nothrow(); |