File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ The following bugs in Connector/NET are fixed by switching to MySqlConnector. (~
176
176
* [ #89159 ] ( https://bugs.mysql.com/bug.php?id=89159 ) , [ #97242 ] ( https://bugs.mysql.com/bug.php?id=97242 ) : ` MySqlDataReader ` cannot outlive ` MySqlCommand `
177
177
* [ #89335 ] ( https://bugs.mysql.com/bug.php?id=89335 ) : ` MySqlCommandBuilder.DeriveParameters ` fails for ` JSON ` type
178
178
* [ #89639 ] ( https://bugs.mysql.com/bug.php?id=89639 ) : ` ReservedWords ` schema contains incorrect data
179
+ * [ #90086 ] ( https://bugs.mysql.com/bug.php?id=90086 ) : ` MySqlDataReader ` is closed by an unrelated command disposal
179
180
* [ #91123 ] ( https://bugs.mysql.com/bug.php?id=91123 ) : Database names are case-sensitive when calling a stored procedure
180
181
* [ #91199 ] ( https://bugs.mysql.com/bug.php?id=91199 ) : Can't insert ` MySqlDateTime ` values
181
182
* ~~ [ #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 @@ -279,6 +279,23 @@ public void CancelEmptyCommandIsNoop()
279
279
cmd . Cancel ( ) ;
280
280
}
281
281
282
+ [ SkippableFact ( Baseline = "https://bugs.mysql.com/bug.php?id=90086" ) ]
283
+ public void CommandsAreIndependent ( )
284
+ {
285
+ using var connection = new MySqlConnection ( AppConfig . ConnectionString ) ;
286
+ connection . Open ( ) ;
287
+
288
+ using var cmd1 = connection . CreateCommand ( ) ;
289
+ cmd1 . CommandText = "SELECT 1;" ;
290
+
291
+ using var cmd2 = connection . CreateCommand ( ) ;
292
+ cmd2 . CommandText = "SELECT 'abc';" ;
293
+ using var reader = cmd2 . ExecuteReader ( ) ;
294
+
295
+ cmd1 . Dispose ( ) ;
296
+ Assert . True ( reader . Read ( ) ) ;
297
+ }
298
+
282
299
private static string GetIgnoreCommandTransactionConnectionString ( )
283
300
{
284
301
#if BASELINE
You can’t perform that action at this time.
0 commit comments