tried to fix bug #469416 (Dumps with binary data dont work mysql)

This commit is contained in:
Loïc Chapeaux
2001-10-13 21:44:12 +00:00
parent c6c3fc35f1
commit e8b51f0297
2 changed files with 4 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2001-10-13 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* 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 <lem9@users.sourceforge.net>
* lang/bulgarian-win1251.inc.php3 updates, thanks to Peter Petrov.

View File

@@ -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