[ODBC-3] SQLBindCol fails with error 07009 Created: 2014-04-09 Updated: 2019-01-23 Resolved: 2014-04-10 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows 32/64 bit |
||
| Description |
|
When trying to bind a column to a statement which was previously executed via SQLExecDirect, SQLBindCol fails with 07009 - Invalid descriptor index. According to the MSDN ODBC documentation (see hhttp://msdn.microsoft.com/en-us/library/ms711010%28v=vs.85%29.aspx) an error should be returned only, if the last executed statement produced an result set. Suggested fix:
|
| Comments |
| Comment by Georg Richter [ 2014-04-10 ] |
|
Fixed in rev. 15 |