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

New commits:
commit c245557c4e99ec77c40f493cf7658c1ee0f7eefe
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Sat Jul 20 14:56:24 2024 +0500
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Jul 23 08:59:30 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>
    Signed-off-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170856

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