php.net |  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: -
From: yatao dot wang at aliyun dot com Assigned:
Status: Open Package: PDO ODBC
PHP Version: master-Git-2019-04-18 (Git) OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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
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?


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Aug 20 22:01:30 2019 UTC