1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Omit unnecessary CHECK constraints in UPDATE statements, when none of the

columns referenced in the CHECK constraint are modified.

FossilOrigin-Name: 02fbdbc782dd98f080bf4482d820f36c0ef3d519
This commit is contained in:
drh
2016-02-10 16:52:24 +00:00
parent bdb00225ab
commit 2a0b527b37
4 changed files with 44 additions and 9 deletions

View File

@@ -3100,6 +3100,7 @@ struct Walker {
SrcList *pSrcList; /* FROM clause */
struct SrcCount *pSrcCount; /* Counting column references */
struct CCurHint *pCCurHint; /* Used by codeCursorHint() */
int *aiCol; /* array of column indexes */
} u;
};