Index: temp/trunk/data/class/SC_Query.php
===================================================================
--- temp/trunk/data/class/SC_Query.php	(revision 4930)
+++ temp/trunk/data/class/SC_Query.php	(revision 4931)
@@ -352,5 +352,7 @@
 			$sql = "SELECT last_insert_id();";
 		}
-		$ret = $this->conn->getALL($sql);
+		$ret = $this->conn->getOne($sql);
+		
+		$this->conn->getlastquery();
 		
 		return $ret;
