aboutsummaryrefslogtreecommitdiffstats
path: root/install/db
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/db
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/db')
-rw-r--r--install/db/85-database.php4
-rw-r--r--install/db/90-database.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/install/db/85-database.php b/install/db/85-database.php
index e3bb4b82e..1947db537 100644
--- a/install/db/85-database.php
+++ b/install/db/85-database.php
@@ -34,7 +34,7 @@ CREATE TABLE ".PREFIX_TABLE."themes (
`version` varchar(64) NOT NULL default '0',
`name` varchar(64) default NULL,
PRIMARY KEY (`id`)
-)";
+) ENGINE=MyISAM";
if (DB_CHARSET == 'utf8')
{
@@ -48,4 +48,4 @@ echo
. $upgrade_description
."\n"
;
-?> \ No newline at end of file
+?>
diff --git a/install/db/90-database.php b/install/db/90-database.php
index 492300218..c908c4fd5 100644
--- a/install/db/90-database.php
+++ b/install/db/90-database.php
@@ -34,7 +34,7 @@ CREATE TABLE ".PREFIX_TABLE."languages (
`version` varchar(64) NOT NULL default '0',
`name` varchar(64) default NULL,
PRIMARY KEY (`id`)
-)";
+) ENGINE=MyISAM";
if (DB_CHARSET == 'utf8')
{
@@ -59,4 +59,4 @@ echo
. $upgrade_description
."\n"
;
-?> \ No newline at end of file
+?>