by Andrew Johnstone
Lately i’ve been developing with MySQL3, and it’s almost like hitting your head against a brick wall with its limitations and specific documentation is difficult to find.
Some of the limitations:
In MySQL Server 3.23.44 and up, the InnoDB storage engine supports checking of foreign key constraints, including CASCADE, ON DELETE, and ON UPDATE. See Section 14.2.6.4, “FOREIGN KEY Constraints”.
For storage engines other than InnoDB, MySQL Server parses the FOREIGN KEY syntax in CREATE TABLE statements, but does not use or store it. In the future, the implementation will be extended to store this information in the table specification file so that it may be retrieved by mysqldump and ODBC. At a later stage, foreign key constraints will be implemented for MyISAM tables as well.
Other limitations
Andrew Johnstone is a software engineer / lead developer working at Everlution Software.
Dan Horne
December 25th, 2005 at 6:36 pm
Um, why are you using such an old version of MySQL. It’s be like using Oracle 6, and complaining about all the features that it lacks, but are in Oracle 10g
Andrew Johnstone
December 27th, 2005 at 8:35 am
Hi Dan,
I fairly recently started a new position, and have come from developing on all the latest versions to developing with MySQL 3, and PHP 4, which is quite a step back from MySQL 5, (PHP 5.0.4) or even MySQL 4. In general I take many aspects of MySQLs features as being rather trivial and it makes my job that much more difficult to discover why there is syntax errors, which is valid in later versions of MySQL.
As to why MySQL 3 is still being used is due to support.
Andrew Johnstone
February 1st, 2006 at 10:16 am
SET @OffSetWeek = 15;
SET @StartWeek = ( @OffSetWeek + WEEK(NOW()) );
SELECT @StartWeek;
MySQL 3 calculates this as 5.