We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd319f9 commit 4588b1aCopy full SHA for 4588b1a
1 file changed
MatchingServer/src/repository/room_repository.cpp
@@ -25,7 +25,7 @@ namespace game_server {
25
pqxx::result result = txn.exec_params(
26
"SELECT room_id, room_name, host_id, ip_address, port, "
27
"max_players, status, created_at "
28
- "FROM rooms WHERE status = 'WAITING' AND WHERE status = 'GAME_IN_PROGRESS' "
+ "FROM rooms WHERE status = 'WAITING' AND status = 'GAME_IN_PROGRESS' "
29
"ORDER BY created_at DESC");
30
31
txn.commit();
0 commit comments