mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
init db before using it
This commit is contained in:
parent
bde5910c2a
commit
aca4e1fed8
1 changed files with 1 additions and 0 deletions
|
@ -437,6 +437,7 @@ public class DBUtils {
|
|||
String selection = DBHelper.GAMEID + "!=0";
|
||||
HashMap<String, HashSet<Integer> > map =
|
||||
new HashMap<String, HashSet<Integer> >();
|
||||
initDB( context );
|
||||
synchronized( s_dbHelper ) {
|
||||
SQLiteDatabase db = s_dbHelper.getReadableDatabase();
|
||||
Cursor cursor = db.query( DBHelper.TABLE_NAME_SUM, columns,
|
||||
|
|
Loading…
Reference in a new issue