We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a42d7e commit 020f5faCopy full SHA for 020f5fa
web/pgadmin/tools/sqleditor/__init__.py
@@ -1207,7 +1207,7 @@ def poll(trans_id):
1207
1208
# Check the next recordset/page is available or not for the server cursor
1209
next_page = 0
1210
- if (trans_obj.server_cursor and len(result) > 0 and
+ if (trans_obj.server_cursor and result and len(result) > 0 and
1211
len(result) > data_result_rows_per_page):
1212
result = result[0:len(result) - 1]
1213
next_page = 1
0 commit comments