Index: temp/trunk/data/class/SC_Query.php
===================================================================
--- temp/trunk/data/class/SC_Query.php	(revision 4933)
+++ temp/trunk/data/class/SC_Query.php	(revision 4934)
@@ -350,9 +350,7 @@
 			$sql = "SELECT NEXTVAL('$seqtable')";
 		}else if (DB_TYPE == "mysql") {
-			$sql = "SELECT last_insert_id();";
+			$sql = "SELECT last_insert_id();a";
 		}
 		$ret = $this->conn->getOne($sql);
-		
-		sfprintr($this->conn->getlastquery(true));
 		
 		return $ret;
