From 7411f7c26ada2fdb5830af1dc23b0e3139385d3a Mon Sep 17 00:00:00 2001 From: kmorimatsu Date: Sat, 14 Apr 2007 00:44:27 +0000 Subject: [PATCH] add checking v3.3 routine 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 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/utf8/nucleus/upgrades/upgrade.functions.php b/utf8/nucleus/upgrades/upgrade.functions.php index f74f1a8..8365aa8 100755 --- a/utf8/nucleus/upgrades/upgrade.functions.php +++ b/utf8/nucleus/upgrades/upgrade.functions.php @@ -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'); @@ -80,6 +80,10 @@ $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); -- 2.11.0