Fix bug setup
This commit is contained in:
parent
faaefe08f0
commit
6e4ce0bdf4
1 changed files with 2 additions and 1 deletions
|
|
@ -168,9 +168,10 @@ function apply_patch($p_cn,$p_name)
|
|||
$MaxVersion=31;
|
||||
for ( $i = 4;$i <= $MaxVersion;$i++)
|
||||
{
|
||||
$to=$i+1;
|
||||
if ( GetVersion($p_cn) <= $i ) {
|
||||
echo "Patching ".$p_name.
|
||||
" from the version $i to the version ".GetVersion($p_cn)." <hr>";
|
||||
" from the version ".GetVersion($p_cn)." to $to <hr>";
|
||||
|
||||
ExecuteScript($p_cn,'sql/patch/upgrade'.$i.'.sql');
|
||||
if ( DEBUG=='false' ) ob_start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue