Fix for missing content id column in all images query.

Fixes #3218
// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-05-21 07:40:59 -07:00
parent 18436dc3be
commit 1beed21032

View File

@ -98,6 +98,7 @@ public class PartDatabase extends Database {
private final static String IMAGES_QUERY = "SELECT " + TABLE_NAME + "." + ID + ", "
+ TABLE_NAME + "." + CONTENT_TYPE + ", "
+ TABLE_NAME + "." + ASPECT_RATIO + ", "
+ TABLE_NAME + "." + CONTENT_ID + ", "
+ MmsDatabase.TABLE_NAME + "." + MmsDatabase.NORMALIZED_DATE_RECEIVED + ", "
+ MmsDatabase.TABLE_NAME + "." + MmsDatabase.ADDRESS + " "
+ "FROM " + TABLE_NAME + " LEFT JOIN " + MmsDatabase.TABLE_NAME