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

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