diff --git a/doc/faq.rst b/doc/faq.rst index d2995a878f..36b12a22b0 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -1481,7 +1481,7 @@ create the example tables: country_code char(1) NOT NULL default '', description varchar(10) NOT NULL default '', PRIMARY KEY (country_code) - ) TYPE=MyISAM; + ) ENGINE=MyISAM; INSERT INTO REL_countries VALUES ('C', 'Canada'); @@ -1491,16 +1491,16 @@ create the example tables: town_code varchar(5) default '0', country_code char(1) NOT NULL default '', PRIMARY KEY (id) - ) TYPE=MyISAM; + ) ENGINE=MyISAM; - INSERT INTO REL_persons VALUES (11, 'Marc', 'S', ''); + INSERT INTO REL_persons VALUES (11, 'Marc', 'S', 'C'); INSERT INTO REL_persons VALUES (15, 'Paul', 'S', 'C'); CREATE TABLE REL_towns ( town_code varchar(5) NOT NULL default '0', description varchar(30) NOT NULL default '', PRIMARY KEY (town_code) - ) TYPE=MyISAM; + ) ENGINE=MyISAM; INSERT INTO REL_towns VALUES ('S', 'Sherbrooke'); INSERT INTO REL_towns VALUES ('M', 'Montréal');