Fix View data issue for the table without column.
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()]
|
desc in cur.ordered_description()]
|
||||||
|
|
||||||
pos = 0
|
pos = 0
|
||||||
for col in self.column_info:
|
if self.column_info:
|
||||||
col['pos'] = pos
|
for col in self.column_info:
|
||||||
pos += 1
|
col['pos'] = pos
|
||||||
|
pos += 1
|
||||||
|
|
||||||
self.row_count = cur.get_rowcount()
|
self.row_count = cur.get_rowcount()
|
||||||
if not no_result and cur.get_rowcount() > 0:
|
if not no_result and cur.get_rowcount() > 0:
|
||||||
|
|
Loading…
Reference in New Issue