summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysql-test/lib/My/Test.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/lib/My/Test.pm b/mysql-test/lib/My/Test.pm
index 4d017b3b42c..806c90734fd 100644
--- a/mysql-test/lib/My/Test.pm
+++ b/mysql-test/lib/My/Test.pm
@@ -100,7 +100,7 @@ sub write_test {
my $serialized= Storable::freeze($test);
$serialized =~ s/([\x0d\x0a\\])/sprintf("\\%02x", ord($1))/eg;
- print $sock $header, "\n", $serialized, "\n";
+ send $sock,$header. "\n". $serialized. "\n", 0;
}