-
-
Notifications
You must be signed in to change notification settings - Fork 816
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
Inner join problems with versions 5.0.3+ #1589
Comments
I think this is a bug in SQLite. If I compile SQLite 3.34.0 (what 5.0.2 shipped with), I get all the rows. If I compile 3.38.2 (or even the latest prerelease), I get nothing. If I re-run the query, I get results. |
Reported here: https://www.sqlite.org/forum/forumpost/0d3200f4f3 |
Hi @daniellockyer, thanks for taking a look so quickly! It can well be a problem in sqlite. I did test other drivers and it worked, but I suspect they emebed sqlite in the driver as well, so they might be on a version that still works. |
Hey @rlindner81 - good news! It's been fixed and will be out in SQLite v3.38.3. I'll update |
Very nice, thanks for pushing this upstream. |
fixes #1589 refs https://www.sqlite.org/releaselog/3_38_3.html - sha3-256sum: `3ce7e5839d5512bc633877afd5ad4592cdc90a1ae2181c369488131b7411bf28`
fixes #1589 refs https://www.sqlite.org/releaselog/3_38_3.html - sha3-256sum: `3ce7e5839d5512bc633877afd5ad4592cdc90a1ae2181c369488131b7411bf28`
Fix is in |
Our project's unit tests started failing for sqlite3 versions after 5.0.2.
After investigations, I made a script with the smallest reproducible query that delivers a wrong result:
Db and script file:
sqlite-test.zip
If you run this query with any other driver or sqlite3 up to 5.0.2., it will return 200 results, but for recent versions it will return 0 results.
The text was updated successfully, but these errors were encountered: