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:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:5.2.1 OS:Windows (Vista)
Assigned to: CPU Architecture:Any

File: Maximum allowed size is 50MB.
Description:
Privacy:

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:

[4 Mar 2008 16:54] Tim Faust
C# app that  exhibits the problem

Attachment: GUIDTest.zip (application/x-zip-compressed, text), 7.96 KiB.

[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.