diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-07-20 14:56:24 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-07-20 16:42:15 +0200 |
commit | 1edfbb310889d18cdd19aa8b339a510ffb25cf66 (patch) | |
tree | 11f39b5832d4f5916950f804a51ef680610996cd /dbaccess | |
parent | 0999687367a673d08d836c1cd47b4b0339d7ee2e (diff) |
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>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/statement.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dbaccess/source/core/api/statement.cxx b/dbaccess/source/core/api/statement.cxx index f6457121c4b3..3a6dfe2a490e 100644 --- a/dbaccess/source/core/api/statement.cxx +++ b/dbaccess/source/core/api/statement.cxx @@ -152,6 +152,9 @@ void OStatementBase::disposing() catch(RuntimeException& ) {// don't care for anymore } + catch (SQLException&) + {// don't care for anymore + } } m_xAggregateAsSet = nullptr; |