diff options
author | dan <Dan Kennedy> | 2021-05-20 17:15:06 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2021-05-20 17:15:06 +0000 |
commit | 90bc36fb30cc7f875a623f876b58351cc23a4490 (patch) | |
tree | a6e52052d6ff49379272a9662213aef12d72388e /src/sqliteInt.h | |
parent | a8f249f1e7d284495683b3e74c0fb3bf9a1acb50 (diff) | |
download | sqlite-90bc36fb30cc7f875a623f876b58351cc23a4490.tar.gz sqlite-90bc36fb30cc7f875a623f876b58351cc23a4490.zip |
Ensure that objects within view definitions are not incorrectly resolved to CTEs that are part of the statement using the view.
FossilOrigin-Name: f7dcc4b5197c6413be31384b390bb98a737d3f9edb7964433448c3b90b35a436
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 1bdccddec..6fa33ea55 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3926,6 +3926,7 @@ struct Cte { */ struct With { int nCte; /* Number of CTEs in the WITH clause */ + int bView; /* Belongs to the outermost Select of a view */ With *pOuter; /* Containing WITH clause, or NULL */ Cte a[1]; /* For each CTE in the WITH clause.... */ }; |