aboutsummaryrefslogtreecommitdiff
path: root/test/parser1.test
AgeCommit message (Collapse)AuthorLines
2026-10-03Fix test cases added by [e21c5bc59ae66173] so that they work withdrh-23/+25
in-memory configurations. FossilOrigin-Name: 85207e5253967c2d30c67ff1f5b572ca3117b5d95ecba65affc861c4ce7ec10c
2026-10-02Do not allow surplus SQL text to come after the CREATE statement in thedrh-0/+35
sqlite_schema.sql field. Any such text is flagged as an error. However, the schema will still work if PRAGMA writable_schema is engaged. FossilOrigin-Name: e21c5bc59ae6617362e085711ddb4436db5cc4ad4b740873850a4aecdb91f4f2
2025-07-01When attempting to optimize "expr AND false" to "false" anddrh-0/+22
"expr IN ()" to "false", take care not to delete aggregate functions in the "expr" as doing so can change the meaning of the query. See [forum:/forumpost/f4878de3e7dd4764|forum thread f4878de3e7]. FossilOrigin-Name: 77397bd67d918db57d5ac545d6d963194806fdabcdaa8f822b6b09e4cfe8b715
2018-11-07Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test casesdrh-0/+1
so that they work with DEFENSIVE enabled. FossilOrigin-Name: 3212733cb6d1a59516d67a86df7c7b1d2456a1b2e5d7080c26b0e87b2609c65d
2016-07-28New test case to insure legacy CREATE TABLE syntax is supported.drh-0/+23
FossilOrigin-Name: 6feff15cae8f0427be790355841d49c479c1c586
2015-08-24Enhances the parser so that it accepts arbitrary expressions for the argumentsdrh-1/+22
of an index, though the code generator still rejects everything other than simple column names. The sqlite3RestrictColumnListSyntax() routine is removed since that feature is now handled by the parser. FossilOrigin-Name: bed42116addabcf3dfdc2e2d51ae183965704988
2015-08-24Disallow the use of COLLATE clauses and the ASC and DESC keywords withindrh-0/+58
foreign key constraints and in the argument list to common table expressions. FossilOrigin-Name: 83cbc4d8761498647794affffa961a4fca311be7