From b76a087f73cdf3d1a8bcc56b1ed7a5959ca0f1bd Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 8 Oct 2017 14:00:59 +0200 Subject: 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 Reviewed-by: Julien Nabet --- connectivity/source/drivers/odbc/OResultSet.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'connectivity') 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(SQL_ATTR_FETCH_BOOKMARK_PTR, nullptr); setStmtOption(SQL_ATTR_ROW_STATUS_PTR, nullptr); + } void OResultSet::construct() -- cgit