Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct wrong string method calls #69

Merged

Conversation

chrullrich
Copy link
Contributor

These two calls have no effect because std::string::empty() only tests for emptiness, but does not cause it as apparently intended.

These two calls have no effect because `std::string::empty()` only tests
for emptiness, but does not cause it as apparently intended.
@chrullrich
Copy link
Contributor Author

There is a chance that I'm misunderstanding the interaction between this code and xa_recover(), but I don't think so. The AuthenticationError() that xa_recover() tests for early on looks to be one coming from the SQLDriverConnect() just after these two lines.

@davecramer davecramer merged commit 7adc6a1 into postgresql-interfaces:main Oct 28, 2024
1 check passed
@chrullrich chrullrich deleted the fix-pgxalib-strings branch October 28, 2024 19:09
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.

2 participants