Index: temp/trunk/data/class/SC_Query.php
===================================================================
--- temp/trunk/data/class/SC_Query.php	(revision 7995)
+++ temp/trunk/data/class/SC_Query.php	(revision 7996)
@@ -413,10 +413,8 @@
 	function get_auto_increment($table_name){
 		// ¥í¥Ã¥¯¤¹¤ë
-	//	$this->BEGIN();
+		$this->BEGIN();
 		
 		// ¼¡¤ÎIncrement¤ò¼èÆÀ
-		//$arrRet = $this->query("SHOW TABLE STATUS LIKE ?", array($table_name));
-		$arrRet = $this->getAll("SELECT * FROM dtb_payment");
-		sfprintr($arrRet);
+		$arrRet = $this->getAll("SHOW TABLE STATUS LIKE ?", array($table_name));
 		$auto_inc_no = $arrRet["Auto_increment"];
 		
@@ -425,5 +423,5 @@
 		
 		// ²ò½ü¤¹¤ë
-	//	$this->COMMIT();
+		$this->COMMIT();
 		
 		sfprintr($auto_inc_no);
