| Bug #49078 | MySQL orders NULLS differently than JavaDB and Postgres (first rather than last) | ||
|---|---|---|---|
| Submitted: | 24 Nov 2009 21:31 | Modified: | 30 Nov 2009 14:54 |
| Reporter: | Patrick Crews | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
| Version: | OS: | Any | |
| Assigned to: | CPU Architecture: | Any | |
[24 Nov 2009 21:31]
Patrick Crews
[24 Nov 2009 21:34]
Patrick Crews
Correction, this behavior is documented: http://dev.mysql.com/doc/refman/5.1/en/working-with-null.html
[24 Nov 2009 22:39]
Peter Laursen
IMHO it is not impressive to see that other RDBMS are used (and this is the 20th time (at least) I see it I believe) as reference for MySQL correctness/consistency. . Also 'other RDBMS' referred seems always to be Postgresql and JavaDB. What about MS SQL server, Oracle, DB2 etc.? Referencing an obscure RDBMS as JavaDB really makes me laugh. . Refer to *standards* and *de facto market leaders* - and not obscure software.
[30 Nov 2009 8:57]
Bernt Marius Johnsen
Maybe not the appropriate forum for this, but anyway: 1) The point of three-way comparison of MySQL/JavaDB/Postgres is not the assumption that Postgres or JavaDB is more correct than MySQL, but that if one of the three differs from the others, there is a possibility of a bug that need investigation. 2) JavaDB is not that obscure. It's Sun's brand of Apache Derby (http://db.apache.org/derby) and bundled in the Java JDK. 3) Postgres and JavaDB are both open source, pretty standards compliant and good candidates for this kind of comparison, especially in a distributed community where licenses for commercial databases could be a significant cost.
[30 Nov 2009 14:54]
Peter Gulutzan
Our behaviour is documented, and conforms with the standard, and is like the behaviour of one of the other major DBMSs.
