|
|
|
@ -257,8 +257,7 @@ abstract public class AbstractDatabase {
|
|
|
|
* @see android.database.sqlite.SQLiteDatabase#update(String table, ContentValues values, String whereClause, String[] whereArgs)
|
|
|
|
* @see android.database.sqlite.SQLiteDatabase#update(String table, ContentValues values, String whereClause, String[] whereArgs)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public synchronized int update(String table, ContentValues values, String whereClause, String[] whereArgs) {
|
|
|
|
public synchronized int update(String table, ContentValues values, String whereClause, String[] whereArgs) {
|
|
|
|
int result = getDatabase().updateWithOnConflict(table, values, whereClause, whereArgs,
|
|
|
|
int result = getDatabase().update(table, values, whereClause, whereArgs);
|
|
|
|
SQLiteDatabase.CONFLICT_FAIL);
|
|
|
|
|
|
|
|
onDatabaseUpdated();
|
|
|
|
onDatabaseUpdated();
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|