dbaccess/source/core/api/statement.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 1edfbb310889d18cdd19aa8b339a510ffb25cf66
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Sat Jul 20 14:56:24 2024 +0500
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sat Jul 20 16:42:15 2024 +0200

    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.kagan...@collabora.com>

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;
 

Reply via email to