mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 12:49:55 +01:00
Unit tests and a bug fix for key management methods in JdbcDatabase.
This commit is contained in:
@@ -2347,7 +2347,7 @@ abstract class JdbcDatabase implements Database<Connection> {
|
||||
long period, long centre, byte[] bitmap) throws DbException {
|
||||
PreparedStatement ps = null;
|
||||
try {
|
||||
String sql = "UPDATE secrets SET centre = ? AND bitmap = ?"
|
||||
String sql = "UPDATE secrets SET centre = ?, bitmap = ?"
|
||||
+ " WHERE contactId = ? AND transportId = ? AND period = ?";
|
||||
ps = txn.prepareStatement(sql);
|
||||
ps.setLong(1, centre);
|
||||
|
||||
Reference in New Issue
Block a user