Fix SQLite update query
Change-Id: I54a5e2f29e1e171901e7087e27d132256460f0f5
This commit is contained in:
parent
b14f1a45a8
commit
2bf9590ddd
@ -1347,7 +1347,7 @@ public final class DBHelper {
|
|||||||
// Add the credentialKey column, and set it to -1 for all pre-existing hostAuths.
|
// Add the credentialKey column, and set it to -1 for all pre-existing hostAuths.
|
||||||
db.execSQL("alter table " + HostAuth.TABLE_NAME
|
db.execSQL("alter table " + HostAuth.TABLE_NAME
|
||||||
+ " add " + HostAuthColumns.CREDENTIAL_KEY + " integer");
|
+ " add " + HostAuthColumns.CREDENTIAL_KEY + " integer");
|
||||||
db.execSQL("update table " + HostAuth.TABLE_NAME + " set "
|
db.execSQL("update " + HostAuth.TABLE_NAME + " set "
|
||||||
+ HostAuthColumns.CREDENTIAL_KEY + "=-1");
|
+ HostAuthColumns.CREDENTIAL_KEY + "=-1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user