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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: enyby at yandex dot ru
New email:
PHP Version: OS:

 

 [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: Thu Oct 21 13:03:33 2021 UTC