Many of the gotchas in pre 5.0 MySQL versions stem from the fact that operations silently failed without any type of error message or warning. That situation has improved with 5.0, with explicit warnings being emmitted on some operations, such as when data is truncated, making it easier to catch potential problems.
However, with DDL operations (e.g.
DROP TABLE) in a transactional
context, there are still no warnings which would alert the user to potential
problems. Of course, in MySQL DDL operations are by nature not transactional,
but sometimes it is easy to forget this.
This is the first gotcha I've found for the current 5.0 series.
INSERT INTO" seems to accept the phrase "
as equivalent to the more usual "
VALUES". While I'm not sure whether this is standard SQL, I've never encountered it before and can find no reference to this syntax on the documentation page at
MySQL 5.0 is finally ready for the big time with the release of the first general availabilty version 5.0.15 following a long period of testing.
The addition of many new features such as stored procedures, triggers, views and cursors has finally brought MySQL onto the same playing field as other RDBMS products, both proprietary and open source, and puts it in a position to expand into the "enterprise" database market.
It is also a good reason to finally get around to updating (and hopefully reducing) the MySQL Gotchas - watch that space.
MySQL 5 has come out of the alpha development phase with the release of the first public beta, 5.0.3.
- Download page: http://dev.mysql.com/downloads/mysql/5.0.html
The MySQL developer zone is carrying series of articles on the major new features, which include triggers, views and stored procedures.
MySQL AB has released new versions of its flagship products. MySQL 4.1.10 provides several small fixes, including "predefined accounts without passwords for remote users" in the Windows distribtion (presumably in connection with the recent Windows security issue).
Also MaxDB 7.6 Beta has been made available in preparation for the production version release scheduled for the second quarter of 2005.