Query breaks after updating Android app
<p>I have this query running. If I update my app from an old version to a new. This query seems to break. I can 100% guarantee that the database is the same. Does anyone have any suggestions for what I should check?</p>

<pre><code>Cursor value = checkDB.rawQuery("SELECT * FROM table WHERE open='1' AND country=?", new String[]{countryID});
</code></pre>

<p>This is where that query is nested.</p>

<pre><code>protected Cursor getChildrenCursor(Cursor groupCursor) {
    String countryID = Integer.toString(groupCursor.getInt(groupCursor.getColumnIndex("_id")));
    SQLiteDatabase checkDB = null;
    checkDB = SQLiteDatabase.openDatabase(DB_PATH, null, SQLiteDatabase.OPEN_READONLY);
    Cursor value = checkDB.rawQuery("SELECT * FROM table WHERE open='1' AND country=?", new String[]{countryID});
    checkDB.close();
    return value;
}
</code></pre>

<p>Edit: By break I mean that no results are returned.</p>
