mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 12:19:54 +01:00
Unit tests and a bugfix for the new database methods.
This commit is contained in:
@@ -1405,6 +1405,8 @@ abstract class JdbcDatabase implements Database<Connection> {
|
||||
+ " ON messages.groupId = contactSubscriptions.groupId"
|
||||
+ " WHERE messageId = ? AND contactId = ?";
|
||||
ps = txn.prepareStatement(sql);
|
||||
ps.setBytes(1, m.getBytes());
|
||||
ps.setInt(2, c.getInt());
|
||||
rs = ps.executeQuery();
|
||||
boolean found = rs.next();
|
||||
assert found;
|
||||
|
||||
Reference in New Issue
Block a user