Skip to content

Commit bf6f759

Browse files
committed
Missed one suggested change
1 parent 3939424 commit bf6f759

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/connect/php/pdostatement-errorinfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ print_r ($stmt->errorInfo());
5252

5353
## Additional ODBC messages
5454

55-
When an exception occurs, the ODBC Driver may return more than one error to help diagnose problems. However, PDOStatement::errorInfo always shows only the first error. As a response to this [bug report](https://bugs.php.net/bug.php?id=78196), [PDO::errorInfo](https://www.php.net/manual/en/pdo.errorinfo.php) and [PDOStatement::errorInfo](https://www.php.net/manual/en/pdostatement.errorinfo.php) have been updated to indicate that drivers should display *at least* the following three fields:
55+
When an exception occurs, the ODBC Driver may return more than one error to help diagnose problems. However, PDOStatement::errorInfo always shows only the first error. In response to this [bug report](https://bugs.php.net/bug.php?id=78196), [PDO::errorInfo](https://www.php.net/manual/en/pdo.errorinfo.php) and [PDOStatement::errorInfo](https://www.php.net/manual/en/pdostatement.errorinfo.php) have been updated to indicate that drivers should display *at least* the following three fields:
5656
```
5757
0 SQLSTATE error code (a five characters alphanumeric identifier defined in the ANSI SQL standard).
5858
1 Driver specific error code.

0 commit comments

Comments
 (0)