[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
Sat Dec 22 05:12:11 EST 2012


changeset 8896:3eaf95b14f5a
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/3eaf95b14f5a
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 cbe2b88e9043 -r 3eaf95b14f5a public_html/admin/database.php
--- a/public_html/admin/database.php	Sat Dec 08 17:17:55 2012 +0100
+++ b/public_html/admin/database.php	Sun Dec 09 16:16:46 2012 +0100
@@ -417,7 +417,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 cbe2b88e9043 -r 3eaf95b14f5a public_html/admin/install/lib-upgrade.php
--- a/public_html/admin/install/lib-upgrade.php	Sat Dec 08 17:17:55 2012 +0100
+++ b/public_html/admin/install/lib-upgrade.php	Sun Dec 09 16:16:46 2012 +0100
@@ -768,7 +768,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