diff --git a/src/server/common/dbconn.cpp b/src/server/common/dbconn.cpp index 4f3ae6d7f6d..82cf2bdad78 100644 --- a/src/server/common/dbconn.cpp +++ b/src/server/common/dbconn.cpp @@ -168,7 +168,7 @@ std::unique_ptr dbconn::get_game_history(int player_id, in else { // put the where clause with an always true condition here so I don't need to check again a couple lines down whether it needs "where" vs "and" - game_history_query += "where 1=1 "; + game_history_query += "where true "; } game_history_query += "and exists "