Index: temp/trunk/data/lib/slib.php
===================================================================
--- temp/trunk/data/lib/slib.php	(revision 9412)
+++ temp/trunk/data/lib/slib.php	(revision 9413)
@@ -99,5 +99,7 @@
 	// Àµ¾ï¤ËÀÜÂ³¤µ¤ì¤Æ¤¤¤ë¾ì¹ç
 	if(!$objQuery->isError()) {
-		$arrRet = sfGetColumnList($table_name, $objQuery);
+		list($db_type) = split(":", $dsn);
+		
+		$arrRet = sfGetColumnList($table_name, $objQuery, $db_type);
 		if(count($arrRet) > 0) {
 			if(!in_array($col_name, $arrRet)){
@@ -107,5 +109,4 @@
 
 		/*
-		list($db_type) = split(":", $dsn);
 		// postgresql¤Èmysql¤È¤Ç½èÍý¤òÊ¬¤±¤ë
 		if ($db_type == "pgsql") {
@@ -146,5 +147,5 @@
 
 // ¥Æ¡¼¥Ö¥ë¤Î¥«¥é¥à°ìÍ÷¤ò¼èÆÀ¤¹¤ë
-function sfGetColumnList($table_name, $objQuery = ""){
+function sfGetColumnList($table_name, $objQuery = "", $db_type = DB_TYPE){
 	if($objQuery == "") $objQuery = new SC_Query();
 	$arrRet = array();
