Project

General

Profile

Bug #5065

affected rows is invalid for last page.

Added by Jan Klopper over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Model
Target version:
Start date:
2017-04-19
Due date:
% Done:

70%

Estimated time:

Description

in ext_lib/underdark/libs/sqltalk/mysql/cursor.py

    if totalcount and limit is not None: # and limit == len(result):
      result.affected = self._Execute('SELECT FOUND_ROWS()')[0][0]

Should be:
    if totalcount and limit is not None:
      result.affected = self._Execute('SELECT FOUND_ROWS()')[0][0]

History

#1 Updated by Jan Klopper over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 70

Resolved in #342

Also available in: Atom PDF