Bug #49336 | mysqlbinlog does not accept input from stdin when stdin is a pipe | ||
---|---|---|---|
Submitted: | 2 Dec 2009 11:33 | Modified: | 10 Aug 2012 23:53 |
Reporter: | Heikki Hannikainen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.1.40, 5.0, 5.1, next-mr bzr | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[2 Dec 2009 11:33]
Heikki Hannikainen
[3 Dec 2009 8:42]
Sveta Smirnova
Thank you for the report. Verified as described: $gzip -dc mysql-bin.000030.gz | ../../../build/mysql-5.1/bin/mysqlbinlog - | less mysqlbinlog: mf_iocache.c:498: _my_b_read: Assertion `my_errno != 29' failed. /*!40019 SET @@session.max_insert_delayed_threads=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; DELIMITER /*!*/; (END)
[8 Dec 2009 11:35]
Sveta Smirnova
Yes, I can reproduce the problem. This is not a regression, version 4.1 fails in same manner. Error which I got is different because I use debug version.
[10 Aug 2012 23:53]
Paul DuBois
Noted in 5.1.66, 5.5.28, 5.6.7, 5.7.0 changelogs. mysqlbinlog did not accept input on the standard input when the standard input was a pipe.