[geeklog-hg] geeklog: availability of InnoDB was not recognized on MySQL 5.5 ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Dec 9 10:16:58 EST 2012
changeset 8879:4aed247ceaf4
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/4aed247ceaf4
user: Dirk Haun <dirk at haun-online.de>
date: Sun Dec 09 16:16:46 2012 +0100
description:
availability of InnoDB was not recognized on MySQL 5.5 where it's the default storage engine
diffstat:
public_html/admin/database.php | 3 ++-
public_html/admin/install/lib-upgrade.php | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c3aad94f2e5f -r 4aed247ceaf4 public_html/admin/database.php
--- a/public_html/admin/database.php Fri Dec 07 16:25:15 2012 +0100
+++ b/public_html/admin/database.php Sun Dec 09 16:16:46 2012 +0100
@@ -416,7 +416,8 @@
$A = DB_fetchArray($result);
if (strcasecmp($A['Engine'], 'InnoDB') == 0) {
- if (strcasecmp($A['Support'], 'yes') == 0) {
+ if ((strcasecmp($A['Support'], 'yes') == 0) ||
+ (strcasecmp($A['Support'], 'default') == 0)) {
$retval = true;
}
break;
diff -r c3aad94f2e5f -r 4aed247ceaf4 public_html/admin/install/lib-upgrade.php
--- a/public_html/admin/install/lib-upgrade.php Fri Dec 07 16:25:15 2012 +0100
+++ b/public_html/admin/install/lib-upgrade.php Sun Dec 09 16:16:46 2012 +0100
@@ -785,7 +785,8 @@
$A = DB_fetchArray($result);
if (strcasecmp($A['Engine'], 'InnoDB') == 0) {
- if (strcasecmp($A['Support'], 'yes') == 0) {
+ if ((strcasecmp($A['Support'], 'yes') == 0) ||
+ (strcasecmp($A['Support'], 'default') == 0)) {
$retval = true;
}
break;
More information about the geeklog-cvs
mailing list