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

Do not make the assumption (as check-in [4da49a95c0f07] incorrectly did) that

the ExprList returned by sqlite3ExprListDup() would never be passed into
sqlite3ExprListAppend().  Include a new test case that shows this sometimes
does happen.

FossilOrigin-Name: 29227d00a9999f0f28a0b55ef70183799a667c3b9d81d2e5ac0ab1840bef98b1
This commit is contained in:
drh
2017-09-17 19:45:28 +00:00
parent 559656196b
commit 97258194a2
5 changed files with 20 additions and 20 deletions

View File

@@ -2468,9 +2468,6 @@ struct Expr {
*/
struct ExprList {
int nExpr; /* Number of expressions on the list */
#ifdef SQLITE_DEBUG
u8 bFixedSize; /* May not be expanded using sqlite3ExprListAppend() */
#endif
struct ExprList_item { /* For each expression in the list */
Expr *pExpr; /* The parse tree for this expression */
char *zName; /* Token associated with this expression */