Fixed typo.

This commit is contained in:
Ilia Alshanetsky 2004-05-20 15:45:16 +00:00
parent e770b2b411
commit fbbb41a53b

View File

@ -48,7 +48,7 @@ void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt TSRMLS_DC)
}
switch (*pdo_err) {
case PDO_ERR_NONE: msg = "No erro"; break;
case PDO_ERR_NONE: msg = "No error"; break;
case PDO_ERR_CANT_MAP: msg = "Consult errorInfo() for more details"; break;
case PDO_ERR_SYNTAX: msg = "Syntax Error"; break;
case PDO_ERR_CONSTRAINT:msg = "Constraint violation"; break;