Permalink
Browse files

Fix insertid() returned value.

  • Loading branch information...
1 parent 43549e7 commit 671cbe7a3f9cc678bbdf45ba304248c2fc9ccc9c @stefanneculai stefanneculai committed Sep 1, 2012
@@ -793,7 +793,7 @@ public function hasUTFSupport()
/**
* Method to get the auto-incremented value from the last INSERT statement.
*
- * @return integer The value of the auto-increment field from the last inserted row.
+ * @return mixed The value of the auto-increment field from the last inserted row.
*
* @since 11.1
*/
@@ -428,7 +428,7 @@ public function getVersion()
/**
* Method to get the auto-incremented value from the last INSERT statement.
*
- * @return integer The value of the auto-increment field from the last inserted row.
+ * @return mixed The value of the auto-increment field from the last inserted row. If the value is greater than maximal int value, it will return a string.
*
* @since 12.1
*/
@@ -621,7 +621,7 @@ public function getNumRows($cursor = null)
/**
* Method to get the auto-incremented value from the last INSERT statement.
*
- * @return integer The value of the auto-increment field from the last inserted row.
+ * @return string The value of the auto-increment field from the last inserted row.
*
* @since 12.1
*/

0 comments on commit 671cbe7

Please sign in to comment.