# This row is the first row fetched from each 'chunk'.
@@ -5966,7 +5967,8 @@
if ( $o->get('bulk-insert') ) { $bulkins_file = File::Temp->new( SUFFIX => 'pt-archiver' )
or die "Cannot open temp file: $OS_ERROR\n";
+ binmode($bulkins_file,":utf8");
}
} # no next row (do bulk operations)
else {
PTDEBUG && _d('Got another row in this chunk');
couldn't edit and looks like there was a line in the 2.1.8 build on my vol.. better diff:
# diff -u /usr/local/ bin/pt- archiver /usr/local/ bin/pt- archiver. 1
--- /usr/local/ bin/pt- archiver 2013-03-28 06:11:27.143479965 -0400 bin/pt- archiver. 1 2013-03-28 06:03:48.391462519 -0400
$bulkins_ file = File::Temp->new( SUFFIX => 'pt-archiver' ) $bulkins_ file,": utf8");
+++ /usr/local/
@@ -5740,6 +5740,7 @@
require File::Temp;
or die "Cannot open temp file: $OS_ERROR\n";
+ binmode(
}
# This row is the first row fetched from each 'chunk'. 'bulk-insert' ) ) {
$ bulkins_ file = File::Temp->new( SUFFIX => 'pt-archiver' )
@@ -5966,7 +5967,8 @@
if ( $o->get(
or die "Cannot open temp file: $OS_ERROR\n";
+ binmode( $bulkins_ file,": utf8");
}
} # no next row (do bulk operations)
else {
PTDEBUG && _d('Got another row in this chunk');