-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BulkCopy inserts binary data incorrectly #816
Comments
This is covered in the documentation: https://mysqlconnector.net/api/mysql-bulk-copy/
The underlying reason is that |
Thanks, will see what we can do on our side |
This is definitely a usability problem for the API, though. At the (small) cost of reading the destination table schema, MySqlConnector could detect destination columns that are binary, and automatically set up the |
This is fixed in 0.67.0. |
During implementation of BulkCopy support in linq2db we found out that binary types inserted incorrectly using BulkCopy API (other types seems to work).
Looks like inserted data inserted like
binary -> hex string -> binary
:The text was updated successfully, but these errors were encountered: