Bug #79533 [Com]: dbcanquery not used in pdo_dblib_stmt_next_rowset due outdated bug in FreeTDS

From: Date: Fri, 28 Apr 2023 08:03:31 +0000
Subject: Bug #79533 [Com]: dbcanquery not used in pdo_dblib_stmt_next_rowset due outdated bug in FreeTDS
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-244294@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79533&edit=1 ID: 79533 Comment by: samira dot akhlaqi314 at gmail dot com Reported by: enyby at yandex dot ru Summary: dbcanquery not used in pdo_dblib_stmt_next_rowset due outdated bug in FreeTDS Status: Open Type: Bug Package: PDO DBlib Operating System: any PHP Version: 7.2.30 Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2020-04-28 15:02:32] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79533&edit=1

« previous php.bugs (#244294) next »