aboutsummaryrefslogtreecommitdiffstats
path: root/install/upgrade_1.3.1.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-02-03 21:59:51 +0000
committerplegall <plg@piwigo.org>2011-02-03 21:59:51 +0000
commit8ca4d94d94e5007f9b41af646a8de3d268876331 (patch)
treec0fa1e9948ca6f6ef38d3af1c1e9f4fd71dba42d /install/upgrade_1.3.1.php
parenta201d100437fd2d16f582bbbe269779f047a2723 (diff)
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
Diffstat (limited to 'install/upgrade_1.3.1.php')
-rw-r--r--install/upgrade_1.3.1.php6
1 files changed, 3 insertions, 3 deletions
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
;",
"