SOURCES: mysql-bug-34192.patch (NEW) - unofficial bugfix for mysql...
arekm
arekm at pld-linux.org
Thu Jan 31 12:49:32 CET 2008
Author: arekm Date: Thu Jan 31 11:49:32 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- unofficial bugfix for mysqldump silently failing to dump 4.0 server databases
---- Files affected:
SOURCES:
mysql-bug-34192.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/mysql-bug-34192.patch
diff -u /dev/null SOURCES/mysql-bug-34192.patch:1.1
--- /dev/null Thu Jan 31 12:49:32 2008
+++ SOURCES/mysql-bug-34192.patch Thu Jan 31 12:49:26 2008
@@ -0,0 +1,23 @@
+--- mysql-5.0/client/mysqldump.c 2008-01-11 15:43:27.000000000 +0100
++++ mysql-5.0/client//mysqldump.c 2008-01-31 12:40:02.093115455 +0100
+@@ -1687,10 +1687,16 @@
+
+ my_snprintf(buff, sizeof(buff), "show create table %s", result_table);
+
+- if (switch_character_set_results(mysql, "binary") ||
+- mysql_query_with_error_report(mysql, &result, buff) ||
+- switch_character_set_results(mysql, default_charset))
+- DBUG_RETURN(0);
++ if (switch_character_set_results(mysql, "binary"))
++ if (opt_set_charset)
++ DBUG_RETURN(0);
++
++ if (mysql_query_with_error_report(mysql, &result, buff))
++ DBUG_RETURN(0);
++
++ if (switch_character_set_results(mysql, default_charset))
++ if (opt_set_charset)
++ DBUG_RETURN(0);
+
+ if (path)
+ {
================================================================
More information about the pld-cvs-commit
mailing list