From e8b51f029720e78435d56a1a4082ab00f5d63c04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 13 Oct 2001 21:44:12 +0000 Subject: [PATCH] tried to fix bug #469416 (Dumps with binary data dont work mysql) --- ChangeLog | 2 ++ libraries/build_dump.lib.php3 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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