1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +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

@@ -361,7 +361,11 @@ void sqlite3DeleteFrom(
** It is easier just to erase the whole table. Prior to version 3.6.5,
** this optimization caused the row change count (the value returned by
** API function sqlite3_count_changes) to be set incorrectly. */
if( rcauth==SQLITE_OK && pWhere==0 && !bComplex && !IsVirtual(pTab) ){
if( rcauth==SQLITE_OK
&& pWhere==0
&& !bComplex
&& !IsVirtual(pTab)
){
assert( !isView );
sqlite3TableLock(pParse, iDb, pTab->tnum, 1, pTab->zName);
if( HasRowid(pTab) ){