[Libreoffice-commits] core.git: connectivity/source
Julien Nabet
serval2412 at yahoo.fr
Sun Oct 8 18:33:14 UTC 2017
connectivity/source/drivers/odbc/OResultSet.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit b76a087f73cdf3d1a8bcc56b1ed7a5959ca0f1bd
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Oct 8 14:00:59 2017 +0200
Related tdf#112947: another fix about odbc
As discussed here:
https://bugs.documentfoundation.org/show_bug.cgi?id=112947#c9
and
https://bugs.documentfoundation.org/show_bug.cgi?id=112947#c10
Change-Id: I4376c090c4da3f25487d404ed8c0e00ca51ca204
Reviewed-on: https://gerrit.libreoffice.org/43241
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/connectivity/source/drivers/odbc/OResultSet.cxx b/connectivity/source/drivers/odbc/OResultSet.cxx
index 7a74762a30c0..3db3862ae557 100644
--- a/connectivity/source/drivers/odbc/OResultSet.cxx
+++ b/connectivity/source/drivers/odbc/OResultSet.cxx
@@ -164,7 +164,9 @@ OResultSet::OResultSet(SQLHANDLE _pStatementHandle ,OStatement_Base* pStmt) :
OResultSet::~OResultSet()
{
+ setStmtOption<SQLLEN*, SQL_IS_POINTER>(SQL_ATTR_FETCH_BOOKMARK_PTR, nullptr);
setStmtOption<SQLUSMALLINT*, SQL_IS_POINTER>(SQL_ATTR_ROW_STATUS_PTR, nullptr);
+
}
void OResultSet::construct()
More information about the Libreoffice-commits
mailing list