tdf#136637: handle SQLException in OStatementBase::disposing
The problem was unhandled exception thrown from destructor, resulting in a crash. Change-Id: Ib9d2deb2fe9745bf8df060c4e5bf6436b4ca468d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170790 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
parent
0999687367
commit
1edfbb3108
1 changed files with 3 additions and 0 deletions
|
@ -152,6 +152,9 @@ void OStatementBase::disposing()
|
|||
catch(RuntimeException& )
|
||||
{// don't care for anymore
|
||||
}
|
||||
catch (SQLException&)
|
||||
{// don't care for anymore
|
||||
}
|
||||
}
|
||||
m_xAggregateAsSet = nullptr;
|
||||
|
||||
|
|
Loading…
Reference in a new issue