Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
10.3.8
-
None
Description
There can be test failure when mysqldump is executed like this:
--exec $MYSQL_DUMP ... 2>&1
|
STDERR is joined to STDOUT while STDOUT buffer is in undetermined state.
Fix
Call fflush(md_result_file) before each fprintf(stderr, ...). Better ensure that md_result_file is STDOUT, otherwise flush is not needed.
Attachments
Issue Links
- relates to
-
MDEV-16684 Wrong timestamps on restore from mysqldump --compact
- Closed