From ac10225762ce2c242d21126b5730b1d60f0150ed Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 18 Sep 2014 10:04:20 +0300 Subject: implement --with-system-odbc on windows Change-Id: I1757b9ce74277b1c11533f41caeafaf9b88658ef --- connectivity/source/commontools/TSkipDeletedSet.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'connectivity/source/commontools') diff --git a/connectivity/source/commontools/TSkipDeletedSet.cxx b/connectivity/source/commontools/TSkipDeletedSet.cxx index 563d54555aa1..cd98dd3153fc 100644 --- a/connectivity/source/commontools/TSkipDeletedSet.cxx +++ b/connectivity/source/commontools/TSkipDeletedSet.cxx @@ -45,7 +45,7 @@ bool OSkipDeletedSet::skipDeleted(IResultSetHelper::Movement _eCursorPosition, s switch (_eCursorPosition) { - case IResultSetHelper::ABSOLUTE: + case IResultSetHelper::ABSOLUTE1: return moveAbsolute(_nOffset,_bRetrieveData); case IResultSetHelper::FIRST: // set the movement when positioning failed eDelPosition = IResultSetHelper::NEXT; @@ -55,7 +55,7 @@ bool OSkipDeletedSet::skipDeleted(IResultSetHelper::Movement _eCursorPosition, s eDelPosition = IResultSetHelper::PRIOR; // last row is invalid so position before nDelOffset = 1; break; - case IResultSetHelper::RELATIVE: + case IResultSetHelper::RELATIVE1: eDelPosition = (_nOffset >= 0) ? IResultSetHelper::NEXT : IResultSetHelper::PRIOR; break; default: @@ -107,7 +107,7 @@ bool OSkipDeletedSet::skipDeleted(IResultSetHelper::Movement _eCursorPosition, s } return bDataFound; } - else if (_eCursorPosition != IResultSetHelper::RELATIVE) + else if (_eCursorPosition != IResultSetHelper::RELATIVE1) { bDataFound = m_pHelper->move(_eCursorPosition, _nOffset, _bRetrieveData); bDone = bDataFound && (m_bDeletedVisible || !m_pHelper->isRowDeleted()); @@ -129,7 +129,7 @@ bool OSkipDeletedSet::skipDeleted(IResultSetHelper::Movement _eCursorPosition, s while (bDataFound && !bDone) // Iterate until we are at the valid set { bDataFound = m_pHelper->move(eDelPosition, 1, _bRetrieveData); - if (_eCursorPosition != IResultSetHelper::RELATIVE) + if (_eCursorPosition != IResultSetHelper::RELATIVE1) bDone = bDataFound && (m_bDeletedVisible || !m_pHelper->isRowDeleted()); else if (bDataFound && (m_bDeletedVisible || !m_pHelper->isRowDeleted())) { -- cgit