Batching was added in #650.
An efficient implementation (using COM_MULTI) is only supported by MariaDB server, and that support is being removed in 10.6.0.
The implementation complicates the client code and will soon serve little purpose (as users upgrade away from the MariaDB server versions that support it). It also has some bugs that are only exposed on certain code paths: #937.
The open question would be whether the current MySqlBatch code is retained (which will essentially string-concatenate statements behind the scenes), or if that is removed (for simplicity) and only supported via generic ADO.NET support in .NET 6. CC @roji.
Batching was added in #650.
An efficient implementation (using
COM_MULTI) is only supported by MariaDB server, and that support is being removed in 10.6.0.The implementation complicates the client code and will soon serve little purpose (as users upgrade away from the MariaDB server versions that support it). It also has some bugs that are only exposed on certain code paths: #937.
The open question would be whether the current
MySqlBatchcode is retained (which will essentially string-concatenate statements behind the scenes), or if that is removed (for simplicity) and only supported via generic ADO.NET support in .NET 6. CC @roji.