Bug #79533 [NEW]: dbcanquery not used in pdo_dblib_stmt_next_rowset due outdated bug in FreeTDS
| From: | enyby at yandex dot ru | Date: | Tue, 28 Apr 2020 15:02:32 +0000 |
| Subject: | Bug #79533 [NEW]: dbcanquery not used in pdo_dblib_stmt_next_rowset due outdated bug in FreeTDS | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-226809@lists.php.net to get a copy of this message | ||
From: enyby at yandex dot ru
Operating system: any
PHP version: 7.2.30
Package: PDO DBlib
Bug Type: Bug
Bug description:dbcanquery not used in pdo_dblib_stmt_next_rowset due outdated bug in FreeTDS
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.
--
Edit bug report at https://bugs.php.net/bug.php?id=79533&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79533&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79533&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79533&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79533&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79533&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79533&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79533&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79533&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79533&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79533&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79533&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79533&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79533&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79533&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79533&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79533&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79533&r=mysqlcfg