https://bugs.documentfoundation.org/show_bug.cgi?id=103077
--- Comment #22 from Julien Nabet <serval2...@yahoo.fr> ---
Would this patch help?
diff --git a/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx
b/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx
index 65336c2..992f3b5 100644
--- a/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx
+++ b/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx
@@ -50,6 +50,16 @@ ODatabaseMetaData::ODatabaseMetaData(const SQLHANDLE
_pHandle,OConnection* _pCon
try
{
m_bUseCatalog = !(usesLocalFiles() || usesLocalFilePerTable());
+ }
+ catch(SQLException& )
+ { // doesn't matter here
+ }
+ catch(RuntimeException& )
+ {
+ m_bUseCatalog = true;
+ }
+ try
+ {
OUString sVersion = getDriverVersion();
m_bOdbc3 = sVersion != "02.50" && sVersion != "02.00";
}
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs