Skip to content

Commit 8282151

Browse files
Merge branches 'Development' and 'master' of https://github.com/amitshekhariitbhu/Android-Debug-Database into Development
2 parents 339de60 + f0ebaf0 commit 8282151

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static void showDebugDBAddressLogToast(Context context) {
9999
* Simplify emulator issue [Issue Link](https://github.com/amitshekhariitbhu/Android-Debug-Database/issues/6)
100100
* And of course many more features and bug fixes.
101101

102-
###[Check out Mindorks awesome open source projects here](https://mindorks.com/open-source-projects)
102+
### [Check out Mindorks awesome open source projects here](https://mindorks.com/open-source-projects)
103103

104104
### Contact - Let's become friends
105105
- [Twitter](https://twitter.com/amitiitbhu)

debug-db/src/main/java/com/amitshekhar/utils/DatabaseHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public static UpdateRowResponse updateRow(SQLiteDatabase db, String tableName, L
285285
if (whereClause == null) {
286286
whereClause = rowDataRequest.title + "=? ";
287287
} else {
288-
whereClause = "and " + rowDataRequest.title + "=? ";
288+
whereClause = whereClause + "and " + rowDataRequest.title + "=? ";
289289
}
290290
whereArgsList.add(rowDataRequest.value);
291291
} else {
@@ -340,7 +340,7 @@ public static UpdateRowResponse deleteRow(SQLiteDatabase db, String tableName,
340340
if (whereClause == null) {
341341
whereClause = rowDataRequest.title + "=? ";
342342
} else {
343-
whereClause = "and " + rowDataRequest.title + "=? ";
343+
whereClause = whereClause + "and " + rowDataRequest.title + "=? ";
344344
}
345345
whereArgsList.add(rowDataRequest.value);
346346
}

0 commit comments

Comments
 (0)