mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +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 );
|
||||
try {
|
||||
db.execSQL( "DROP TABLE " + TABLE_NAMES._OBITS + ";" );
|
||||
db.execSQL( "DROP TABLE IF EXISTS " + TABLE_NAMES._OBITS + ";" );
|
||||
} catch ( SQLiteException ex ) {
|
||||
Log.ex( TAG, ex );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue