Skip to content

Conversation

@alinaliBQ
Copy link
Contributor

@alinaliBQ alinaliBQ commented Nov 4, 2025

Rationale for this change

Implement support for explicitly closing cursor in ODBC. Cursors are implicitly closed when ODBC disconnects, and this implementation allows BI tools to close a cursor by passing its associated statement handle.

What changes are included in this PR?

  • SQLCloseCursor & Tests
  • Fix close cursor state code to be 24000

Are these changes tested?

Tested on local MSVC

Are there any user-facing changes?

N/A

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

⚠️ GitHub issue #47717 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Nov 10, 2025
@alinaliBQ alinaliBQ force-pushed the gh-47717-sql-close-cursor branch from 19caeb8 to 7f2bfea Compare November 10, 2025 22:39
@alinaliBQ alinaliBQ changed the title GH-47717: [C++][FlightRPC] WIP: ODBC close cursor GH-47717: [C++][FlightRPC] ODBC close cursor Nov 10, 2025
@alinaliBQ
Copy link
Contributor Author

@lidavidm this draft PR is ready for review! Please have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant