UpdateDatabase.php
[Pman.Core] / UpdateDatabase.php
index 19507af..8e9af2e 100644 (file)
@@ -407,10 +407,18 @@ class Pman_Core_UpdateDatabase extends Pman
                         echo "OK - {$line}\n"; flush();
                         continue;
                     }
-                    switch($match[1]) {
-                        
+                    $continue =0;
+                    switch($matches[1]) {
+                        case 1050: // create tables triggers this..
+                            
+                            $continue = 1;
+                            break;
                         
                     }
+                    if ($continue) {
+                        echo "IGNORE - {$line}\n"; flush();
+                        continue;
+                    }
                     // real errors...
                     // 1051: // Unknown table -- normally drop = add iff exists..