Hello.
I didn't get any feedback on patch, but it is still major problem for
users of UTF8 strings cause we have to workaround DBD::mysql behavior.
Attached patch fix problems for users of perl5.8.x when somebody try
quote strings with UTF8 flag enabled:
$new_str = $dbh->quote( $utf_str ); # new_str lost UTF flag.
DBD::mysql doesn't preserve UTF8 flag. This is wrong because in future
if you try to join quoted string with another UTF string then quoted
part would be corrupted.
This patch fix DBD::mysql quote sub which should copy UTF8 flag if it is
was set on src str.
Best regards. Ruslan.
PS. May be PERL_VERSION check should be changed to right values, I don't
know when exactly UTF8 flag was introduced.
Attachment: [application/aegis-patch] mysql_quote_utf_fix.patch