- MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver)

This commit is contained in:
Felipe Pena 2009-07-15 02:36:08 +00:00
parent 0225d5ef80
commit aabf4dc30f

View file

@ -346,7 +346,7 @@ static int odbc_handle_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC)
default:
strcpy(H->einfo.last_err_msg, "Unknown Attribute");
H->einfo.what = "setAttribute";
strcpy(H->einfo.last_state, "IM0001");
strcpy(H->einfo.last_state, "IM001");
return -1;
}
}