Skip to content
Commit 981926c6 authored by Lee Shombert's avatar Lee Shombert
Browse files

Add sqlite3 changes APIs

Bug: 289226544

Add support for sqlite3_changes64() and sqlite3_total_changes64().
The APIs will be made public in a later commit.

Unit tests have been added for the APIs.  The unit tests are
incorporated into the unit test for getLastInsertRowid(), and the
entire test has been moved from SQLiteRawStatementTest to
SQLiteDatabaseTest.

As a code clean-up, the pipeline of "lastInsertRowId()" methods have
been renamed to "getLastInsertRowId()", to match the API council's
decision on the public API.

Test: atest
 * FrameworksCoreTests:android.database.sqlite

Change-Id: I1c167d6d6b8701fae0fd4129e1ae9029556c6d26
parent 9521b73f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment