[geeklog-hg] geeklog: fix compatibility with MySQL 5.5 (bugs #0001410, #0001456)

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Dec 22 05:12:07 EST 2012


changeset 8886:551db99b8710
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/551db99b8710
user: Dirk Haun <dirk at haun-online.de>
date: Fri Dec 07 13:45:39 2012 +0100
description:
fix compatibility with MySQL 5.5 (bugs #0001410, #0001456)

diffstat:

 public_html/admin/database.php            |  2 +-
 public_html/admin/install/lib-upgrade.php |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r d95b3fabad63 -r 551db99b8710 public_html/admin/database.php
--- a/public_html/admin/database.php	Sat Oct 08 13:29:43 2011 +0200
+++ b/public_html/admin/database.php	Fri Dec 07 13:45:39 2012 +0100
@@ -411,7 +411,7 @@
     $retval = false;
 
     if ($_DB_dbms == 'mysql') {
-        $result = DB_query("SHOW TABLE TYPES");
+        $result = DB_query("SHOW STORAGE ENGINES");
         $numEngines = DB_numRows($result);
         for ($i = 0; $i < $numEngines; $i++) {
             $A = DB_fetchArray($result);
diff -r d95b3fabad63 -r 551db99b8710 public_html/admin/install/lib-upgrade.php
--- a/public_html/admin/install/lib-upgrade.php	Sat Oct 08 13:29:43 2011 +0200
+++ b/public_html/admin/install/lib-upgrade.php	Fri Dec 07 13:45:39 2012 +0100
@@ -762,7 +762,7 @@
 {
     $retval = false;
 
-    $result = DB_query("SHOW TABLE TYPES");
+    $result = DB_query("SHOW STORAGE ENGINES");
     $numEngines = DB_numRows($result);
     for ($i = 0; $i < $numEngines; $i++) {
         $A = DB_fetchArray($result);



More information about the geeklog-cvs mailing list