Fix View data issue for the table without column.

pull/6062/head
Khushboo Vashi 2023-03-31 11:23:20 +05:30 committed by GitHub
parent 21cbc6e9e5
commit 659316d3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -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: