Req #77917 [Fbk->NoF]: Don't use ODBC cursor library in PDO_ODBC?

From: Date: Sun, 11 Oct 2020 04:22:15 +0000
Subject: Req #77917 [Fbk->NoF]: Don't use ODBC cursor library in PDO_ODBC?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229533@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77917&edit=1 ID: 77917 Updated by: php-bugs@lists.php.net Reported by: yatao dot wang at aliyun dot com Summary: Don't use ODBC cursor library in PDO_ODBC? -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: PDO ODBC Operating System: Windows PHP Version: master-Git-2019-04-18 (Git) Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2020-10-01 09:38:42] cmb@php.net There is already the yet undocumented driver specific option PDO::ODBC_ATTR_USE_CURSOR_LIBRARY. You can set it to ODBC_SQL_USE_DRIVER to never use the ODBC cursor library. Does that solve the problem, or are there still issues with the SQLGetData() calls? ------------------------------------------------------------------------ [2019-04-18 10:12:40] yatao dot wang at aliyun dot com Description: ------------ I have an ODBC driver which only supports the FORWARD_ONLY cursor. So it will return an error in SQLGetData. < [SL008] [Microsoft][ODBC Cursor Library] SQLGetData is not allowed on a forward-only (non-buffered) cursor (0) > Can it add an option for PDO ODBC so that it can use the driver's cursor rather than ODBC cursor library? Or use driver's cursor as default? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77917&edit=1

« previous php.bugs (#229533) next »