mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-10 01:02:56 +03:00
Improved VDBE comments on the constraint checker. Fix a missing write
lock in the UPDATE logic. FossilOrigin-Name: 3bed599e74d354bf1513e4fb0e8665376ba44d0b
This commit is contained in:
@@ -387,6 +387,7 @@ void sqlite3Update(
|
||||
if( !okOnePass && HasRowid(pTab) ){
|
||||
sqlite3OpenTable(pParse, iDataCur, iDb, pTab, OP_OpenWrite);
|
||||
}
|
||||
sqlite3TableLock(pParse, iDb, pTab->tnum, 1, pTab->zName);
|
||||
if( onError==OE_Replace ){
|
||||
openAll = 1;
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user