Skip to content

[forum] fix threadExists() returning false always for psql #1752

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

Closed
wants to merge 1 commit into from

Conversation

Mjokfox
Copy link
Contributor

@Mjokfox Mjokfox commented Apr 12, 2025

sqlite returns an integer with this db query, however psql returns a boolean. So with the strict equals, it returns false always. Not tested with mysql

sqlite returns an integer with this db query, however psql returns a boolean. So with the strict equals, it returns false always. Not tested with mysql
shish added a commit that referenced this pull request Apr 12, 2025
shish added a commit that referenced this pull request Apr 12, 2025
shish added a commit that referenced this pull request Apr 12, 2025
@shish
Copy link
Owner

shish commented Apr 12, 2025

Thank you for catching this - While reviewing the change I found a bunch of other issues (and a complete lack of unit tests which would have caught any of them), fixed and tested in #1753

@shish shish closed this Apr 12, 2025
shish added a commit that referenced this pull request Apr 12, 2025
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