Skip to content

Conversation

@lidavidm
Copy link
Member

@lidavidm lidavidm commented Nov 4, 2025

  • Add sanity assertions
  • Actually test this end-to-end
  • Populate lib_path properly so the right init symbol name gets calculated

IMO, the control flow now is very convoluted because it intermixes searching and loading, which led to this regression since it's hard to tell if the return value is actually fully initialized. I'm still not sure all code paths are correct. I may try to factor searching/loading out separately.

Closes #3680.

- Add sanity assertions
- Actually test this end-to-end
- Populate lib_path properly so the right init symbol name gets
  calculated

Closes apache#3680.
@lidavidm lidavidm marked this pull request as ready for review November 4, 2025 07:26
@lidavidm lidavidm requested a review from zeroshade as a code owner November 4, 2025 07:26
@github-actions github-actions bot added this to the ADBC Libraries 21 milestone Nov 4, 2025
Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that we should refactor and slim this down when we have a chance.

@lidavidm lidavidm merged commit 131b3d2 into apache:main Nov 4, 2025
76 of 81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

c/driver_manager: can't load libraries that don't export AdbcDriverInit

3 participants