From c83714bdec624771d45ac95a1f7824d0791e2d00 Mon Sep 17 00:00:00 2001 From: Irving Gonzalez Date: Wed, 10 Jun 2015 12:55:46 -0600 Subject: changing "database.selectDevices" query --- debug.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug.xml b/debug.xml index b058cd184..8762825ea 100644 --- a/debug.xml +++ b/debug.xml @@ -170,7 +170,7 @@ - SELECT * FROM device WHERE id IN (SELECT deviceId FROM user_device WHERE userId = :userId); + SELECT * FROM device d INNER JOIN user_device ud ON d.id = ud.deviceId WHERE ud.userId = :userId; -- cgit v1.2.3