don't ask for column no longer there

This commit is contained in:
Eric House 2012-09-18 06:38:22 -07:00
parent 4fa5c61e14
commit fcecd1db3c

View file

@ -960,8 +960,7 @@ public class DBUtils {
SQLiteDatabase db = s_dbHelper.getReadableDatabase();
String[] columns = { DBHelper.ITERPOS, DBHelper.ITERTOP,
DBHelper.ITERMIN, DBHelper.ITERMAX,
DBHelper.WORDCOUNTS, DBHelper.WORDCOUNT,
DBHelper.ITERPREFIX };
DBHelper.WORDCOUNTS, DBHelper.ITERPREFIX };
String selection = String.format( NAME_FMT, DBHelper.DICTNAME, name );
Cursor cursor = db.query( DBHelper.TABLE_NAME_DICTBROWSE, columns,
selection, null, null, null, null );