Throw if sqlite runs out of memory
The following methods can fail due to an out-of-memory condition: * sqlite3_column_blob() * sqlite3_column_text16() * sqlite3_column_bytes() * sqlite3_column_bytes16() If they return NULL or zero, throw SQLiteOutOfMemoryException if sqlite reported SQLITE_NOMEM. This change is made only to the SQLiteRawStatement APIs, which have not yet been released. There is no change to legacy APIs. Test: atest * FrameworksCoreTests:android.database * CtsDatabaseTestCases Flag: EXEMPT bugfix Bug: 343325631 Change-Id: Ibc1d044281ff5afd336572869bd736b26bb4c97d
Loading
Please register or sign in to comment