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

@alinaliBQ alinaliBQ force-pushed the gh-47717-sql-close-cursor branch from 7f2bfea to c22f3c8 Compare December 3, 2025 20:34
@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Dec 4, 2025
Update doxygen

Co-Authored-By: alinalibq <[email protected]>
@alinaliBQ alinaliBQ force-pushed the gh-47717-sql-close-cursor branch from c22f3c8 to 5a5e889 Compare December 4, 2025 23:00
@alinaliBQ alinaliBQ marked this pull request as ready for review December 4, 2025 23:00
@lidavidm lidavidm merged commit 3868ba9 into apache:main Dec 5, 2025
46 checks passed
@lidavidm lidavidm removed the awaiting merge Awaiting merge label Dec 5, 2025
@github-actions github-actions bot added the awaiting merge Awaiting merge label Dec 5, 2025
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 3868ba9.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them.

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.

2 participants