Bug #12361 command line client:misleading error message for -raw option (--raw)
| Submitted: | 3 Aug 2005 21:49 | Modified: | 4 Aug 2005 6:57 |
|---|---|---|---|
| Reporter: | Roland Bouman | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S4 (Feature request) |
| Version: | 5.0.10 (occurs in command line client) | OS: | Windows (Win XP Professional SP2) |
| Assigned to: | CPU Architecture: | Any |
[3 Aug 2005 21:49]
Roland Bouman
[4 Aug 2005 6:57]
Valeriy Kravchuk
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: Standard GNU getopts() functions are used to process options. (See getopts(3) manual page on any UNIX for details). This is how they works: when -abc (with one '-') word is found in the command line, it is interpreted as -a -b -c. In your case it will be -r -a -w, but mysql does not support -a option (http://dev.mysql.com/doc/mysql/en/mysql.html). That is why this error message is displayed.
[4 Aug 2005 7:20]
Roland Bouman
Ok, sorry to have bothered you. I was not aware that this behaviour is in fact documented.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.059 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.