|
|
|
|
|
by alberth
874 days ago
|
|
This an incorrect title. Per this comment: https://sqlite.org/forum/forumpost/b6f940e87dd28cf8 > Fix your code with CASTs instead of complaining about it. You didn't follow the documentation Essentially, the person was using json incorrectly (as per documentation even prior to this release) and now this version of SQLite is causing their incorrect code to not behave as they wanted. But because SQLite doesn’t want to break backward compatibility (even for a prior unknown bug), they are considering persisting the bug as seen here: https://sqlite.org/forum/forumpost/bcec95d836ad4048 |
|
He considers it a bug (in an EARLIER version of having unspecified behavior, not a later version, but there's no difference in practice):
That you could use a BLOB as the left-hand side argument to -> in 3.44.0 is a previously unreported bug in 3.44.0.
This bug in prior versions of SQLite was unknown to the developers. If I had known about it, I would have done something about it. I probably would have tried to preserve the buggy behavior - to maintain "bug compatibility". But I didn't know.
So there is a bug -- which is fine, all software has bugs -- but it's not a USER error, which you're implying.