Bug #6271 | Blobs data corrupted depending on the order of insert clause ? | ||
---|---|---|---|
Submitted: | 26 Oct 2004 21:04 | Modified: | 19 Nov 2004 15:02 |
Reporter: | Frédéric Bruot | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 1.0.0.22708 | OS: | Windows (XP Pro) |
Assigned to: | Reggie Burnett | CPU Architecture: | Any |
[26 Oct 2004 21:04]
Frédéric Bruot
[27 Oct 2004 11:29]
Frédéric Bruot
>>>> DU TO THE MySqlCommand.Prepare Method. If you execute the "bugous" code without using the Prepare Method it work.
[28 Oct 2004 20:26]
Reggie Burnett
using your sample 1, I was able to verify that one of the characters in the desc column changes upon insert. I performed this test with beta 2 of Connector/Net so the behavior may be different than what you are seeing.
[28 Oct 2004 20:43]
Frédéric Bruot
Hi Reggie, Thanks for your quickly reply. Can you tell me when we can download the Beta 2 release ? Many thanks and bests regards Frédéric
[28 Oct 2004 21:09]
Reggie Burnett
It's available now
[28 Oct 2004 21:27]
Frédéric Bruot
Sorry i haven't see it...My eyes are a bit tired. I download it, make a test and give you a feedback quickly. With later
[28 Oct 2004 22:46]
Frédéric Bruot
Hi Reggie, Now it work as well with or without the prepare statement. Blob are no more truncated. But it's another problem, du (i think) with encoding. If you run the same test you'll see this value for the desc field: 1. Without the prepare statement : "Ceci est une description facile à plantouiller", that is the correct value. 2. With the prepare statement : "Ceci est une description facile à plantouiller". Note the difference between "à" and "Ã". Kill the frogies !!! ;-))
[28 Oct 2004 23:14]
Reggie Burnett
Yes I see that too and I am working on finding the problem.
[9 Nov 2004 22:30]
Reggie Burnett
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: I'm not saying that the problem with the encoding is expected behavior but saying that the Connector/Net is doing what it is supposed to do. We have found the problem to be a small bug in our implementation of prepared statements. You should see this fix in 4.1.8
[19 Nov 2004 14:54]
Frédéric Bruot
Hi Reggie Just to confirm you that all work as well now with the lastest patches available. The 1.0.2 Gamma patch erase all the problems i've notified : blob truncature, pb with french chars... All my tests run fine now. Many thanks for the team and you. Bests regards
[19 Nov 2004 15:02]
Reggie Burnett
Thanks for following up