php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79533 dbcanquery not used in pdo_dblib_stmt_next_rowset due outdated bug in FreeTDS
Submitted: 2020-04-28 15:02 UTC Modified: -
From: enyby at yandex dot ru Assigned:
Status: Open Package: PDO DBlib
PHP Version: 7.2.30 OS: any
Private report: No CVE-ID: None
 [2020-04-28 15:02 UTC] enyby at yandex dot ru
Description:
------------
In 2016 year in comment for commit for bug 67130
https://github.com/php/php-src/commit/dfd6baee0c7ca832140302694c88802dbebe4da1
added next info:

	/* Ideally use dbcanquery here, but there is a bug in FreeTDS's implementation of dbcanquery
	 * It has been resolved but is currently only available in nightly builds
	 */

Blame:
https://github.com/php/php-src/blame/master/ext/pdo_dblib/dblib_stmt.c#L156

In 2019 year FreeTDS make new release 
https://github.com/FreeTDS/freetds/releases

So this comment (and possible code) outdated.
Please update code for use dbcanquery.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2023-04-28 08:03 UTC] samira dot akhlaqi314 at gmail dot com
It appears that there is an issue with FreeTDS that is causing an outdated bug when using the dbcanquery function in conjunction with the pdo_dblib_stmt_next_rowset function. As a result, it may not be possible to use these functions together until the bug is fixed or a workaround is found.
(https://www.mylifetouch.me/)github.com
 [2024-02-14 05:41 UTC] Roydon5946 at gmail dot com
I like the way you made this article. Short but juicy. Thanks for sharing! 
(https://github.com)(https://www.catneedsbest.com/)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 03:01:29 2024 UTC