diff --git a/ChangeLog b/ChangeLog index 1c9d801c6..eeb774952 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ $Source$ 2001-10-13 Loïc Chapeaux * Documentation.html, lines 504-506: added some words about requirement for table sizes. + * libraries/build_dump.lib.php3, lines 202-203: tried to fix bug #469416 + (Dumps with binary data dont work mysql). 2001-10-12 Marc Delisle * lang/bulgarian-win1251.inc.php3 updates, thanks to Peter Petrov. diff --git a/libraries/build_dump.lib.php3 b/libraries/build_dump.lib.php3 index b33c2960b..8a60a1c23 100644 --- a/libraries/build_dump.lib.php3 +++ b/libraries/build_dump.lib.php3 @@ -199,8 +199,8 @@ if (!defined('__LIB_BUILD_DUMP__')){ . ' VALUES ('; } - $search = array("\x0a","\x0d","\x1a"); //\x08\\x09, not required - $replace = array("\\n","\\r","\Z"); + $search = array("\x00", "\x0a", "\x0d", "\x1a"); //\x08\\x09, not required + $replace = array("\\0", "\\n", "\\r", "\Z"); $isFirstRow = TRUE; @set_time_limit(1200); // 20 Minutes