connectivity/source/drivers/odbc/OResultSet.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 2399cf59fc0467028e7183877582821dc878120f
Author: Lionel Elie Mamane <lio...@mamane.lu>
Date:   Mon Oct 9 08:53:13 2017 +0200

    Revert "Related tdf#112947: another fix about odbc"
    
    Since the buffer pointed to by SQL_ATTR_FETCH_BOOKMARK_PTR is not 
free()/delete()ed by the destructor of OResultSet, this is not the right place 
to unregister it.
    
    This reverts commit b76a087f73cdf3d1a8bcc56b1ed7a5959ca0f1bd.
    
    Change-Id: I78e162c0ced1a15decc4a0f464c99f68fcac7ce5
    Reviewed-on: https://gerrit.libreoffice.org/43270
    Reviewed-by: Lionel Elie Mamane <lio...@mamane.lu>
    Tested-by: Lionel Elie Mamane <lio...@mamane.lu>

diff --git a/connectivity/source/drivers/odbc/OResultSet.cxx 
b/connectivity/source/drivers/odbc/OResultSet.cxx
index 97768116d1e9..7a74762a30c0 100644
--- a/connectivity/source/drivers/odbc/OResultSet.cxx
+++ b/connectivity/source/drivers/odbc/OResultSet.cxx
@@ -164,7 +164,6 @@ 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);
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to