From 8ca4d94d94e5007f9b41af646a8de3d268876331 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 3 Feb 2011 21:59:51 +0000 Subject: bug 2155 fixed: for MySQL, use the "ENGINE=MyISAM" syntax instead of the deprecated "TYPE=MyISAM", so that SQL creation table statements complies with MySQL 5.5 git-svn-id: http://piwigo.org/svn/trunk@9086 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/upgrade_1.3.1.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/upgrade_1.3.1.php') diff --git a/install/upgrade_1.3.1.php b/install/upgrade_1.3.1.php index 1c8f0a2b6..e81d63373 100644 --- a/install/upgrade_1.3.1.php +++ b/install/upgrade_1.3.1.php @@ -55,7 +55,7 @@ CREATE TABLE phpwebgallery_config ( value varchar(255) default NULL, comment varchar(255) default NULL, PRIMARY KEY (param) -) TYPE=MyISAM COMMENT='configuration table' +) ENGINE=MyISAM COMMENT='configuration table' ;", " @@ -279,7 +279,7 @@ CREATE TABLE phpwebgallery_rate ( element_id mediumint(8) unsigned NOT NULL default '0', rate tinyint(2) unsigned NOT NULL default '0', PRIMARY KEY (user_id,element_id) -) TYPE=MyISAM +) ENGINE=MyISAM ;", " @@ -288,7 +288,7 @@ CREATE TABLE phpwebgallery_user_forbidden ( need_update enum('true','false') NOT NULL default 'true', forbidden_categories text, PRIMARY KEY (user_id) -) TYPE=MyISAM +) ENGINE=MyISAM ;", " -- cgit v1.2.3