Hi Dmitry,
ok to push.
Regards,
Sergey
On Wed, Feb 02, 2011 at 11:38:31AM -0000, Dmitry Shulga wrote:
> #At file:///Users/shulga/projects/mysql/5.1-bugteam-bug57450/ based on
> revid:azundris@stripped
>
> 3521 Dmitry Shulga 2011-02-02
> Fixed bug#57450 - mysql client enter in an infinite loop
> if the standard input is a directory.
>
> The problem is that mysql monitor try to read from stdin without
> checking input source type.
>
> The solution is to stop reading data from standard input if a call
> to read(2) failed.
>
> A new test case was added into mysql.test.
...skip...
--
Sergey Vojtovich <svoj@stripped>
MySQL AB, Software Engineer
Izhevsk, Russia, www.mysql.com