Bradley Grainger
Bradley Grainger
This is fixed in [2.3.7](https://github.com/mysql-net/MySqlConnector/releases/tag/2.3.7).
@alexr17 I think your repro boils down to this; is that correct? ```csharp MySqlDataReader usedReader; // will be used to capture the reader using (var command = new MySqlCommand("select *...
There may have been code paths that didn't trigger `ObjectDisposedException`; perhaps that was an incorrect assumption on my part.
Just for clarity, are the numbers time taken (lower is better) or requests per second (higher is better)? > It is not a fair comparison Especially compared to Node or...
Async definitely adds a measurable amount of overhead in .NET. It's been greatly improved over the years (e.g., `ValueTask`, etc.), but there are necessarily extra allocations and thread context switches...
I haven't dug into this deeply, but any repro with `SLEEP` isn't really valid for testing timeouts. The reason is that `SLEEP(n)` is intentionally designed to be an interruptible command...
I don't think the `BENCHMARK` function can be used, either. It's not documented as doing this, but experimentally one can observe that `SELECT BENCHMARK` returns a valid result when it's...
> A timeout of 10 seconds is specified, but if you don't Read() the row that would've triggered the timeout on the command there is no exception being generated and...
It sounds like you're asking for `bulkCopy.ColumnMappings = myList;`. Instead of doing that, can you use `bulkCopy.ColumnMappings.AddRange(myList);`?
(The reason for the current design is that it allows object + collection initialization syntax.)