Fixed a SQL typo. Unit tests would've caught this.

This commit is contained in:
akwizgran
2013-12-19 22:36:42 +00:00
parent 8b44152ed4
commit 0a61fc40ae

View File

@@ -1388,7 +1388,7 @@ abstract class JdbcDatabase implements Database<Connection> {
try { try {
// Get the local and remote authors // Get the local and remote authors
String sql = "SELECT l.authorId, l.name, l.publicKey," String sql = "SELECT l.authorId, l.name, l.publicKey,"
+ " r.authorId, r.name, r.publicKay" + " r.authorId, r.name, r.publicKey"
+ " FROM localAuthors AS l" + " FROM localAuthors AS l"
+ " JOIN contacts AS r" + " JOIN contacts AS r"
+ " ON l.authorId = r.localAuthorId" + " ON l.authorId = r.localAuthorId"