File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ The following bugs in Connector/NET are fixed by switching to MySqlConnector. (~
127
127
* [ #89085 ] ( https://bugs.mysql.com/bug.php?id=89085 ) : ` MySqlConnection.Database ` not updated after ` USE database; `
128
128
* [ #89159 ] ( https://bugs.mysql.com/bug.php?id=89159 ) : ` MySqlDataReader ` cannot outlive ` MySqlCommand `
129
129
* [ #89335 ] ( https://bugs.mysql.com/bug.php?id=89335 ) : ` MySqlCommandBuilder.DeriveParameters ` fails for ` JSON ` type
130
+ * [ #89639 ] ( https://bugs.mysql.com/bug.php?id=89639 ) : ` ReservedWords ` schema contains incorrect data
130
131
* [ #91123 ] ( https://bugs.mysql.com/bug.php?id=91123 ) : Database names are case-sensitive when calling a stored procedure
131
132
* [ #91199 ] ( https://bugs.mysql.com/bug.php?id=91199 ) : Can't insert ` MySqlDateTime ` values
132
133
* [ #91751 ] ( https://bugs.mysql.com/bug.php?id=91751 ) : ` YEAR ` column retrieved incorrectly with prepared command
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public SchemaProvider(MySqlConnection connection)
17
17
{ "MetaDataCollections" , FillMetadataCollections } ,
18
18
{ "DataTypes" , FillDataTypes } ,
19
19
{ "Procedures" , FillProcedures } ,
20
- { "ReservedWords" , FillReservedWords }
20
+ { "ReservedWords" , FillReservedWords } ,
21
21
} ;
22
22
}
23
23
Original file line number Diff line number Diff line change @@ -965,6 +965,21 @@ public void HasRowsRepeated()
965
965
}
966
966
}
967
967
968
+ #if ! NETCOREAPP1_1_2
969
+ [ Fact ]
970
+ public void ReservedWordsSchema ( )
971
+ {
972
+ var table = m_database . Connection . GetSchema ( "ReservedWords" ) ;
973
+ Assert . NotNull ( table ) ;
974
+ Assert . Single ( table . Columns ) ;
975
+ Assert . Equal ( "ReservedWord" , table . Columns [ 0 ] . ColumnName ) ;
976
+ #if ! BASELINE
977
+ // https://bugs.mysql.com/bug.php?id=89639
978
+ Assert . Contains ( "CREATE" , table . Rows . Cast < DataRow > ( ) . Select ( x => ( string ) x [ 0 ] ) ) ;
979
+ #endif
980
+ }
981
+ #endif
982
+
968
983
class BoolTest
969
984
{
970
985
public int Id { get ; set ; }
You can’t perform that action at this time.
0 commit comments