Bug #74392 Support to use (Memory-)Stream for bulk loading data
Submitted: 15 Oct 2014 7:09 Modified: 2 Nov 2022 18:26
Reporter: Alexander Reinert (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: Contribution

[15 Oct 2014 7:09] Alexander Reinert
Description:
At the moment it is only possible to use files for bulk loading data. Using direct stream (e.g. MemoryStreams) would be a better way for some applications, so an additional support to bulk load streams would be nice.

How to repeat:
It's not a bug, so you can't repeat it.
[15 Oct 2014 7:10] Alexander Reinert
My solution for the feature request

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: mysql.patch (application/octet-stream, text), 5.71 KiB.

[14 Jan 2015 12:29] Alexander Reinert
Are there any news if this contribution will be integrated and when it will be released?
[2 Nov 2022 14:41] Daniel Valdez
Posted by developer:
 
Added a new overloaded method for MySqlBulkLoader.Load() that accepts a Stream as a parameter so then the user could use it to bulk copy data to a database instead of a File.
[2 Nov 2022 18:26] Christine Cole
Posted by developer:
 
Added as of the upcoming MySQL Connector/NET 8.0.32 release, and here's the proposed changelog entry from the documentation team:

It is now possible to pass a stream object to the MySqlBulkLoader.Load()
method for copying bulk data to a database. Our thanks to Alexander Reinert 
for the patch.

Thank you for the bug report.