aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-07-09 14:15:59 +0200
committerAndreas Straub <andy@strb.org>2015-07-09 14:15:59 +0200
commitce4b86e6d45254fc2a590a3cf898addcbe3a8274 (patch)
tree6662a35a6ab4043e0c17e46b212782e027401999 /src
parent34f90f2eb7c4a641994f1cb4bbc32771364d4f79 (diff)
Fix getSubDeviceSessions SQL query
Diffstat (limited to 'src')
-rw-r--r--src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java b/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java
index e408fa7f..4fb01942 100644
--- a/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java
+++ b/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java
@@ -594,7 +594,7 @@ public class DatabaseBackend extends SQLiteOpenHelper {
Cursor cursor = db.query(AxolotlService.SQLiteAxolotlStore.SESSION_TABLENAME,
columns,
AxolotlService.SQLiteAxolotlStore.ACCOUNT + " = ? AND "
- + AxolotlService.SQLiteAxolotlStore.NAME + " = ? AND ",
+ + AxolotlService.SQLiteAxolotlStore.NAME + " = ?",
selectionArgs,
null, null, null);