diff options
author | drh <drh@noemail.net> | 2013-11-26 23:27:07 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-11-26 23:27:07 +0000 |
commit | bbbb0e8053a82fabc371c32b2a95497378a7d72f (patch) | |
tree | e39535bbd691c40143014d926cb13788db3bf08f /src/resolve.c | |
parent | 2c7e9bfc5013769d1cd149909b1d687173cefd65 (diff) | |
download | sqlite-bbbb0e8053a82fabc371c32b2a95497378a7d72f.tar.gz sqlite-bbbb0e8053a82fabc371c32b2a95497378a7d72f.zip |
Make sure the update hook is not invoked for WITHOUT ROWID tables, as
the documentation specifies. This bug was found while adding requirements
marks, so a few extraneous requirements marks are included in this
check-in.
FossilOrigin-Name: 0978bac6b8aee229d7a0d148546f50d380d06a06
Diffstat (limited to 'src/resolve.c')
-rw-r--r-- | src/resolve.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resolve.c b/src/resolve.c index 2c0907cc4..b0adb8629 100644 --- a/src/resolve.c +++ b/src/resolve.c @@ -352,7 +352,9 @@ static int lookupName( } } if( iCol>=pTab->nCol && sqlite3IsRowid(zCol) && HasRowid(pTab) ){ - iCol = -1; /* IMP: R-44911-55124 */ + /* IMP: R-24309-18625 */ + /* IMP: R-44911-55124 */ + iCol = -1; } if( iCol<pTab->nCol ){ cnt++; |