summaryrefslogtreecommitdiff
path: root/mysql-test/lib
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-03-12 14:27:17 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-03-12 14:27:17 +0200
commit3a93ec53c1efdb511721fdb9e3bef9c3cf3bf675 (patch)
tree6a6492d246b0e796fedb9306d23fddbe5220f37b /mysql-test/lib
parentcd109592ca50e881f49208b8bb01e18ee7e3f925 (diff)
parent0be18c4038986009cc95f3656751bb132bd28403 (diff)
downloadmariadb-git-3a93ec53c1efdb511721fdb9e3bef9c3cf3bf675.tar.gz
Merge 10.1 into 10.2
Diffstat (limited to 'mysql-test/lib')
-rw-r--r--mysql-test/lib/My/Tee.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/lib/My/Tee.pm b/mysql-test/lib/My/Tee.pm
index ee82e6f45ae..5985fe33739 100644
--- a/mysql-test/lib/My/Tee.pm
+++ b/mysql-test/lib/My/Tee.pm
@@ -1,4 +1,5 @@
package My::Tee;
+use IO::Handle;
# see PerlIO::via
@@ -16,6 +17,7 @@ sub WRITE
{
my ($obj, $buf, $fh) = @_;
print $fh $buf;
+ $fh->flush;
print $copyfh $buf;
return length($buf);
}