summaryrefslogtreecommitdiff
path: root/dbaccess/source/filter/hsqldb/hsqlimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/filter/hsqldb/hsqlimport.cxx')
-rw-r--r--dbaccess/source/filter/hsqldb/hsqlimport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/filter/hsqldb/hsqlimport.cxx b/dbaccess/source/filter/hsqldb/hsqlimport.cxx
index 2a098476b62e..7a01045bfb37 100644
--- a/dbaccess/source/filter/hsqldb/hsqlimport.cxx
+++ b/dbaccess/source/filter/hsqldb/hsqlimport.cxx
@@ -305,9 +305,6 @@ void HsqlImporter::importHsqlDatabase()
}
catch (SQLException& ex)
{
- // chain errors and keep going
- if (pException)
- ex.NextException <<= *pException;
pException.reset(new SQLException{ std::move(ex) });
}
@@ -329,6 +326,7 @@ void HsqlImporter::importHsqlDatabase()
}
catch (SQLException& ex)
{
+ // chain errors and keep going
if (pException)
ex.NextException <<= *pException;
pException.reset(new SQLException{ std::move(ex) });
@@ -345,6 +343,7 @@ void HsqlImporter::importHsqlDatabase()
}
catch (SQLException& ex)
{
+ // chain errors and keep going
if (pException)
ex.NextException <<= *pException;
pException.reset(new SQLException{ std::move(ex) });
@@ -361,6 +360,7 @@ void HsqlImporter::importHsqlDatabase()
}
catch (SQLException& ex)
{
+ // chain errors and keep going
if (pException)
ex.NextException <<= *pException;
pException.reset(new SQLException{ std::move(ex) });