Skip to content

Commit

Permalink
Bug: 467378 - Char escape in DatabaseMessageStore
Browse files Browse the repository at this point in the history
Adding a missed "=?" in SQLite query for getArrivedRowCount

Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
  • Loading branch information
jpwsutton committed Sep 4, 2015
1 parent 8b10168 commit 712b61a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private int getArrivedRowCount(String clientHandle) {
String[] projection = {
MqttServiceConstants.MESSAGE_ID,
};
String selection = MqttServiceConstants.CLIENT_HANDLE;
String selection = MqttServiceConstants.CLIENT_HANDLE + "=?";
String[] selectionArgs = new String[1];
selectionArgs[0] = clientHandle;
Cursor c = db.query(
Expand Down

0 comments on commit 712b61a

Please sign in to comment.