r1742 + show failed queries in red
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 29 Feb 2008 13:26:28 +0000 (13:26 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 29 Feb 2008 13:26:28 +0000 (13:26 +0000)
+ fix DL160 record

README
upgrade.php

diff --git a/README b/README
index 7268f2b0adbb59f226ad9e8071e1b65c26920248..77049e1c0182da2cadc7e79ae800ea9a098077fc 100644 (file)
--- a/README
+++ b/README
@@ -62,3 +62,8 @@ procedure should be sufficient:
 3. Open the RackTables page in your browser.
 4. Follow instructions. Normally, everything should be Ok. If it
    is not so, write down the failed quieries for further investigation.
+
+Upgrading to 0.14.12
+The upgrade may show a failed query "alter database character set utf8", in
+this case the user should issue the query manually from the mysql command
+line.
index 31ccbcb11d527911f3ea5f6be2404bead478f1d6..ac79306b1ddabd608a9805adff1d0d8ea4fac676 100644 (file)
@@ -764,7 +764,7 @@ CREATE TABLE `IPVirtualService` (
                        $new_words[] = array (22 => '[[Tainet Mercury 3630 | http://www.tainet.net/Product/mercury.htm]]');
                        $new_words[] = array (22 => '[[Tainet Mercury 3630E | http://www.tainet.net/Product/mercury.htm]]');
                        $new_words[] = array (22 => '[[Tainet DSD-08A | http://www.tainet.net/Product/dsd08a.htm]]');
-                       $new_words[] = array (11 => '[[HP ProLiant DL160 | http://h10010.www1.hp.com/wwpc/us/en/en/WF05a/15351-15351-3328412-241644-3328421-3580694.html');
+                       $new_words[] = array (11 => '[[HP ProLiant DL160 | http://h10010.www1.hp.com/wwpc/us/en/en/WF05a/15351-15351-3328412-241644-3328421-3580694.html]]');
                        $new_words[] = array (11 => '[[HP ProLiant DL180 | http://h10010.www1.hp.com/wwpc/us/en/en/WF05a/15351-15351-3328412-241644-3328421-3580698.html]]');
                        $new_words[] = array (11 => '[[HP ProLiant DL185 | http://h10010.www1.hp.com/wwpc/us/en/en/WF05a/15351-15351-3328412-241644-3328421-3579900.html]]');
                        $new_words[] = array (11 => '[[HP ProLiant DL365 | http://h10010.www1.hp.com/wwpc/us/en/en/WF05a/15351-15351-3328412-241644-241475-3186080.html]]');
@@ -833,14 +833,14 @@ CREATE TABLE `IPVirtualService` (
                echo "No errors!\n";
        else
        {
-               echo "The following queries failed:\n";
+               echo "The following queries failed:\n<font color=red>";
                foreach ($failures as $f)
                {
                        list ($q, $i) = $f;
                        echo "${q} // ${i}\n";
                }
        }
-       echo '</pre>';
+       echo '</font></pre>';
 }
 
 // ******************************************************************