@@ -87,7 +87,7 @@ pub use self::dml::{
8787} ;
8888pub use self :: operator:: { BinaryOperator , UnaryOperator } ;
8989pub use self :: query:: {
90- AfterMatchSkip , ConnectBy , Cte , CteAsMaterialized , Distinct , EmptyMatchesMode ,
90+ AfterMatchSkip , ConnectByKind , Cte , CteAsMaterialized , Distinct , EmptyMatchesMode ,
9191 ExceptSelectItem , ExcludeSelectItem , ExprWithAlias , ExprWithAliasAndOrderBy , Fetch , ForClause ,
9292 ForJson , ForXml , FormatClause , GroupByExpr , GroupByWithModifier , IdentWithAlias ,
9393 IlikeSelectItem , InputFormatClause , Interpolate , InterpolateExpr , Join , JoinConstraint ,
@@ -97,14 +97,15 @@ pub use self::query::{
9797 OffsetRows , OpenJsonTableColumn , OrderBy , OrderByExpr , OrderByKind , OrderByOptions ,
9898 PipeOperator , PivotValueSource , ProjectionSelect , Query , RenameSelectItem ,
9999 RepetitionQuantifier , ReplaceSelectElement , ReplaceSelectItem , RowsPerMatch , Select ,
100- SelectFlavor , SelectInto , SelectItem , SelectItemQualifiedWildcardKind , SetExpr , SetOperator ,
101- SetQuantifier , Setting , SymbolDefinition , Table , TableAlias , TableAliasColumnDef , TableFactor ,
102- TableFunctionArgs , TableIndexHintForClause , TableIndexHintType , TableIndexHints ,
103- TableIndexType , TableSample , TableSampleBucket , TableSampleKind , TableSampleMethod ,
104- TableSampleModifier , TableSampleQuantity , TableSampleSeed , TableSampleSeedModifier ,
105- TableSampleUnit , TableVersion , TableWithJoins , Top , TopQuantity , UpdateTableFromKind ,
106- ValueTableMode , Values , WildcardAdditionalOptions , With , WithFill , XmlNamespaceDefinition ,
107- XmlPassingArgument , XmlPassingClause , XmlTableColumn , XmlTableColumnOption ,
100+ SelectFlavor , SelectInto , SelectItem , SelectItemQualifiedWildcardKind , SelectModifiers ,
101+ SetExpr , SetOperator , SetQuantifier , Setting , SymbolDefinition , Table , TableAlias ,
102+ TableAliasColumnDef , TableFactor , TableFunctionArgs , TableIndexHintForClause ,
103+ TableIndexHintType , TableIndexHints , TableIndexType , TableSample , TableSampleBucket ,
104+ TableSampleKind , TableSampleMethod , TableSampleModifier , TableSampleQuantity , TableSampleSeed ,
105+ TableSampleSeedModifier , TableSampleUnit , TableVersion , TableWithJoins , Top , TopQuantity ,
106+ UpdateTableFromKind , ValueTableMode , Values , WildcardAdditionalOptions , With , WithFill ,
107+ XmlNamespaceDefinition , XmlPassingArgument , XmlPassingClause , XmlTableColumn ,
108+ XmlTableColumnOption ,
108109} ;
109110
110111pub use self :: trigger:: {
@@ -4226,6 +4227,10 @@ pub enum Statement {
42264227 storage_serialization_policy : Option < StorageSerializationPolicy > ,
42274228 /// Optional comment.
42284229 comment : Option < String > ,
4230+ /// Optional default character set (MySQL).
4231+ default_charset : Option < String > ,
4232+ /// Optional default collation (MySQL).
4233+ default_collation : Option < String > ,
42294234 /// Optional catalog sync identifier.
42304235 catalog_sync : Option < String > ,
42314236 /// Catalog sync namespace mode.
@@ -5080,6 +5085,8 @@ impl fmt::Display for Statement {
50805085 default_ddl_collation,
50815086 storage_serialization_policy,
50825087 comment,
5088+ default_charset,
5089+ default_collation,
50835090 catalog_sync,
50845091 catalog_sync_namespace_mode,
50855092 catalog_sync_namespace_flatten_delimiter,
@@ -5139,6 +5146,14 @@ impl fmt::Display for Statement {
51395146 write ! ( f, " COMMENT = '{comment}'" ) ?;
51405147 }
51415148
5149+ if let Some ( charset) = default_charset {
5150+ write ! ( f, " DEFAULT CHARACTER SET {charset}" ) ?;
5151+ }
5152+
5153+ if let Some ( collation) = default_collation {
5154+ write ! ( f, " DEFAULT COLLATE {collation}" ) ?;
5155+ }
5156+
51425157 if let Some ( sync) = catalog_sync {
51435158 write ! ( f, " CATALOG_SYNC = '{sync}'" ) ?;
51445159 }
0 commit comments