我的应用程序在更新查询中崩溃并出现以下错误
10-26 12:35:59.219: E/AndroidRuntime(23078): Caused by: android.database.sqlite.SQLiteException: no such column: current_Playlist.xml: , while compiling: UPDATE FileRevisionHistory SET FileRevision=? WHERE FileName=current_Playlist.xml
更新代码是
public void updateFileRevision(FileRevision inFileRevision) {
ContentValues values = new ContentValues();
values.put(MySQLiteHelper.KEY_REVISION, inFileRevision.mRevision);
long updatetId = database.update(MySQLiteHelper.TABLE_REVISION_HISTORY, values,MySQLiteHelper.KEY_NAME + "=" + inFileRevision.mFileName,null);
Log.i("DbExampleLog", "The file's rev is: " + updatetId);
我的查询有什么问题?