Re: cvs: php-src /ext/pdo_mysql mysql_statement.c
| From: | Andrey Hristov | Date: | Sun, 10 Jul 2005 02:08:14 +0000 |
| Subject: | Re: cvs: php-src /ext/pdo_mysql mysql_statement.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-32848@lists.php.net to get a copy of this message | ||
Wez Furlong wrote:
wez Sat Jul 9 22:00:38 2005 EDTWez, 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. AndreyModified files: /php-src/ext/pdo_mysql mysql_statement.c Log:Get precise lengths from the server, as suggested by Andrey.