Open GoogleCodeExporter opened 8 years ago
Thanks for the details. The code wasn't handling binary data corrrectly. I've
made a fix could you verify it?
Thanks!
Original comment by jake%3.r...@gtempaccount.com
on 26 Apr 2009 at 1:19
Wow, that was quick, thanks!
I see you made the max string size a healthy 8096 (kB), that should work fine
for now (though, I think you
meant 8192)
I updated, recompiled, and reran my import script without the workaround.
Unfortunately, it does not seem to work.
It still truncates the data when it encounters a null character.
Original comment by fairizaz...@gmail.com
on 26 Apr 2009 at 2:10
ok, let me install mysql and get replicate this. i'll keep you posted...
Original comment by jake%3.r...@gtempaccount.com
on 26 Apr 2009 at 2:26
Ok, thanks for looking into it.
FYI, I noticed in mysql_glue.h
you have the statements:
this->str1_length = strlen (str1);
this->str2_length = strlen (str2);
I'm 80% sure this is one of the problems since strlen(str1) will incorrectly
return the size of the string if there
is an embedded null character.
Original comment by fairizaz...@gmail.com
on 27 Apr 2009 at 10:00
thanks for the info. i still haven't found the time to replicate the issue but
in the meantime I've removed the
strlen dependency. let me know if this helps...
Original comment by jake%3.r...@gtempaccount.com
on 28 Apr 2009 at 1:10
Original issue reported on code.google.com by
fairizaz...@gmail.com
on 25 Apr 2009 at 6:53