Change UNION to UNION ALL

develop
Etzelia 2019-09-25 22:14:54 +02:00
parent 02d14bc394
commit 18cf8ea74d
1 changed files with 1 additions and 1 deletions

2
gui.py
View File

@ -218,7 +218,7 @@ def gui_results(form):
{time} {time}
'''.format(worlds=worlds_clause, players=players_clause, coords=coords_clause, time=time_clause)) '''.format(worlds=worlds_clause, players=players_clause, coords=coords_clause, time=time_clause))
query = " UNION ".join(queries) query = " UNION ALL ".join(queries)
if query: if query:
query += " ORDER BY unix {} LIMIT {}, {}".format(oldest_first, form.start, form.page_size) query += " ORDER BY unix {} LIMIT {}, {}".format(oldest_first, form.start, form.page_size)
if query: if query: