mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
- MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver)
This commit is contained in:
parent
bffd08072c
commit
0225d5ef80
@ -763,7 +763,7 @@ static int odbc_stmt_set_param(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC)
|
||||
default:
|
||||
strcpy(S->einfo.last_err_msg, "Unknown Attribute");
|
||||
S->einfo.what = "setAttribute";
|
||||
strcpy(S->einfo.last_state, "IM0001");
|
||||
strcpy(S->einfo.last_state, "IM001");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -795,7 +795,7 @@ static int odbc_stmt_get_attr(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC)
|
||||
default:
|
||||
strcpy(S->einfo.last_err_msg, "Unknown Attribute");
|
||||
S->einfo.what = "getAttribute";
|
||||
strcpy(S->einfo.last_state, "IM0001");
|
||||
strcpy(S->einfo.last_state, "IM001");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user