diff --git a/reference/pdo/pdo/errorcode.xml b/reference/pdo/pdo/errorcode.xml index 12c74bd0b4..9ba112d2a2 100644 --- a/reference/pdo/pdo/errorcode.xml +++ b/reference/pdo/pdo/errorcode.xml @@ -1,5 +1,5 @@ - + PDO::errorCode @@ -10,7 +10,7 @@ &reftitle.description; - stringPDO::errorCode + mixedPDO::errorCode @@ -38,6 +38,9 @@ You must call PDOStatement::errorCode to return the error code for an operation performed on a particular statement handle. + + Returns &null; if no operation has been run on the database handle. + diff --git a/reference/pdo/pdo/errorinfo.xml b/reference/pdo/pdo/errorinfo.xml index 69ce7249d9..9a080386d4 100644 --- a/reference/pdo/pdo/errorinfo.xml +++ b/reference/pdo/pdo/errorinfo.xml @@ -1,5 +1,5 @@ - + PDO::errorInfo @@ -49,6 +49,13 @@ + + + If the SQLSTATE error code is not set or there is no driver-specific + error, the elements following element 0 will be set to &null;. + + + PDO::errorInfo only retrieves error information for operations performed directly on the database handle. If you create a