mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
New assert() statements to protect the u1 and u2 unions of SrcList.
FossilOrigin-Name: 9b91fbcfcc14048f7d0755d47d9b7f9212fa2eaa6f3c04f417fa16c3a47943bf
This commit is contained in:
@@ -2975,11 +2975,12 @@ struct ExprList {
|
||||
unsigned bSorterRef :1; /* Defer evaluation until after sorting */
|
||||
unsigned bNulls: 1; /* True if explicit "NULLS FIRST/LAST" */
|
||||
union {
|
||||
struct {
|
||||
struct { /* Used by any ExprList other than Parse.pConsExpr */
|
||||
u16 iOrderByCol; /* For ORDER BY, column number in result set */
|
||||
u16 iAlias; /* Index into Parse.aAlias[] for zName */
|
||||
} x;
|
||||
int iConstExprReg; /* Register in which Expr value is cached */
|
||||
int iConstExprReg; /* Register in which Expr value is cached. Used only
|
||||
** by Parse.pConstExpr */
|
||||
} u;
|
||||
} a[1]; /* One slot for each expression in the list */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user