diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-08-28 19:17:36 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-08-28 19:27:36 +0200 |
commit | c72a6ebd4ab41e690bf349c8dd4597a2140aac9a (patch) | |
tree | 7c1321d83fb5eb994d0ca78f6500163ab7b21452 /connectivity | |
parent | e362f9fcd7f50d750e8549d7b93a0a9a66cbabe1 (diff) |
remove risk of infinite recursion
fillColumn is the only caller of impl_getBookmark, so all necessary
setup (in particular ensureCacheForColumn) is already done, and
does not need to be done in impl_getBookmark again.
Change-Id: Ic78b7dabd7c536abd9ed956baa178d685a63f713
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/odbcbase/OResultSet.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/connectivity/source/drivers/odbcbase/OResultSet.cxx b/connectivity/source/drivers/odbcbase/OResultSet.cxx index 0c5de7de18fe..91b8cc673173 100644 --- a/connectivity/source/drivers/odbcbase/OResultSet.cxx +++ b/connectivity/source/drivers/odbcbase/OResultSet.cxx @@ -1206,7 +1206,6 @@ Sequence<sal_Int8> OResultSet::impl_getBookmark( ) throw( SQLException, Runtim if(m_nUseBookmarks == SQL_UB_OFF) throw SQLException(); - fillColumn(0); Sequence<sal_Int8> bookmark = OTools::getBytesValue(m_pStatement->getOwnConnection(),m_aStatementHandle,0,SQL_C_VARBOOKMARK,m_bWasNull,**this); m_aPosToBookmarks[bookmark] = m_nRowPos; OSL_ENSURE(bookmark.getLength(),"Invalid bookmark from length 0!"); |