Correct SQLite typo in DB.getRepo
This commit is contained in:
parent
2834a8966e
commit
50ffaa4ea9
@ -1029,7 +1029,7 @@ public class DB {
|
|||||||
public Repo getRepo(int id) {
|
public Repo getRepo(int id) {
|
||||||
Cursor c = null;
|
Cursor c = null;
|
||||||
try {
|
try {
|
||||||
c = db.query(TABLE_REPO, new String[] { "address, inuse",
|
c = db.query(TABLE_REPO, new String[] { "address", "inuse",
|
||||||
"priority", "pubkey", "lastetag" },
|
"priority", "pubkey", "lastetag" },
|
||||||
"id = " + Integer.toString(id), null, null, null, null);
|
"id = " + Integer.toString(id), null, null, null, null);
|
||||||
if (!c.moveToFirst())
|
if (!c.moveToFirst())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user