@@ -912,7 +912,7 @@ fn parse_create_table_with_invalid_options() {
912
912
fn parse_create_table_with_identity_column ( ) {
913
913
let with_column_options = [
914
914
(
915
- r#"CREATE TABLE [ mytable] ([ columnA] INT IDENTITY NOT NULL)"# ,
915
+ r#"CREATE TABLE mytable ( columnA INT IDENTITY NOT NULL)"# ,
916
916
vec ! [
917
917
ColumnOptionDef {
918
918
name: None ,
@@ -925,7 +925,7 @@ fn parse_create_table_with_identity_column() {
925
925
] ,
926
926
) ,
927
927
(
928
- r#"CREATE TABLE [ mytable] ([ columnA] INT IDENTITY(1, 1) NOT NULL)"# ,
928
+ r#"CREATE TABLE mytable ( columnA INT IDENTITY(1, 1) NOT NULL)"# ,
929
929
vec ! [
930
930
ColumnOptionDef {
931
931
name: None ,
@@ -953,7 +953,7 @@ fn parse_create_table_with_identity_column() {
953
953
954
954
for ( sql, column_options) in with_column_options {
955
955
assert_eq ! (
956
- ms ( ) . verified_stmt( sql) ,
956
+ ms_and_generic ( ) . verified_stmt( sql) ,
957
957
Statement :: CreateTable ( CreateTable {
958
958
or_replace: false ,
959
959
temporary: false ,
@@ -964,12 +964,12 @@ fn parse_create_table_with_identity_column() {
964
964
volatile: false ,
965
965
name: ObjectName ( vec![ Ident {
966
966
value: "mytable" . to_string( ) ,
967
- quote_style: Some ( '[' ) ,
967
+ quote_style: None ,
968
968
} , ] , ) ,
969
969
columns: vec![ ColumnDef {
970
970
name: Ident {
971
971
value: "columnA" . to_string( ) ,
972
- quote_style: Some ( '[' ) ,
972
+ quote_style: None ,
973
973
} ,
974
974
data_type: Int ( None , ) ,
975
975
collation: None ,
0 commit comments