diff options
| author | Felipe Pena <felipe@php.net> | 2009-07-15 02:32:43 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2009-07-15 02:32:43 +0000 |
| commit | 0225d5ef8014171351be4c93e4e19ca25033666e (patch) | |
| tree | 51a84d358a70f1f634cd8db59095032128cd2f2a | |
| parent | bffd08072c607807ef6215920152ff223c5ee620 (diff) | |
| download | php-git-0225d5ef8014171351be4c93e4e19ca25033666e.tar.gz | |
- MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver)
| -rwxr-xr-x | ext/pdo_odbc/odbc_stmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_odbc/odbc_stmt.c b/ext/pdo_odbc/odbc_stmt.c index d948987017..2bfc366cf5 100755 --- a/ext/pdo_odbc/odbc_stmt.c +++ b/ext/pdo_odbc/odbc_stmt.c @@ -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; } } |
