1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Reformat some code to make it easier to merge with sessions. No logic changes.

FossilOrigin-Name: eade355fafec558fc13dc4b08ca0b07713a2cd84
This commit is contained in:
drh
2015-09-15 13:42:16 +00:00
parent 128ea696ea
commit b77ebd828b
4 changed files with 19 additions and 13 deletions

View File

@@ -1349,9 +1349,11 @@ void sqlite3GenerateConstraintChecks(
sqlite3GenerateRowDelete(pParse, pTab, pTrigger, iDataCur, iIdxCur,
regNewData, 1, 0, OE_Replace,
ONEPASS_SINGLE, -1);
}else if( pTab->pIndex ){
sqlite3MultiWrite(pParse);
sqlite3GenerateRowIndexDelete(pParse, pTab, iDataCur, iIdxCur, 0, -1);
}else{
if( pTab->pIndex ){
sqlite3MultiWrite(pParse);
sqlite3GenerateRowIndexDelete(pParse, pTab, iDataCur, iIdxCur,0,-1);
}
}
seenReplace = 1;
break;