aboutsummaryrefslogtreecommitdiff
path: root/src/fkey.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-11-14 23:48:23 +0000
committerdrh <drh@noemail.net>2017-11-14 23:48:23 +0000
commit8c0833fb218ef0b3fb89bef2b9600834e74cf8b7 (patch)
tree119a11cfc91a95d6fc4f4da4cceccb7f908089ef /src/fkey.c
parent65efeaca833662bdeb40240f24f99d5a8e287af2 (diff)
downloadsqlite-8c0833fb218ef0b3fb89bef2b9600834e74cf8b7.tar.gz
sqlite-8c0833fb218ef0b3fb89bef2b9600834e74cf8b7.zip
In the parse tree, combine LIMIT and OFFSET into a single expression rooted
on a TK_LIMIT node, for a small code size reduction and performance increase, and a reduction in code complexity. FossilOrigin-Name: 3925facd942c9df663f9b29b1e6f94f6be14af8c2b99eb691bfc836b4c220826
Diffstat (limited to 'src/fkey.c')
-rw-r--r--src/fkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fkey.c b/src/fkey.c
index 44ef3c7c7..c366c1b3a 100644
--- a/src/fkey.c
+++ b/src/fkey.c
@@ -725,7 +725,7 @@ void sqlite3FkDropTable(Parse *pParse, SrcList *pName, Table *pTab){
}
pParse->disableTriggers = 1;
- sqlite3DeleteFrom(pParse, sqlite3SrcListDup(db, pName, 0), 0, 0, 0, 0);
+ sqlite3DeleteFrom(pParse, sqlite3SrcListDup(db, pName, 0), 0, 0, 0);
pParse->disableTriggers = 0;
/* If the DELETE has generated immediate foreign key constraint
@@ -1283,7 +1283,7 @@ static Trigger *fkActionTrigger(
sqlite3ExprListAppend(pParse, 0, pRaise),
sqlite3SrcListAppend(db, 0, &tFrom, 0),
pWhere,
- 0, 0, 0, 0, 0, 0
+ 0, 0, 0, 0, 0
);
pWhere = 0;
}