diff options
author | drh <drh@noemail.net> | 2013-11-02 22:09:48 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-11-02 22:09:48 +0000 |
commit | 63f0eedf10f1b2fa87a8b6c20dd7d3cf96aa3208 (patch) | |
tree | e3cf958053f42c882969b59e85a8c73fd00eb9c3 /src/fkey.c | |
parent | ce95d11921f758836b7ab3aed55d0b9d2a7fb9a9 (diff) | |
download | sqlite-63f0eedf10f1b2fa87a8b6c20dd7d3cf96aa3208.tar.gz sqlite-63f0eedf10f1b2fa87a8b6c20dd7d3cf96aa3208.zip |
Many new test cases added, that mostly work. Currently 18 errors in
without_rowid3.test. Also there is a hack marked by a /*FIXME*/ comment
on at fkey.c:547 that needs fixing.
FossilOrigin-Name: 39e32187b66405e00dbd44685f6cdd269c90f5e5
Diffstat (limited to 'src/fkey.c')
-rw-r--r-- | src/fkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fkey.c b/src/fkey.c index 95f1d632c..fc39d2fea 100644 --- a/src/fkey.c +++ b/src/fkey.c @@ -544,7 +544,7 @@ static void fkScanChildren( ** is taking place as part of a DELETE operation (operation D.2), omit the ** row being deleted from the scan by adding ($rowid != rowid) to the WHERE ** clause, where $rowid is the rowid of the row being deleted. */ - if( pTab==pFKey->pFrom && nIncr>0 ){ + if( pTab==pFKey->pFrom && nIncr>0 && HasRowid(pTab) /*FIXME*/ ){ Expr *pEq; /* Expression (pLeft = pRight) */ Expr *pLeft; /* Value from parent table row */ Expr *pRight; /* Column ref to child table */ |