Fix View data issue for the table without column.

This commit is contained in:
Khushboo Vashi
2023-03-31 11:23:20 +05:30
committed by GitHub
parent 21cbc6e9e5
commit 659316d3cb
@@ -1453,9 +1453,10 @@ Failed to reset the connection to the server due to following error:
desc in cur.ordered_description()]
pos = 0
for col in self.column_info:
col['pos'] = pos
pos += 1
if self.column_info:
for col in self.column_info:
col['pos'] = pos
pos += 1
self.row_count = cur.get_rowcount()
if not no_result and cur.get_rowcount() > 0: