Fixed an issue where On-demand rows throw an error when any row cell is edited

and saved it then scroll to get more rows.

Fixes #7005
This commit is contained in:
Nikhil Mohite
2021-11-28 13:26:40 +05:30
committed by Akshay Joshi
parent 7c18ddfe7d
commit bef692d431
3 changed files with 2 additions and 4 deletions

View File

@@ -1113,7 +1113,6 @@ WHERE db.datname = current_database()""")
formatted exception message
"""
status, cur = self.__cursor()
self.row_count = 0
if not status:
return False, str(cur)
@@ -1164,8 +1163,6 @@ WHERE db.datname = current_database()""")
)
return False, errmsg
self.row_count = cur.rowcount
return True, None
def __attempt_execution_reconnect(self, fn, *args, **kwargs):