|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #77917 Don't use ODBC cursor library in PDO_ODBC?
Submitted: 2019-04-18 10:12 UTC Modified: 2020-10-11 04:22 UTC
From: yatao dot wang at aliyun dot com Assigned: cmb (profile)
Status: No Feedback Package: PDO ODBC
PHP Version: master-Git-2019-04-18 (Git) OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-04-18 10:12 UTC] yatao dot wang at aliyun dot com
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?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-01 09:38 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-10-01 09:38 UTC]
There is already the yet undocumented driver specific option
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?
 [2020-10-11 04:22 UTC] php-bugs at lists dot php dot net
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.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Jun 07 23:03:39 2023 UTC