OSDN Git Service

add checking v3.3 routine
authorkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sat, 14 Apr 2007 00:44:27 +0000 (00:44 +0000)
committerkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sat, 14 Apr 2007 00:44:27 +0000 (00:44 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@257 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/upgrades/upgrade.functions.php

index f74f1a8..8365aa8 100755 (executable)
@@ -12,8 +12,8 @@
          *     
          * Some functions common to all upgrade scripts
          *
-         * $Id: upgrade.functions.php,v 1.8 2007-04-10 03:55:20 kmorimatsu Exp $
-         * $NucleusJP: upgrade.functions.php,v 1.7 2007/02/04 06:28:46 kimitake Exp $
+         * $Id: upgrade.functions.php,v 1.9 2007-04-14 00:44:27 kmorimatsu Exp $
+         * $NucleusJP: upgrade.functions.php,v 1.8 2007/04/10 03:55:20 kmorimatsu Exp $
          */
 
        include('../../config.php');
                                $query = 'SELECT * FROM '.sql_table('config').' WHERE name=\'DatabaseVersion\' and value >= 320 LIMIT 1';
                                $minrows = 1;
                                break;
+                       case '33':
+                               $query = 'SELECT * FROM '.sql_table('config').' WHERE name=\'DatabaseVersion\' and value >= 330 LIMIT 1';
+                               $minrows = 1;
+                               break;
                }
 
                $res = mysql_query($query);