mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
fdd42afa6c
Also tripped over the return of PECL #5200; looks like mysql doesn't return an accurate length for the columns. The PDO driver will sanity check the real length against the buffer size it allocated (based on the info provided by mysql), so that we won't overrun the buffer. In addition, if a varchar field is reported as having a length of less than 128, we'll allocate 128 just in case. If the data is truncated, report it via the appropriate sqlstate code. There must be a better way to do this stuff. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
get_error_codes.php | ||
mysql_driver.c | ||
mysql_statement.c | ||
package.xml | ||
pdo_mysql.c | ||
php_pdo_mysql_int.h | ||
php_pdo_mysql_sqlstate.h | ||
php_pdo_mysql.h |