Bug #35041 | 'Binary(16) as GUID' - columns lose IsGuid value after a NULL value found | ||
---|---|---|---|
Submitted: | 4 Mar 2008 16:53 | Modified: | 16 May 2008 13:19 |
Reporter: | Tim Faust | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 5.2.1 | OS: | Windows (Vista) |
Assigned to: | CPU Architecture: | Any |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[4 Mar 2008 16:54]
Tim Faust
[4 Mar 2008 16:54]
Tim Faust
sample table
Attachment: guidtesttbl.sql (application/octet-stream, text), 207 bytes.
[4 Mar 2008 16:55]
Tim Faust
inserts test rows into the table to recreate problem
Attachment: guidtestinserts.sql (application/octet-stream, text), 207 bytes.
[4 Mar 2008 16:55]
Tim Faust
helper function to convert GUIDs into Binary(16)
Attachment: FNC_CONVERT_CHAR_TO_UUID.sql (application/octet-stream, text), 338 bytes.
[4 Mar 2008 16:56]
Tim Faust
patched code to fix problem
Attachment: MySqlBinary.cs (text/plain), 6.26 KiB.