File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1049,16 +1049,6 @@ pub enum Expr {
10491049 /// [Databricks](https://docs.databricks.com/en/sql/language-manual/sql-ref-lambda-functions.html)
10501050 /// [DuckDb](https://duckdb.org/docs/sql/functions/lambda.html)
10511051 Lambda ( LambdaFunction ) ,
1052- /// A ColumnPrefix used in MySQL indexes.
1053- /// ```sql
1054- /// CREATE INDEX ON tbl (col(10));
1055- /// ```
1056- ///
1057- /// [MySQL](https://dev.mysql.com/doc/refman/8.0/en/create-index.html)
1058- ColumnPrefix {
1059- column : Ident ,
1060- length : u64 ,
1061- } ,
10621052}
10631053
10641054/// The contents inside the `[` and `]` in a subscript expression.
@@ -1827,7 +1817,6 @@ impl fmt::Display for Expr {
18271817 }
18281818 Expr :: Prior ( expr) => write ! ( f, "PRIOR {expr}" ) ,
18291819 Expr :: Lambda ( lambda) => write ! ( f, "{lambda}" ) ,
1830- Expr :: ColumnPrefix { column, length } => write ! ( f, "{column}({length})" ) ,
18311820 }
18321821 }
18331822}
Original file line number Diff line number Diff line change @@ -1479,7 +1479,6 @@ impl Spanned for Expr {
14791479 Expr :: OuterJoin ( expr) => expr. span ( ) ,
14801480 Expr :: Prior ( expr) => expr. span ( ) ,
14811481 Expr :: Lambda ( _) => Span :: empty ( ) ,
1482- Expr :: ColumnPrefix { .. } => Span :: empty ( ) ,
14831482 }
14841483 }
14851484}
You can’t perform that action at this time.
0 commit comments