Wez Furlong wrote:
wez Sat Jul 9 22:00:38 2005 EDT
Modified files:
/php-src/ext/pdo_mysql mysql_statement.c
Log:
Get precise lengths from the server, as suggested by Andrey.
Wez,
I don't think this patch fixes the problem because
mysql_stmt_result_metadata() is being called before mysql_stmt_store_result()
(in the case of a buffered result set) and mysql_stmt_store_result()
is the function which updates the metadata (max_length). Even more the driver
has to use max_length. I will make a patch and commit and please review it.
Andrey
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php