|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: yatao dot wang at aliyun dot com
New email:
PHP Version: OS:


 [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-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 14 15:01:28 2024 UTC