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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
49 - 12 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Mon May 27 00:01:31 2024 UTC