From bf4f729ba782e8279647fcd1ca69711441544b96 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 16 Sep 2009 22:15:17 -0700 Subject: [PATCH] Remove 'Engine=InnoDB' stanzas from table creation SQL. We now use the MySQL server default at table creation time. --- modules/basket/helpers/basket_installer.php | 6 +++--- modules/tagfaces/helpers/tagfaces_installer.php | 6 +++--- modules/tagsmap/helpers/tagsmap_installer.php | 2 +- modules/user_homes/helpers/user_homes_installer.php | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/basket/helpers/basket_installer.php b/modules/basket/helpers/basket_installer.php index 0dfd3f08..23c4e8f9 100644 --- a/modules/basket/helpers/basket_installer.php +++ b/modules/basket/helpers/basket_installer.php @@ -26,14 +26,14 @@ class basket_installer { `cost` INTEGER(9) default 0, `description` varchar(1024), PRIMARY KEY (`id`)) - ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + DEFAULT CHARSET=utf8;"); $db->query("CREATE TABLE IF NOT EXISTS {product_overrides} ( `id` int(9) NOT NULL auto_increment, `item_id` int(9) NOT NULL, `none` BOOLEAN default false, PRIMARY KEY (`id`)) - ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + DEFAULT CHARSET=utf8;"); $db->query("CREATE TABLE IF NOT EXISTS {item_products} ( `id` int(9) NOT NULL auto_increment, @@ -42,7 +42,7 @@ class basket_installer { `include` BOOLEAN default false, `cost` INTEGER(9) default -1, PRIMARY KEY (`id`)) - ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + DEFAULT CHARSET=utf8;"); product::create("4x6",5,"4\"x6\" print"); product::create("8x10",25,"8\"x10\" print"); diff --git a/modules/tagfaces/helpers/tagfaces_installer.php b/modules/tagfaces/helpers/tagfaces_installer.php index bd4a33a9..b9e723fb 100644 --- a/modules/tagfaces/helpers/tagfaces_installer.php +++ b/modules/tagfaces/helpers/tagfaces_installer.php @@ -31,7 +31,7 @@ class tagfaces_installer { `y2` int(9) NOT NULL, `description` varchar(2048) default NULL, PRIMARY KEY (`id`)) - ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + DEFAULT CHARSET=utf8;"); $db->query("CREATE TABLE IF NOT EXISTS {items_notes} ( `id` int(9) NOT NULL auto_increment, @@ -43,7 +43,7 @@ class tagfaces_installer { `title` varchar(64) NOT NULL, `description` varchar(2048) default NULL, PRIMARY KEY (`id`)) - ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + DEFAULT CHARSET=utf8;"); // Set the module's version number. module::set_version("tagfaces", 2); @@ -64,7 +64,7 @@ class tagfaces_installer { `title` varchar(64) NOT NULL, `description` varchar(2048) default NULL, PRIMARY KEY (`id`)) - ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + DEFAULT CHARSET=utf8;"); module::set_version("tagfaces", $version = 2); } diff --git a/modules/tagsmap/helpers/tagsmap_installer.php b/modules/tagsmap/helpers/tagsmap_installer.php index 0f4be53b..3a4598ae 100644 --- a/modules/tagsmap/helpers/tagsmap_installer.php +++ b/modules/tagsmap/helpers/tagsmap_installer.php @@ -29,7 +29,7 @@ class tagsmap_installer { `description` varchar(2048) default NULL, PRIMARY KEY (`id`), KEY(`tag_id`, `id`)) - ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + DEFAULT CHARSET=utf8;"); // Set the module's version number. module::set_version("tagsmap", 1); diff --git a/modules/user_homes/helpers/user_homes_installer.php b/modules/user_homes/helpers/user_homes_installer.php index 1a2af803..5077c978 100644 --- a/modules/user_homes/helpers/user_homes_installer.php +++ b/modules/user_homes/helpers/user_homes_installer.php @@ -26,7 +26,7 @@ class user_homes_installer { `home` int(9) default NULL, PRIMARY KEY (`id`), UNIQUE KEY(`id`)) - ENGINE=InnoDB DEFAULT CHARSET=utf8;"); + DEFAULT CHARSET=utf8;"); module::set_version("user_homes", 1); }