diff -r 96524a56d475 -r 2d4bb97fa75a upgrade.php --- a/upgrade.php Wed Nov 21 15:11:51 2007 -0500 +++ b/upgrade.php Wed Nov 21 15:13:06 2007 -0500 @@ -734,11 +734,18 @@ // OK, do the loop, baby!!! foreach($schema as $q) { - $r = $db->sql_query($q); - if(!$r) + if ( substr($q, 0, 1) == '@' ) { - echo $db->get_error(); - break 2; + // if the first character is @, don't fail on error + $db->sql_query(substr($q, 1)); + } + else + { + if ( !$db->sql_query($q) ) + { + echo $db->get_error(); + break 2; + } } }