Bug #65727 | Unicode minus sign should be accepted as minus-operator | ||
---|---|---|---|
Submitted: | 25 Jun 2012 12:24 | Modified: | 28 Jun 2012 19:38 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
Tags: | qc |
[25 Jun 2012 12:24]
Peter Laursen
[25 Jun 2012 13:02]
Peter Laursen
OK - understood that the Unicode minus is primarily intended for typsesetting etc. Programming languages will (still mostly) use ASCII. So this is probably just a consequence of MySQL being a C-derivate. So changing category to docs where http://dev.mysql.com/doc/refman/5.5/en/arithmetic-functions.html#operator_minus and http://dev.mysql.com/doc/refman/5.5/en/arithmetic-functions.html#operator_unary-minus .. could have a clarification. As I understand Shlomi's comment in Guiseppes blog it seems that CSV files with negative numbers will sometimes (when generated recent Excel versions?) use Unicode minus and LOAD DATA would then fail.
[28 Jun 2012 19:38]
Paul DuBois
PostgreSQL and GCC don't accept Unicode minus, either. MySQL is not unusual in this regard.
[28 Jun 2012 19:38]
Paul DuBois
PostgreSQL and GCC don't accept Unicode minus, either. MySQL is not unusual in this regard.