You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sqlite3 back-end looks like it was created by copying and adapting the sqlite back-end. It therefore contains a lot of references to resource in function return types and comments.
However, the SQLite3 class class returns an SQLite3Result object for all query actions, not a resource instance. This has always been the case so is not a compatibility issue, just something that was missed when the DB_sqlite3 class was created.
As far as I can see, the only functional issue outside of the code comments and annotations is that there is an is_resource() check in the freeResult() function, which means that this function always returns false. In practice, there is nothing to free, so behaviour of the function is unaffected. However, any code which is checking the result of freeResult() may end up misreporting that an error occurred.
The text was updated successfully, but these errors were encountered:
The sqlite3 back-end looks like it was created by copying and adapting the sqlite back-end. It therefore contains a lot of references to
resource
in function return types and comments.However, the
SQLite3
class class returns anSQLite3Result
object for all query actions, not aresource
instance. This has always been the case so is not a compatibility issue, just something that was missed when theDB_sqlite3
class was created.As far as I can see, the only functional issue outside of the code comments and annotations is that there is an
is_resource()
check in thefreeResult()
function, which means that this function always returns false. In practice, there is nothing to free, so behaviour of the function is unaffected. However, any code which is checking the result offreeResult()
may end up misreporting that an error occurred.The text was updated successfully, but these errors were encountered: