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).