Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a62a78

Browse files
committed
More generic
1 parent 067cc07 commit 6a62a78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ def expandAsteriskForColumns(expression):
622622
logger.info(infoMsg)
623623

624624
return expression
625-
625+
626626
def getRange(count, dump=False, plusOne=False):
627627
count = int(count)
628628
indexRange = None
@@ -636,7 +636,7 @@ def getRange(count, dump=False, plusOne=False):
636636
if isinstance(conf.limitStart, int) and conf.limitStart > 0 and conf.limitStart <= limitStop:
637637
limitStart = conf.limitStart
638638

639-
if kb.dbms == "Oracle" or plusOne:
639+
if plusOne:
640640
indexRange = range(limitStart, limitStop + 1)
641641
else:
642642
indexRange = range(limitStart - 1, limitStop)

0 commit comments

Comments
 (0)