Bug #22222 stream buffers not always flushed
| Submitted: | 10 Sep 2006 9:12 | Modified: | 5 Dec 2007 18:55 |
|---|---|---|---|
| Reporter: | Georg Richter | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
| Version: | 4.0, 4.1, 5.0, 5.1 | OS: | Windows (Windows) |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
| Tags: | wtf | ||
[10 Sep 2006 9:12]
Georg Richter
[11 Sep 2006 10:35]
Valeriy Kravchuk
Thank you for a bug report. Verified just as described. take a look at the code, and you'll find error reoprting perfoormed in the following way (quote is from mysqladmin.cc):
...
if ((opt_protocol= find_type(argument, &sql_protocol_typelib,0)) <= 0)
{
fprintf(stderr, "Unknown option to protocol: %s\n", argument);
exit(1);
}
...
So, fflush() should be added (in case of Windows, at least).
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.073 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.