Index: branches/dev/data/class/SC_Query.php
===================================================================
--- branches/dev/data/class/SC_Query.php	(revision 13306)
+++ branches/dev/data/class/SC_Query.php	(revision 13307)
@@ -523,5 +523,5 @@
 			$sql = "SELECT NEXTVAL('$seqtable')";
 		}else if (DB_TYPE == "mysql") {
-            $sql = "SELECT last_insert_id() as $colname;";
+            $sql = "SELECT last_insert_id();";
 		}
 		$ret = $this->conn->getOne($sql);
