aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2023-11-02 22:11:35 +0000
committerdrh <>2023-11-02 22:11:35 +0000
commit792103a0f2f805d5682ae443d50d6f731a9e3bfc (patch)
tree7163ebb20e539d542b71f51a0b7c595383b99969 /src/sqliteInt.h
parent5e4233a9e48b124d4d342b757b34e4ae849f5cf8 (diff)
downloadsqlite-792103a0f2f805d5682ae443d50d6f731a9e3bfc.tar.gz
sqlite-792103a0f2f805d5682ae443d50d6f731a9e3bfc.zip
In the previous check-in, use a u32 instead of an int, to make it easier to
prove that the integer will never overflow. FossilOrigin-Name: 51002079e0b499e116415189a913a238e95ed9766a8af9d042928f4263861a87
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index c8288736b..23beb48de 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3397,7 +3397,7 @@ struct NameContext {
int nRef; /* Number of names resolved by this context */
int nNcErr; /* Number of errors encountered while resolving names */
int ncFlags; /* Zero or more NC_* flags defined below */
- int nNestedSelect; /* Number of nested selects using this NC */
+ u32 nNestedSelect; /* Number of nested selects using this NC */
Select *pWinSelect; /* SELECT statement for any window functions */
};