mirror of
https://github.com/php/php-src.git
synced 2025-08-17 06:28:50 +02:00
- MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver)
This commit is contained in:
parent
0225d5ef80
commit
aabf4dc30f
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ static int odbc_handle_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC)
|
||||||
default:
|
default:
|
||||||
strcpy(H->einfo.last_err_msg, "Unknown Attribute");
|
strcpy(H->einfo.last_err_msg, "Unknown Attribute");
|
||||||
H->einfo.what = "setAttribute";
|
H->einfo.what = "setAttribute";
|
||||||
strcpy(H->einfo.last_state, "IM0001");
|
strcpy(H->einfo.last_state, "IM001");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue