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:
38 + 3 = ?
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

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 24 07:03:34 2021 UTC