Skip to content

Commit ae6ab7b

Browse files
author
Sayantan Dutta
committed
BUG#21435906 - MYSQLTEST DOES NOT FLUSH STDOUT
remove the check for stdout, additionally change mysqltest.test
1 parent c79c62f commit ae6ab7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/mysqltest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ class LogFile {
722722

723723
void flush()
724724
{
725-
if (m_file && m_file != stdout)
725+
if (m_file)
726726
{
727727
if (fflush(m_file))
728728
die("Failed to flush '%s', errno: %d", m_file_name, errno);

mysql-test/r/mysqltest.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,8 @@ Abcd
717717
select * from t1;;
718718
f1
719719
Abcd
720-
mysqltest: At line 2: Cannot run query on connection between send and reap
721720
select * from t1;;
721+
mysqltest: At line 2: Cannot run query on connection between send and reap
722722
drop table t1;
723723
mysqltest: At line 1: Missing required argument 'filename' to command 'remove_file'
724724
mysqltest: At line 1: Missing required argument 'directory' to command 'remove_files_wildcard'

0 commit comments

Comments
 (0)