mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
avoid caught exception with better sql statement
This commit is contained in:
parent
2c26af0e68
commit
1c6afc7909
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ public class DBHelper extends SQLiteOpenHelper {
|
||||||
}
|
}
|
||||||
langCodeToISOCode( db, TABLE_NAMES.DICTINFO, LANGCODE, ISOCODE );
|
langCodeToISOCode( db, TABLE_NAMES.DICTINFO, LANGCODE, ISOCODE );
|
||||||
try {
|
try {
|
||||||
db.execSQL( "DROP TABLE " + TABLE_NAMES._OBITS + ";" );
|
db.execSQL( "DROP TABLE IF EXISTS " + TABLE_NAMES._OBITS + ";" );
|
||||||
} catch ( SQLiteException ex ) {
|
} catch ( SQLiteException ex ) {
|
||||||
Log.ex( TAG, ex );
|
Log.ex( TAG, ex );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue